<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:mxxvx="http://matthew25fund.com/20260630"
  xmlns:oef="http://xbrl.sec.gov/oef/2024q3"
  xmlns:us-gaap="http://fasb.org/us-gaap/2024"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mxxvx-20260630.xsd" xlink:type="simple"/>
    <context id="From2026-01-01to2026-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2026-01-012026-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2025-07-012026-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2021-07-012026-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2016-07-012026-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2025-07-012026-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2021-07-012026-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2016-07-012026-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_SemiconductorsAndRelatedDevicesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:SemiconductorsAndRelatedDevicesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_PharmaceuticalPreparationsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:PharmaceuticalPreparationsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_RetailCatalogMailOrderHousesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:RetailCatalogMailOrderHousesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_FederalallySponsoredCreditAgenciesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:FederalallySponsoredCreditAgenciesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_ElectronicComputersMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:ElectronicComputersMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_SecurityBrokersDealersExchangesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:SecurityBrokersDealersExchangesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_ServicesBusinessServicesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:ServicesBusinessServicesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_OpticalInstrumentsLensesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:OpticalInstrumentsLensesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_MotorVehiclesPassengerCarBodiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:MotorVehiclesPassengerCarBodiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_NationalCommercialBankMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:NationalCommercialBankMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_ServicesPrepackagedSoftwareMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:ServicesPrepackagedSoftwareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_HotelsAndMotelsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:HotelsAndMotelsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_FireMarineCasualtyInsuranceMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:FireMarineCasualtyInsuranceMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_StateCommercialBanksMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:StateCommercialBanksMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_us-gaap_InvestmentAdviceMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:InvestmentAdviceMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_FinanceServicesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:FinanceServicesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_ChemicalsAndAlliedProductsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:ChemicalsAndAlliedProductsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_us-gaap_MoneyMarketFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:MoneyMarketFundsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_BusinessServicesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">mxxvx:BusinessServicesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_NvidiaCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:NvidiaCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_TaiwanSemiconductorCoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:TaiwanSemiconductorCoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_EliLillyAndCoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:EliLillyAndCoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_AmazoncomIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:AmazoncomIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_AppleIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:AppleIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_GoldmanSachsGroupIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:GoldmanSachsGroupIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_MercadolibreIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:MercadolibreIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_FederalAgriculturalCorpAandCMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:FederalAgriculturalCorpAandCMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_CoherentCorpMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:CoherentCorpMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_custom_C000016367Member_custom_TeslaIncMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:LargestHoldingAxis">mxxvx:TeslaIncMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="From2016-06-012016-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2016-06-30</endDate>
        </period>
    </context>
    <context id="From2016-06-012016-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2016-06-30</endDate>
        </period>
    </context>
    <context id="From2017-06-012017-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-06-01</startDate>
            <endDate>2017-06-30</endDate>
        </period>
    </context>
    <context id="From2017-06-012017-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-06-01</startDate>
            <endDate>2017-06-30</endDate>
        </period>
    </context>
    <context id="From2018-06-012018-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-06-01</startDate>
            <endDate>2018-06-30</endDate>
        </period>
    </context>
    <context id="From2018-06-012018-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-06-01</startDate>
            <endDate>2018-06-30</endDate>
        </period>
    </context>
    <context id="From2019-06-012019-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2019-06-30</endDate>
        </period>
    </context>
    <context id="From2019-06-012019-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2019-06-30</endDate>
        </period>
    </context>
    <context id="From2020-06-012020-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-06-01</startDate>
            <endDate>2020-06-30</endDate>
        </period>
    </context>
    <context id="From2020-06-012020-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-06-01</startDate>
            <endDate>2020-06-30</endDate>
        </period>
    </context>
    <context id="From2021-06-012021-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2021-06-30</endDate>
        </period>
    </context>
    <context id="From2021-06-012021-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2021-06-30</endDate>
        </period>
    </context>
    <context id="From2022-06-012022-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-01</startDate>
            <endDate>2022-06-30</endDate>
        </period>
    </context>
    <context id="From2022-06-012022-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-01</startDate>
            <endDate>2022-06-30</endDate>
        </period>
    </context>
    <context id="From2023-06-012023-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2023-06-30</endDate>
        </period>
    </context>
    <context id="From2023-06-012023-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2023-06-30</endDate>
        </period>
    </context>
    <context id="From2024-06-012024-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-01</startDate>
            <endDate>2024-06-30</endDate>
        </period>
    </context>
    <context id="From2024-06-012024-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-06-01</startDate>
            <endDate>2024-06-30</endDate>
        </period>
    </context>
    <context id="From2025-06-012025-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="From2025-06-012025-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2025-06-30</endDate>
        </period>
    </context>
    <context id="From2026-06-012026-06-30_custom_C000016367Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">mxxvx:C000016367Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2026-06-012026-06-30_custom_SP500IndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001003839</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">mxxvx:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Ratio">
        <measure>pure</measure>
    </unit>
    <unit id="Holdings">
        <measure>mxxvx:Holdings</measure>
    </unit>
    <dei:AmendmentFlag contextRef="From2026-01-01to2026-06-30" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType contextRef="From2026-01-01to2026-06-30" id="Fact000004">N-1A</dei:EntityInvCompanyType>
    <dei:EntityCentralIndexKey contextRef="From2026-01-01to2026-06-30" id="Fact000005">0001003839</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="From2026-01-01to2026-06-30" id="Fact000012">N-CSR</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="From2026-01-01to2026-06-30" id="Fact000013">Matthew 25 Fund</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="From2026-01-01to2026-06-30" id="Fact000014">2026-06-30</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000015">MATTHEW 25 FUND</oef:FundName>
    <dei:TradingSymbol
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000016">MXXVX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000017">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;ADDITIONAL
INFORMATION&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;i&gt;This &lt;span id="xdx_90F_eoef--ShareholderReportAnnualOrSemiAnnual_c20260101__20260630_zV3Nx3IRu8t6"&gt;semi-annual shareholder report&lt;/span&gt; contains important
information about the &lt;span id="xdx_909_eoef--ClassName_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_zWF086r9QIOe"&gt;Matthew 25 Fund&lt;/span&gt; - MXXVX for the period January 1, 2026 to June 30, 2026.&lt;/i&gt;&lt;/p&gt;

</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual contextRef="From2026-01-01to2026-06-30" id="Fact000018">semi-annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:ClassName
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000019">Matthew 25 Fund</oef:ClassName>
    <oef:AddlInfoTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000020">

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;i&gt;You can find additional information, including
the Shareholder's Letter, at &lt;span id="xdx_90A_eoef--AddlInfoWebsite_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_z1TLrNK859Rk"&gt;www.matthew25fund.com&lt;/span&gt; or you can also request this information by contacting us at &lt;span id="xdx_906_eoef--AddlInfoPhoneNumber_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_z7CMrYpFJjDa"&gt;1-888-M25-FUND&lt;/span&gt;.&lt;/i&gt;&lt;/p&gt;

</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000021">www.matthew25fund.com</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000022">1-888-M25-FUND</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000023">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;expense Information&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 5pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&lt;i&gt;What were the Fund costs for the past six months?&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;i&gt;(based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/p&gt;

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: Black 1pt solid; white-space: nowrap; width: 46%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Fund Name&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; white-space: nowrap; width: 22%; padding-right: -7.5pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;Costs
    of a $10,000 investment&lt;/b&gt;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; white-space: nowrap; width: 32%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;Costs
    paid as a percentage of a $10,000 investment&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Matthew 25 Fund&lt;/td&gt;
    &lt;td id="xdx_987_eoef--ExpensesPaidAmt_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_zV3s4EiLQHW4" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;$57&lt;/td&gt;
    &lt;td id="xdx_981_eoef--ExpenseRatioPct_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_z1J8M4hvtItk" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;1.10%&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;

</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000024"
      unitRef="USD">57</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000025"
      unitRef="Ratio">0.0110</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000026">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;span style="text-decoration: underline"&gt;managment&#x2019;s
discussion of fund performance&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 9.5pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 9pt Times New Roman, Times, Serif; margin: 0"&gt;Dear Owners,&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;Our Matthew 25 Fund (MXXVX) returned
8.97% in the first 6 months of 2026. This was less than the 10.21% return on the S&amp;amp;P 500 Index (SPX). I am optimistic about our current
portfolio of growth and value investments that I believe will benefit from the many technological changes happening now and going forward.
I discuss this more fully in our June 30, 2026 Shareholder letter available on our website at: https://www.matthew25fund.com/annual-reports/&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;&#160;I always emphasize long-term investing
over trading and speculation, and I am optimistic that we can increase our Matthew 25 Fund&#x2019;s long-term performance over the stock
market&#x2019;s averages:&lt;/p&gt;

&lt;table border="0" cellpadding="0" cellspacing="0" style="font: 9pt Times New Roman, Times, Serif; width: 50%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-decoration: underline; text-align: left; width: 28%"&gt;Period&lt;/td&gt;
    &lt;td style="text-decoration: underline; text-align: center; width: 34%"&gt;MXXVX&lt;/td&gt;
    &lt;td style="text-decoration: underline; text-align: center; width: 38%"&gt;SPX&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;3 yrs.&lt;/td&gt;
    &lt;td style="text-align: center"&gt;22.94%&lt;/td&gt;
    &lt;td style="text-align: center"&gt;20.59%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;15 yrs.&lt;/td&gt;
    &lt;td style="text-align: center"&gt;13.46%&lt;/td&gt;
    &lt;td style="text-align: center"&gt;14.35%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;20 yrs.&lt;/td&gt;
    &lt;td style="text-align: center"&gt;10.47%&lt;/td&gt;
    &lt;td style="text-align: center"&gt;11.38%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;25 yrs.&lt;/td&gt;
    &lt;td style="text-align: center"&gt;10.49%&lt;/td&gt;
    &lt;td style="text-align: center"&gt;9.54%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;30 yrs.&lt;/td&gt;
    &lt;td style="text-align: center"&gt;11.59%&lt;/td&gt;
    &lt;td style="text-align: center"&gt;10.35%&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;

&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;A $10,000 investment in MXXVX at its
inception of 10/16/1995 has grown to $292,580.58. My wife and I have been owners since inception and continue to purchase shares. We currently
own 13.53% of MXXVX.&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;During the first half of this
year, I made the following changes to our portfolio:&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;&lt;span style="text-decoration: underline"&gt;Sold&lt;/span&gt; &#x2013; FedEx, Interface
and Nucor&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;&lt;span style="text-decoration: underline"&gt;Bought&lt;/span&gt; + Coherent and Palantir
Technologies&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;These changes were made to improve
the growth potential and/or the intrinsic value of our investments. To see the performance of our legacy holdings and additional portfolio
information, please visit our website to read our Semi-annual Shareholder Letter for 6/30/26. As always, it is my honor to work for you
and to invest side-by-side with you.&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;Good fortune,&lt;/p&gt;

&lt;p style="font: 9.5pt/115% Times New Roman, Times, Serif; margin: 0 0 10pt; text-align: justify"&gt;Mark Mulholland&lt;/p&gt;

</oef:FactorsAffectingPerfTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000027">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;Performance
graph&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 5pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&lt;i&gt;AVERAGE ANNUAL RETURNS&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 5pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 80%; border-collapse: collapse"&gt;
  &lt;tr&gt;
    &lt;td style="border-top: Black 1pt solid; white-space: nowrap; vertical-align: bottom; width: 39%; border-left: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-top: Black 1pt solid; white-space: nowrap; vertical-align: top; width: 17%; border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;1
    YEAR&lt;/b&gt;&lt;/td&gt;
    &lt;td style="border-top: Black 1pt solid; vertical-align: top; width: 19%; border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;5
    YEARS&lt;/b&gt;&lt;/td&gt;
    &lt;td style="border-top: Black 1pt solid; vertical-align: bottom; width: 25%; border-right: Black 1pt solid; border-bottom: Black 1pt solid; padding-right: -5.55pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;10
    YEARS&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-left: Black 1pt solid; white-space: nowrap; padding-right: 5.4pt; padding-left: 5pt"&gt;Matthew 25 Fund&lt;/td&gt;
    &lt;td id="xdx_98C_eoef--AvgAnnlRtrPct_c20250701__20260630__oef--ClassAxis__custom--C000016367Member_zEAd0IJXECv2" style="white-space: nowrap; padding-right: 5.6pt; padding-left: 5.4pt; text-align: center"&gt;21.79%&lt;/td&gt;
    &lt;td id="xdx_988_eoef--AvgAnnlRtrPct_c20210701__20260630__oef--ClassAxis__custom--C000016367Member_z2icfbLVzCa8" style="padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;10.43%&lt;/td&gt;
    &lt;td id="xdx_98C_eoef--AvgAnnlRtrPct_c20160701__20260630__oef--ClassAxis__custom--C000016367Member_zeer0lEEPFv2" style="border-right: Black 1pt solid; padding-right: 5.6pt; padding-left: 5.4pt; text-align: center"&gt;14.34%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="border-bottom: Black 1pt solid; white-space: nowrap; border-left: Black 1pt solid; padding-right: -4.05pt; padding-left: 5pt"&gt;S&amp;amp;P
    500 Index&lt;/td&gt;
    &lt;td id="xdx_983_eoef--AvgAnnlRtrPct_c20250701__20260630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_znxqajZPIh0e" style="border-bottom: Black 1pt solid; white-space: nowrap; padding-right: 5.6pt; padding-left: 5.4pt; text-align: center"&gt;22.32%&lt;/td&gt;
    &lt;td id="xdx_984_eoef--AvgAnnlRtrPct_c20210701__20260630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zjqHbXbBSKCf" style="border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;13.40%&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--AvgAnnlRtrPct_c20160701__20260630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zvLpdEpnjpDl" style="border-right: Black 1pt solid; border-bottom: Black 1pt solid; padding-right: 5.6pt; padding-left: 5.4pt; text-align: center"&gt;15.50%&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&lt;i&gt;Hypothetical Cumulative Performance Comparison of $10,000 Investment
For the Past 10 Years&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;span style="font-family: Times New Roman, Times, Serif; font-size: 12pt"&gt;&lt;img alt="" src="image_001.gif" style="height: 276px; width: 446px"/&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 9pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0; text-align: justify"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;&lt;i&gt;&lt;span id="xdx_900_eoef--PerformancePastDoesNotIndicateFuture_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_zywiQ40m5cE6"&gt;Past
performance is not a good predictor of future performance&lt;/span&gt;. &lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;i&gt; The returns shown do not reflect taxes that a shareholder
would pay on Fund distributions or on the redemption of Fund shares. Updated performance data current to the most recent month-end can
be obtained by calling 1-888-M25-FUND.&lt;/i&gt;&lt;/p&gt;

</oef:AvgAnnlRtrTableTextBlock>
    <oef:AvgAnnlRtrPct
      contextRef="From2025-07-012026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000028"
      unitRef="Ratio">0.2179</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2021-07-012026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000029"
      unitRef="Ratio">0.1043</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-07-012026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000030"
      unitRef="Ratio">0.1434</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2025-07-012026-06-30_custom_SP500IndexMember"
      decimals="INF"
      id="Fact000031"
      unitRef="Ratio">0.2232</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2021-07-012026-06-30_custom_SP500IndexMember"
      decimals="INF"
      id="Fact000032"
      unitRef="Ratio">0.1340</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="From2016-07-012026-06-30_custom_SP500IndexMember"
      decimals="INF"
      id="Fact000033"
      unitRef="Ratio">0.1550</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000034">Past
performance is not a good predictor of future performance</oef:PerformancePastDoesNotIndicateFuture>
    <oef:AddlFundStatisticsTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000035">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;Fund statistics&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; width: 74%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;NET ASSETS:&lt;/td&gt;
    &lt;td id="xdx_98D_eus-gaap--AssetsNet_iI_c20260630__oef--ClassAxis__custom--C000016367Member_z5r17TYwU26b" style="white-space: nowrap; width: 26%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;$347,264,233&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;PORTFOLIO HOLDINGS:&lt;/td&gt;
    &lt;td id="xdx_984_eoef--HoldingsCount_iI_uHoldings_c20260630__oef--ClassAxis__custom--C000016367Member_ztmpZbinNi4a" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;21&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;PORTFOLIO TURNOVER:&lt;/td&gt;
    &lt;td id="xdx_988_eus-gaap--InvestmentCompanyPortfolioTurnover_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_zkOy1kL00vh1" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;17.67%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;ADVISORY FEES PAID BY FUND:&lt;/td&gt;
    &lt;td id="xdx_980_eoef--AdvisoryFeesPaidAmt_c20260101__20260630__oef--ClassAxis__custom--C000016367Member_zKfppMMQGr2l" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;$1,635,420&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="AsOf2026-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000036"
      unitRef="USD">347264233</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="AsOf2026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000037"
      unitRef="Holdings">21</oef:HoldingsCount>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000038"
      unitRef="Ratio">0.1767</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:AdvisoryFeesPaidAmt
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000039"
      unitRef="USD">1635420</oef:AdvisoryFeesPaidAmt>
    <oef:HoldingsTableTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000040">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;Asset Allocation&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&#160;&lt;/span&gt;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; width: 85%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Semiconductors &amp;amp; Related Devices&lt;/td&gt;
    &lt;td id="xdx_985_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--SemiconductorsAndRelatedDevicesMember_zMV7NhHYJmo1" style="white-space: nowrap; width: 15%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;35.54%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Pharmaceutical Preparations&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--PharmaceuticalPreparationsMember_zX7zZcOhBdo4" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;8.46%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Retail-Catalog &amp;amp; Mail-Order Houses&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--RetailCatalogMailOrderHousesMember_zcGwzQirSc83" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6.69%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Federal &amp;amp; Federally - Sponsored Credit Agencies&lt;/td&gt;
    &lt;td id="xdx_980_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--FederalallySponsoredCreditAgenciesMember_zSU25iPczbol" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;5.74%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: -6.25pt; padding-left: 5.4pt"&gt;Electronic Computers&lt;/td&gt;
    &lt;td id="xdx_982_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--ElectronicComputersMember_zAwZ6f6kIGAf" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.46%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Security Brokers, Dealers &amp;amp; Exchanges&lt;/td&gt;
    &lt;td id="xdx_98B_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--SecurityBrokersDealersExchangesMember_zLpGrW7jvZAc" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.37%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Services-Business Services&lt;/td&gt;
    &lt;td id="xdx_987_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--ServicesBusinessServicesMember_zoTjsL3x0b72" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.33%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Optical Instruments &amp;amp; Lenses&lt;/td&gt;
    &lt;td id="xdx_98D_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--OpticalInstrumentsLensesMember_zrYMyBv6Mnt2" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.03%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Motor Vehicles &amp;amp; Passenger Car Bodies&lt;/td&gt;
    &lt;td id="xdx_984_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--MotorVehiclesPassengerCarBodiesMember_z77vIP64Qh5i" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;3.94%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;National Commercial Bank&lt;/td&gt;
    &lt;td id="xdx_981_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--NationalCommercialBankMember_z2o3heHztJfg" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;3.93%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Services-Prepackaged Software&lt;/td&gt;
    &lt;td id="xdx_98E_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--ServicesPrepackagedSoftwareMember_z5QUNOZharyb" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;3.61%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Hotels &amp;amp; Motels&lt;/td&gt;
    &lt;td id="xdx_982_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--HotelsAndMotelsMember_zBsrrrduuB65" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;3.41%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Fire, Marine &amp;amp; Casualty Insurance&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--FireMarineCasualtyInsuranceMember_z5QroYvbOAp4" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;3.02%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;State Commercial Banks&lt;/td&gt;
    &lt;td id="xdx_986_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--StateCommercialBanksMember_zn52n1SAyen6" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;2.70%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Investment Advice&lt;/td&gt;
    &lt;td id="xdx_98A_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__us-gaap--InvestmentAdviceMember_zMkiyIgqs88k" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;2.64%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Finance Services&lt;/td&gt;
    &lt;td id="xdx_983_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--FinanceServicesMember_z97B77GRwI0l" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;1.50%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Chemicals &amp;amp; Allied Products&lt;/td&gt;
    &lt;td id="xdx_98C_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--ChemicalsAndAlliedProductsMember_zyAuMK55xhf3" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;1.12%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Money Market Fund&lt;/td&gt;
    &lt;td id="xdx_980_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__us-gaap--MoneyMarketFundsMember_zIFBLfyviXz6" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;0.60%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Business Services&lt;/td&gt;
    &lt;td id="xdx_98A_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--IndustrySectorAxis__custom--BusinessServicesMember_z0Zch2G30J1g" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;0.00%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Total
    % Of Net Assets&lt;/td&gt;
    &lt;td id="xdx_984_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member_zD96R6WnZjY7" style="border-top: Black 1pt solid; border-bottom: Black 1pt solid; white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;100.09%&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

</oef:HoldingsTableTextBlock>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_SemiconductorsAndRelatedDevicesMember"
      decimals="INF"
      id="Fact000041"
      unitRef="Ratio">0.3554</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_PharmaceuticalPreparationsMember"
      decimals="INF"
      id="Fact000042"
      unitRef="Ratio">0.0846</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_RetailCatalogMailOrderHousesMember"
      decimals="INF"
      id="Fact000043"
      unitRef="Ratio">0.0669</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_FederalallySponsoredCreditAgenciesMember"
      decimals="INF"
      id="Fact000044"
      unitRef="Ratio">0.0574</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_ElectronicComputersMember"
      decimals="INF"
      id="Fact000045"
      unitRef="Ratio">0.0446</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_SecurityBrokersDealersExchangesMember"
      decimals="INF"
      id="Fact000046"
      unitRef="Ratio">0.0437</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_ServicesBusinessServicesMember"
      decimals="INF"
      id="Fact000047"
      unitRef="Ratio">0.0433</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_OpticalInstrumentsLensesMember"
      decimals="INF"
      id="Fact000048"
      unitRef="Ratio">0.0403</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_MotorVehiclesPassengerCarBodiesMember"
      decimals="INF"
      id="Fact000049"
      unitRef="Ratio">0.0394</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_NationalCommercialBankMember"
      decimals="INF"
      id="Fact000050"
      unitRef="Ratio">0.0393</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_ServicesPrepackagedSoftwareMember"
      decimals="INF"
      id="Fact000051"
      unitRef="Ratio">0.0361</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_HotelsAndMotelsMember"
      decimals="INF"
      id="Fact000052"
      unitRef="Ratio">0.0341</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_FireMarineCasualtyInsuranceMember"
      decimals="INF"
      id="Fact000053"
      unitRef="Ratio">0.0302</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_StateCommercialBanksMember"
      decimals="INF"
      id="Fact000054"
      unitRef="Ratio">0.0270</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_us-gaap_InvestmentAdviceMember"
      decimals="INF"
      id="Fact000055"
      unitRef="Ratio">0.0264</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_FinanceServicesMember"
      decimals="INF"
      id="Fact000056"
      unitRef="Ratio">0.0150</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_ChemicalsAndAlliedProductsMember"
      decimals="INF"
      id="Fact000057"
      unitRef="Ratio">0.0112</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_us-gaap_MoneyMarketFundsMember"
      decimals="INF"
      id="Fact000058"
      unitRef="Ratio">0.0060</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_BusinessServicesMember"
      decimals="INF"
      id="Fact000059"
      unitRef="Ratio">0.0000</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member"
      decimals="INF"
      id="Fact000060"
      unitRef="Ratio">1.0009</oef:PctOfNav>
    <oef:LargestHoldingsTableTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000061">

&lt;p style="font: 12pt Century Gothic,sans-serif; margin: 0"&gt;&lt;span style="font-size: 10pt; text-transform: uppercase; color: #548ab7"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;top
ten holdings&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 12pt Century Gothic,sans-serif; margin: 0"&gt;&lt;span style="font-size: 10pt; text-transform: uppercase; color: #548ab7"&gt;&#160;&lt;/span&gt;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; width: 9%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;1.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; width: 77%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;NVIDIA Corp.&lt;/td&gt;
    &lt;td id="xdx_98C_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--NvidiaCorpMember_zEt32mXmDLS7" style="white-space: nowrap; vertical-align: top; width: 14%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;21.92%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;2.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Taiwan Semiconductor Manufacturing
    Co. Ltd.&lt;/td&gt;
    &lt;td id="xdx_98D_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--TaiwanSemiconductorCoMember_zkOJ8oWEsYTc" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;13.61%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;3.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Eli Lilly &amp;amp; Co.&lt;/td&gt;
    &lt;td id="xdx_980_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--EliLillyAndCoMember_zggQTL7XeH75" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;8.46%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;4.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Amazon.com, Inc.&lt;/td&gt;
    &lt;td id="xdx_98A_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--AmazoncomIncMember_zYdFMXy3FOic" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6.69%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;5.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Apple, Inc.&lt;/td&gt;
    &lt;td id="xdx_986_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--AppleIncMember_z0Vz6jMlqAmc" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.46%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;6.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Goldman Sachs Group, Inc.&lt;/td&gt;
    &lt;td id="xdx_986_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--GoldmanSachsGroupIncMember_zbuUrUbbKiGh" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.37%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;7.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Mercadolibre, Inc.&lt;/td&gt;
    &lt;td id="xdx_98E_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--MercadolibreIncMember_zbE9wUd4loGj" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.33%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;8.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Federal Agricultural Mortgage Corp.
    Class A &amp;amp; C&lt;/td&gt;
    &lt;td id="xdx_987_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--FederalAgriculturalCorpAandCMember_z6wieKw5ahu2" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.95%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;9.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Coherent Corp.&lt;/td&gt;
    &lt;td id="xdx_989_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--CoherentCorpMember_zFhhU0RFsPIj" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;4.03%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;10.&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt"&gt;Tesla, Inc.&lt;/td&gt;
    &lt;td id="xdx_983_eoef--PctOfNav_iI_c20260630__oef--ClassAxis__custom--C000016367Member__oef--LargestHoldingAxis__custom--TeslaIncMember_zXoIYlSN5Yui" style="white-space: nowrap; vertical-align: top; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;3.94%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;
    &lt;td style="vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="white-space: nowrap; vertical-align: bottom; padding-right: 5.4pt; padding-left: 5.4pt"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Total
    % Of Net Assets&lt;/td&gt;
    &lt;td style="border-top: Black 1pt solid; white-space: nowrap; vertical-align: top; border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;76.76%&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 9pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 9pt Times New Roman, Times, Serif; margin: 0"&gt;*Indicates a combined position.&lt;/p&gt;

</oef:LargestHoldingsTableTextBlock>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_NvidiaCorpMember"
      decimals="INF"
      id="Fact000062"
      unitRef="Ratio">0.2192</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_TaiwanSemiconductorCoMember"
      decimals="INF"
      id="Fact000063"
      unitRef="Ratio">0.1361</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_EliLillyAndCoMember"
      decimals="INF"
      id="Fact000064"
      unitRef="Ratio">0.0846</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_AmazoncomIncMember"
      decimals="INF"
      id="Fact000065"
      unitRef="Ratio">0.0669</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_AppleIncMember"
      decimals="INF"
      id="Fact000066"
      unitRef="Ratio">0.0446</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_GoldmanSachsGroupIncMember"
      decimals="INF"
      id="Fact000067"
      unitRef="Ratio">0.0437</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_MercadolibreIncMember"
      decimals="INF"
      id="Fact000068"
      unitRef="Ratio">0.0433</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_FederalAgriculturalCorpAandCMember"
      decimals="INF"
      id="Fact000069"
      unitRef="Ratio">0.0495</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_CoherentCorpMember"
      decimals="INF"
      id="Fact000070"
      unitRef="Ratio">0.0403</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_custom_C000016367Member_custom_TeslaIncMember"
      decimals="INF"
      id="Fact000071"
      unitRef="Ratio">0.0394</oef:PctOfNav>
    <oef:MaterialFundChngTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000072">

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="text-decoration: underline"&gt;How has the
Fund changed&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt Century Gothic,sans-serif; margin: 0; color: #548ab7"&gt;&lt;span style="text-transform: uppercase"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;i&gt;The Fund has not had any material changes during the six months ended
June 30, 2026.&lt;/i&gt;&lt;/p&gt;

</oef:MaterialFundChngTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000073">https://www.matthew25fund.com/</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000074">1-888-M25-FUND</oef:UpdProspectusPhoneNumber>
    <oef:LineGraphTableTextBlock
      contextRef="From2026-01-012026-06-30_custom_C000016367Member"
      id="Fact000075">

&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 12pt Times New Roman, Times, Serif; display: none; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; width: 41%; padding-right: 5.4pt; padding-left: 5.4pt"&gt;&#160;&lt;/td&gt;
    &lt;td style="white-space: nowrap; width: 28%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;M25&lt;/td&gt;
    &lt;td style="white-space: nowrap; width: 31%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;S&amp;amp;P500&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2016&lt;/td&gt;
    &lt;td id="xdx_98B_eoef--AccmVal_c20160601__20160630__oef--ClassAxis__custom--C000016367Member_zXybkppTo4vg" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;10000&lt;/td&gt;
    &lt;td id="xdx_986_eoef--AccmVal_c20160601__20160630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_z1kGnSaowox9" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;10000&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2017&lt;/td&gt;
    &lt;td id="xdx_985_eoef--AccmVal_c20170601__20170630__oef--ClassAxis__custom--C000016367Member_zScAxBIneNN7" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;13037&lt;/td&gt;
    &lt;td id="xdx_98D_eoef--AccmVal_c20170601__20170630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zaKIJS433m4a" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;11789&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2018&lt;/td&gt;
    &lt;td id="xdx_988_eoef--AccmVal_c20180601__20180630__oef--ClassAxis__custom--C000016367Member_z4olGeqVE5Rl" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;14768&lt;/td&gt;
    &lt;td id="xdx_982_eoef--AccmVal_c20180601__20180630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zkNse7GwzAKa" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;13484&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2019&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--AccmVal_c20190601__20190630__oef--ClassAxis__custom--C000016367Member_zQFHqNDy6Tyj" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;16118&lt;/td&gt;
    &lt;td id="xdx_981_eoef--AccmVal_c20190601__20190630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zIDoLIR2F8G" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;14890&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2020&lt;/td&gt;
    &lt;td id="xdx_988_eoef--AccmVal_c20200601__20200630__oef--ClassAxis__custom--C000016367Member_zuPLzVfqZSch" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;15225&lt;/td&gt;
    &lt;td id="xdx_988_eoef--AccmVal_c20200601__20200630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zRd3AMRq6yIl" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;16008&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2021&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--AccmVal_c20210601__20210630__oef--ClassAxis__custom--C000016367Member_zsEfVyikAdtb" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;23253&lt;/td&gt;
    &lt;td id="xdx_987_eoef--AccmVal_c20210601__20210630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zPjlOEuSx3Nj" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;22538&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2022&lt;/td&gt;
    &lt;td id="xdx_98D_eoef--AccmVal_c20220601__20220630__oef--ClassAxis__custom--C000016367Member_zzQVZg2A4p51" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;18414&lt;/td&gt;
    &lt;td id="xdx_980_eoef--AccmVal_c20220601__20220630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zunqOhdGuGl9" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;20146&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2023&lt;/td&gt;
    &lt;td id="xdx_98A_eoef--AccmVal_c20230601__20230630__oef--ClassAxis__custom--C000016367Member_z3A03jS3Doug" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;20551&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--AccmVal_c20230601__20230630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zMdk8diIK276" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;24093&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2024&lt;/td&gt;
    &lt;td id="xdx_98A_eoef--AccmVal_c20240601__20240630__oef--ClassAxis__custom--C000016367Member_zt5in2FSCl58" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;25267&lt;/td&gt;
    &lt;td id="xdx_98B_eoef--AccmVal_c20240601__20240630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zRVEqPI2N4p3" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;30009&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2025&lt;/td&gt;
    &lt;td id="xdx_987_eoef--AccmVal_c20250601__20250630__oef--ClassAxis__custom--C000016367Member_zFLRdiD6swJ4" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;31358&lt;/td&gt;
    &lt;td id="xdx_98D_eoef--AccmVal_c20250601__20250630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zr3gwGBUatx6" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;34560&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;6/30/2026&lt;/td&gt;
    &lt;td id="xdx_98A_eoef--AccmVal_c20260601__20260630__oef--ClassAxis__custom--C000016367Member_zEEWMV5cAikk" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;38190&lt;/td&gt;
    &lt;td id="xdx_98F_eoef--AccmVal_c20260601__20260630__oef--BroadBasedIndexAxis__custom--SP500IndexMember_zawLgaSOXgr2" style="white-space: nowrap; padding-right: 5.4pt; padding-left: 5.4pt; text-align: right"&gt;42275&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 11pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;

</oef:LineGraphTableTextBlock>
    <oef:AccmVal
      contextRef="From2016-06-012016-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000076"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2016-06-012016-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000077"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2017-06-012017-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000078"
      unitRef="USD">13037</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2017-06-012017-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000079"
      unitRef="USD">11789</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2018-06-012018-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000080"
      unitRef="USD">14768</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2018-06-012018-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000081"
      unitRef="USD">13484</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2019-06-012019-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000082"
      unitRef="USD">16118</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2019-06-012019-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000083"
      unitRef="USD">14890</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2020-06-012020-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000084"
      unitRef="USD">15225</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2020-06-012020-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000085"
      unitRef="USD">16008</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2021-06-012021-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000086"
      unitRef="USD">23253</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2021-06-012021-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000087"
      unitRef="USD">22538</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2022-06-012022-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000088"
      unitRef="USD">18414</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2022-06-012022-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000089"
      unitRef="USD">20146</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2023-06-012023-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000090"
      unitRef="USD">20551</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2023-06-012023-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000091"
      unitRef="USD">24093</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2024-06-012024-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000092"
      unitRef="USD">25267</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2024-06-012024-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000093"
      unitRef="USD">30009</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2025-06-012025-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000094"
      unitRef="USD">31358</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2025-06-012025-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000095"
      unitRef="USD">34560</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2026-06-012026-06-30_custom_C000016367Member"
      decimals="0"
      id="Fact000096"
      unitRef="USD">38190</oef:AccmVal>
    <oef:AccmVal
      contextRef="From2026-06-012026-06-30_custom_SP500IndexMember"
      decimals="0"
      id="Fact000097"
      unitRef="USD">42275</oef:AccmVal>
</xbrl>
