<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rex="http://www.rexamerican.com/20210731"
  xmlns:srt="http://fasb.org/srt/2021-01-31"
  xmlns:us-gaap="http://fasb.org/us-gaap/2021-01-31"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef xlink:href="rex-20210731.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-09-02</instant>
        </period>
    </context>
    <context id="c2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c8">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c9">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c11">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c12">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <context id="c13">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <context id="c14">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <context id="c15">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <context id="c16">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <context id="c17">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-04-30</instant>
        </period>
    </context>
    <context id="c18">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-04-30</instant>
        </period>
    </context>
    <context id="c19">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-04-30</instant>
        </period>
    </context>
    <context id="c20">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-04-30</instant>
        </period>
    </context>
    <context id="c21">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-04-30</instant>
        </period>
    </context>
    <context id="c22">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-04-30</instant>
        </period>
    </context>
    <context id="c23">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c24">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c25">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c26">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c27">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c28">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c29">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c32">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-01-31</instant>
        </period>
    </context>
    <context id="c33">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-01-31</instant>
        </period>
    </context>
    <context id="c34">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-01-31</instant>
        </period>
    </context>
    <context id="c35">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-01-31</instant>
        </period>
    </context>
    <context id="c36">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-01-31</instant>
        </period>
    </context>
    <context id="c37">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2020-01-31</instant>
        </period>
    </context>
    <context id="c38">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-04-30</endDate>
        </period>
    </context>
    <context id="c39">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-04-30</endDate>
        </period>
    </context>
    <context id="c40">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-04-30</endDate>
        </period>
    </context>
    <context id="c41">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-04-30</endDate>
        </period>
    </context>
    <context id="c42">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-04-30</endDate>
        </period>
    </context>
    <context id="c43">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-04-30</instant>
        </period>
    </context>
    <context id="c44">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-04-30</instant>
        </period>
    </context>
    <context id="c45">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-04-30</instant>
        </period>
    </context>
    <context id="c46">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-04-30</instant>
        </period>
    </context>
    <context id="c47">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-04-30</instant>
        </period>
    </context>
    <context id="c48">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2020-04-30</instant>
        </period>
    </context>
    <context id="c49">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c50">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c51">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c52">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c53">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c54">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c55">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c56">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c57">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c58">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c59">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c60">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:MajorityOwnedSubsidiaryUnconsolidatedMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c61">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:MajorityOwnedSubsidiaryUnconsolidatedMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c62">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">rex:ProvisionForIncomeTaxesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c63">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2021-01-31</endDate>
        </period>
    </context>
    <context id="c64">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2021-01-31</endDate>
        </period>
    </context>
    <context id="c65">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2021-01-31</endDate>
        </period>
    </context>
    <context id="c66">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c67">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c68">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c69">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c70">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c71">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c72">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c73">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c74">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c75">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:ContractWithCustomerDurationAxis">rex:ShortSellMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:LiabilityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c76">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:ContractWithCustomerDurationAxis">rex:ShortSellMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:LiabilityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c77">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:ContractWithCustomerDurationAxis">rex:LongBuyMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:AssetsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c78">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:ContractWithCustomerDurationAxis">rex:LongBuyMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:AssetsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c79">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:LiabilityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c80">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:LiabilityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c81">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c82">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c83">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:ForwardContractsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c84">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:ForwardContractsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c85">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c86">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c87">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c88">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c89">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">rex:StockOptionPlans2015Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c90">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c91">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c92">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c93">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-07-31</instant>
        </period>
    </context>
    <context id="c94">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:TaxCreditCarryforwardAxis">rex:CARESActNetOperatingLossCarrybackMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c95">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c96">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c97">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c98">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c99">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c100">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c101">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c102">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c103">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c104">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c105">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c106">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c107">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c108">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c109">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c110">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c111">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c112">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c113">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c114">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c115">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c116">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c117">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c118">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c119">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c120">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c121">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c122">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c123">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c124">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c125">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c126">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c127">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c128">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c129">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c130">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c131">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c132">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c133">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c134">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c135">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c136">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c137">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c138">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c139">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c140">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c141">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-07-31</endDate>
        </period>
    </context>
    <context id="c142">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AssetsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-07-31</endDate>
        </period>
    </context>
    <context id="c143">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c144">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c145">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c146">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c147">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c148">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="usdPershares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="bu">
        <measure>utr:bu</measure>
    </unit>
    <unit id="l">
        <measure>utr:l</measure>
    </unit>
    <unit id="mmbtu">
        <measure>utr:MMBTU</measure>
    </unit>
    <unit id="gal">
        <measure>utr:gal</measure>
    </unit>
    <unit id="t">
        <measure>utr:T</measure>
    </unit>
    <unit id="lb">
        <measure>utr:lb</measure>
    </unit>
    <dei:DocumentType contextRef="c0">10-Q</dei:DocumentType>
    <dei:DocumentQuarterlyReport contextRef="c0">true</dei:DocumentQuarterlyReport>
    <dei:DocumentPeriodEndDate contextRef="c0">2021-07-31</dei:DocumentPeriodEndDate>
    <dei:DocumentFiscalYearFocus contextRef="c0">2021</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="c0">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="c0">001-09097</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="c0">REX AMERICAN RESOURCES CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="c0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="c0">31-1095548</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="c0">7720 Paragon Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="c0">Dayton</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c0">OH</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c0">45459</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c0">937</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c0">276-3931</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="c0">Common stock, $0.01 par value</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c0">REX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c0">NYSE</dei:SecurityExchangeName>
    <dei:EntityCurrentReportingStatus contextRef="c0">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="c0">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="c0">Accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="c0">false</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="c0">false</dei:EntityEmergingGrowthCompany>
    <dei:EntityShellCompany contextRef="c0">false</dei:EntityShellCompany>
    <dei:EntityCommonStockSharesOutstanding contextRef="c1" decimals="INF" unitRef="shares">5970938</dei:EntityCommonStockSharesOutstanding>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c2" decimals="-3" unitRef="usd">154312000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c3" decimals="-3" unitRef="usd">144501000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:ShortTermInvestments contextRef="c2" decimals="-3" unitRef="usd">33282000</us-gaap:ShortTermInvestments>
    <us-gaap:ShortTermInvestments contextRef="c3" decimals="-3" unitRef="usd">36194000</us-gaap:ShortTermInvestments>
    <us-gaap:RestrictedCashCurrent contextRef="c2" decimals="-3" unitRef="usd">6758000</us-gaap:RestrictedCashCurrent>
    <us-gaap:RestrictedCashCurrent contextRef="c3" decimals="-3" unitRef="usd">1657000</us-gaap:RestrictedCashCurrent>
    <us-gaap:AccountsReceivableNetCurrent contextRef="c2" decimals="-3" unitRef="usd">29521000</us-gaap:AccountsReceivableNetCurrent>
    <us-gaap:AccountsReceivableNetCurrent contextRef="c3" decimals="-3" unitRef="usd">19713000</us-gaap:AccountsReceivableNetCurrent>
    <us-gaap:InventoryNet contextRef="c2" decimals="-3" unitRef="usd">41759000</us-gaap:InventoryNet>
    <us-gaap:InventoryNet contextRef="c3" decimals="-4" unitRef="usd">37880000</us-gaap:InventoryNet>
    <us-gaap:IncomeTaxesReceivable contextRef="c2" decimals="-3" unitRef="usd">6892000</us-gaap:IncomeTaxesReceivable>
    <us-gaap:IncomeTaxesReceivable contextRef="c3" decimals="-4" unitRef="usd">6020000</us-gaap:IncomeTaxesReceivable>
    <us-gaap:PrepaidExpenseAndOtherAssetsCurrent contextRef="c2" decimals="-3" unitRef="usd">12175000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
    <us-gaap:PrepaidExpenseAndOtherAssetsCurrent contextRef="c3" decimals="-3" unitRef="usd">12785000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
    <us-gaap:AssetsCurrent contextRef="c2" decimals="-3" unitRef="usd">284699000</us-gaap:AssetsCurrent>
    <us-gaap:AssetsCurrent contextRef="c3" decimals="-4" unitRef="usd">258750000</us-gaap:AssetsCurrent>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c2" decimals="-3" unitRef="usd">145078000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c3" decimals="-3" unitRef="usd">153186000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:OperatingLeaseRightOfUseAsset contextRef="c2" decimals="-3" unitRef="usd">13211000</us-gaap:OperatingLeaseRightOfUseAsset>
    <us-gaap:OperatingLeaseRightOfUseAsset contextRef="c3" decimals="-3" unitRef="usd">12678000</us-gaap:OperatingLeaseRightOfUseAsset>
    <us-gaap:OtherAssetsNoncurrent contextRef="c2" decimals="-3" unitRef="usd">30649000</us-gaap:OtherAssetsNoncurrent>
    <us-gaap:OtherAssetsNoncurrent contextRef="c3" decimals="-3" unitRef="usd">25275000</us-gaap:OtherAssetsNoncurrent>
    <us-gaap:EquityMethodInvestments contextRef="c2" decimals="-4" unitRef="usd">31870000</us-gaap:EquityMethodInvestments>
    <us-gaap:EquityMethodInvestments contextRef="c3" decimals="-3" unitRef="usd">29456000</us-gaap:EquityMethodInvestments>
    <us-gaap:Assets contextRef="c2" decimals="-3" unitRef="usd">505507000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c3" decimals="-3" unitRef="usd">479345000</us-gaap:Assets>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c2" decimals="-5" unitRef="usd">2500000</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c3" decimals="-5" unitRef="usd">700000</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:AccountsPayableTradeCurrent contextRef="c2" decimals="-3" unitRef="usd">22041000</us-gaap:AccountsPayableTradeCurrent>
    <us-gaap:AccountsPayableTradeCurrent contextRef="c3" decimals="-3" unitRef="usd">16907000</us-gaap:AccountsPayableTradeCurrent>
    <us-gaap:OperatingLeaseLiabilityCurrent contextRef="c2" decimals="-4" unitRef="usd">5380000</us-gaap:OperatingLeaseLiabilityCurrent>
    <us-gaap:OperatingLeaseLiabilityCurrent contextRef="c3" decimals="-3" unitRef="usd">4875000</us-gaap:OperatingLeaseLiabilityCurrent>
    <rex:AccruedExpensesRelatedParties contextRef="c2" decimals="-5" unitRef="usd">100000</rex:AccruedExpensesRelatedParties>
    <rex:AccruedExpensesRelatedParties contextRef="c3" decimals="-5" unitRef="usd">100000</rex:AccruedExpensesRelatedParties>
    <us-gaap:OtherLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">11274000</us-gaap:OtherLiabilitiesCurrent>
    <us-gaap:OtherLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">8955000</us-gaap:OtherLiabilitiesCurrent>
    <us-gaap:LiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">38695000</us-gaap:LiabilitiesCurrent>
    <us-gaap:LiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">30737000</us-gaap:LiabilitiesCurrent>
    <us-gaap:DeferredTaxLiabilitiesNoncurrent contextRef="c2" decimals="-4" unitRef="usd">4030000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
    <us-gaap:DeferredTaxLiabilitiesNoncurrent contextRef="c3" decimals="-3" unitRef="usd">3713000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
    <us-gaap:OperatingLeaseLiabilityNoncurrent contextRef="c2" decimals="-3" unitRef="usd">7534000</us-gaap:OperatingLeaseLiabilityNoncurrent>
    <us-gaap:OperatingLeaseLiabilityNoncurrent contextRef="c3" decimals="-3" unitRef="usd">7439000</us-gaap:OperatingLeaseLiabilityNoncurrent>
    <us-gaap:OtherLiabilitiesNoncurrent contextRef="c2" decimals="-3" unitRef="usd">1951000</us-gaap:OtherLiabilitiesNoncurrent>
    <us-gaap:OtherLiabilitiesNoncurrent contextRef="c3" decimals="-3" unitRef="usd">273000</us-gaap:OtherLiabilitiesNoncurrent>
    <us-gaap:LiabilitiesNoncurrent contextRef="c2" decimals="-3" unitRef="usd">13515000</us-gaap:LiabilitiesNoncurrent>
    <us-gaap:LiabilitiesNoncurrent contextRef="c3" decimals="-3" unitRef="usd">11425000</us-gaap:LiabilitiesNoncurrent>
    <us-gaap:CommonStockValue contextRef="c2" decimals="-3" unitRef="usd">299000</us-gaap:CommonStockValue>
    <us-gaap:CommonStockValue contextRef="c3" decimals="-3" unitRef="usd">299000</us-gaap:CommonStockValue>
    <us-gaap:AdditionalPaidInCapitalCommonStock contextRef="c2" decimals="-3" unitRef="usd">149263000</us-gaap:AdditionalPaidInCapitalCommonStock>
    <us-gaap:AdditionalPaidInCapitalCommonStock contextRef="c3" decimals="-4" unitRef="usd">149110000</us-gaap:AdditionalPaidInCapitalCommonStock>
    <us-gaap:RetainedEarningsAccumulatedDeficit contextRef="c2" decimals="-3" unitRef="usd">605646000</us-gaap:RetainedEarningsAccumulatedDeficit>
    <us-gaap:RetainedEarningsAccumulatedDeficit contextRef="c3" decimals="-3" unitRef="usd">589986000</us-gaap:RetainedEarningsAccumulatedDeficit>
    <us-gaap:TreasuryStockValue contextRef="c2" decimals="-3" unitRef="usd">355936000</us-gaap:TreasuryStockValue>
    <us-gaap:TreasuryStockValue contextRef="c3" decimals="-3" unitRef="usd">354612000</us-gaap:TreasuryStockValue>
    <us-gaap:StockholdersEquity contextRef="c2" decimals="-3" unitRef="usd">399272000</us-gaap:StockholdersEquity>
    <us-gaap:StockholdersEquity contextRef="c3" decimals="-3" unitRef="usd">384783000</us-gaap:StockholdersEquity>
    <us-gaap:MinorityInterest contextRef="c2" decimals="-3" unitRef="usd">54025000</us-gaap:MinorityInterest>
    <us-gaap:MinorityInterest contextRef="c3" decimals="-5" unitRef="usd">52400000</us-gaap:MinorityInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c2" decimals="-3" unitRef="usd">453297000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c3" decimals="-3" unitRef="usd">437183000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:LiabilitiesAndStockholdersEquity contextRef="c2" decimals="-3" unitRef="usd">505507000</us-gaap:LiabilitiesAndStockholdersEquity>
    <us-gaap:LiabilitiesAndStockholdersEquity contextRef="c3" decimals="-3" unitRef="usd">479345000</us-gaap:LiabilitiesAndStockholdersEquity>
    <us-gaap:Revenues contextRef="c4" decimals="-3" unitRef="usd">195843000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c5" decimals="-3" unitRef="usd">39327000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c0" decimals="-3" unitRef="usd">359947000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c6" decimals="-3" unitRef="usd">122577000</us-gaap:Revenues>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c4" decimals="-3" unitRef="usd">20650000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c5" decimals="-3" unitRef="usd">4887000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c0" decimals="-3" unitRef="usd">37383000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c6" decimals="-3" unitRef="usd">17159000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c4" decimals="-3" unitRef="usd">184769000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c5" decimals="-3" unitRef="usd">40658000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c0" decimals="-3" unitRef="usd">331071000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c6" decimals="-3" unitRef="usd">133238000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:GrossProfit contextRef="c4" decimals="-3" unitRef="usd">11074000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c5" decimals="-3" unitRef="usd">-1331000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c0" decimals="-3" unitRef="usd">28876000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c6" decimals="-3" unitRef="usd">-10661000</us-gaap:GrossProfit>
    <us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty contextRef="c4" decimals="-3" unitRef="usd">154000</us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty>
    <us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty contextRef="c5" decimals="-3" unitRef="usd">152000</us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty>
    <us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty contextRef="c0" decimals="-3" unitRef="usd">191000</us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty>
    <us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty contextRef="c6" decimals="-3" unitRef="usd">-145000</us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c4" decimals="-3" unitRef="usd">6582000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c5" decimals="-3" unitRef="usd">4438000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c0" decimals="-3" unitRef="usd">16570000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c6" decimals="-3" unitRef="usd">9043000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c4" decimals="-3" unitRef="usd">1844000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c5" decimals="-3" unitRef="usd">-507000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c0" decimals="-3" unitRef="usd">2414000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c6" decimals="-3" unitRef="usd">-984000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:InterestAndOtherIncome contextRef="c4" decimals="-3" unitRef="usd">39000</us-gaap:InterestAndOtherIncome>
    <us-gaap:InterestAndOtherIncome contextRef="c5" decimals="-3" unitRef="usd">197000</us-gaap:InterestAndOtherIncome>
    <us-gaap:InterestAndOtherIncome contextRef="c0" decimals="-3" unitRef="usd">82000</us-gaap:InterestAndOtherIncome>
    <us-gaap:InterestAndOtherIncome contextRef="c6" decimals="-3" unitRef="usd">866000</us-gaap:InterestAndOtherIncome>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c4" decimals="-3" unitRef="usd">6375000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">-6079000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">14802000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">-19822000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c4" decimals="-3" unitRef="usd">-3677000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c5" decimals="-3" unitRef="usd">-4046000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c0" decimals="-3" unitRef="usd">-3648000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c6" decimals="-3" unitRef="usd">-9359000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:ProfitLoss contextRef="c4" decimals="-3" unitRef="usd">10052000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c5" decimals="-3" unitRef="usd">-2033000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c0" decimals="-3" unitRef="usd">18450000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c6" decimals="-3" unitRef="usd">-10463000</us-gaap:ProfitLoss>
    <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest contextRef="c4" decimals="-3" unitRef="usd">2176000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
    <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">-285000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
    <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">2790000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
    <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">-1080000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
    <us-gaap:NetIncomeLoss contextRef="c4" decimals="-3" unitRef="usd">7876000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c5" decimals="-3" unitRef="usd">-1748000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c0" decimals="-3" unitRef="usd">15660000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c6" decimals="-3" unitRef="usd">-9383000</us-gaap:NetIncomeLoss>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c4" decimals="-3" unitRef="shares">6011000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c5" decimals="-3" unitRef="shares">6216000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c0" decimals="-3" unitRef="shares">6010000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c6" decimals="-3" unitRef="shares">6261000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c4" decimals="2" unitRef="usdPershares">1.31</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c5" decimals="2" unitRef="usdPershares">-0.28</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c0" decimals="2" unitRef="usdPershares">2.61</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c6" decimals="2" unitRef="usdPershares">-1.50</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:SharesOutstanding contextRef="c7" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c7" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c8" decimals="-3" unitRef="shares">23861000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c8" decimals="-3" unitRef="usd">-354612000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c9" decimals="-3" unitRef="usd">149110000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c10" decimals="-3" unitRef="usd">589986000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c11" decimals="-3" unitRef="usd">52400000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c3" decimals="-3" unitRef="usd">437183000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c12" decimals="-3" unitRef="usd">7784000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c13" decimals="-3" unitRef="usd">614000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c14" decimals="-3" unitRef="usd">8398000</us-gaap:ProfitLoss>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c13" decimals="-3" unitRef="usd">75000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c14" decimals="-3" unitRef="usd">75000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c13" decimals="-3" unitRef="usd">68000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c14" decimals="-3" unitRef="usd">68000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c15" decimals="-3" unitRef="usd">8000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c16" decimals="-3" unitRef="usd">34000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c14" decimals="-3" unitRef="usd">42000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:SharesOutstanding contextRef="c17" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c17" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c18" decimals="-3" unitRef="shares">23861000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c18" decimals="-3" unitRef="usd">-354604000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c19" decimals="-3" unitRef="usd">149144000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c20" decimals="-3" unitRef="usd">597770000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c21" decimals="-3" unitRef="usd">53007000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c22" decimals="-3" unitRef="usd">445616000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c23" decimals="-3" unitRef="usd">7876000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c24" decimals="-3" unitRef="usd">2176000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c4" decimals="-3" unitRef="usd">10052000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c25" decimals="-3" unitRef="shares">17000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c25" decimals="-3" unitRef="usd">1356000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c4" decimals="-3" unitRef="usd">1356000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c24" decimals="-3" unitRef="usd">1229000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c4" decimals="-3" unitRef="usd">1229000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c24" decimals="-3" unitRef="usd">71000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c4" decimals="-3" unitRef="usd">71000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation contextRef="c25" decimals="-3" unitRef="shares">-12000</us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c25" decimals="-3" unitRef="usd">24000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c26" decimals="-3" unitRef="usd">119000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c4" decimals="-3" unitRef="usd">143000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:SharesOutstanding contextRef="c27" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c27" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c28" decimals="-3" unitRef="shares">23866000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c28" decimals="-3" unitRef="usd">-355936000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c29" decimals="-3" unitRef="usd">149263000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c30" decimals="-3" unitRef="usd">605646000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c31" decimals="-3" unitRef="usd">54025000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c2" decimals="-3" unitRef="usd">453297000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c32" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c32" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c33" decimals="-3" unitRef="shares">23561000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c33" decimals="-3" unitRef="usd">-335066000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c34" decimals="-3" unitRef="usd">148789000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c35" decimals="-3" unitRef="usd">586985000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c36" decimals="-3" unitRef="usd">52599000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c37" decimals="-3" unitRef="usd">453606000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c38" decimals="-3" unitRef="usd">-7635000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c39" decimals="-3" unitRef="usd">-795000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c40" decimals="-3" unitRef="usd">-8430000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c41" decimals="-3" unitRef="shares">78000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c41" decimals="-3" unitRef="usd">3923000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c40" decimals="-3" unitRef="usd">3923000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c39" decimals="-3" unitRef="usd">35000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c40" decimals="-3" unitRef="usd">35000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c39" decimals="-3" unitRef="usd">10000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c40" decimals="-3" unitRef="usd">10000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c41" decimals="-3" unitRef="usd">7000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c42" decimals="-3" unitRef="usd">32000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c40" decimals="-3" unitRef="usd">39000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:SharesOutstanding contextRef="c43" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c43" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c44" decimals="-3" unitRef="shares">23639000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c44" decimals="-3" unitRef="usd">-338982000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c45" decimals="-3" unitRef="usd">148821000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c46" decimals="-3" unitRef="usd">579350000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c47" decimals="-3" unitRef="usd">51779000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c48" decimals="-3" unitRef="usd">441267000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c49" decimals="-3" unitRef="usd">-1748000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c50" decimals="-3" unitRef="usd">-285000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c5" decimals="-3" unitRef="usd">-2033000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c51" decimals="-3" unitRef="shares">31000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c51" decimals="-3" unitRef="usd">1667000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c5" decimals="-3" unitRef="usd">1667000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c50" decimals="-3" unitRef="usd">124000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c5" decimals="-3" unitRef="usd">124000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c50" decimals="-3" unitRef="usd">15000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c5" decimals="-3" unitRef="usd">15000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation contextRef="c51" decimals="-3" unitRef="shares">-15000</us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c51" decimals="-3" unitRef="usd">58000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c52" decimals="-3" unitRef="usd">223000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c5" decimals="-3" unitRef="usd">281000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:SharesOutstanding contextRef="c53" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c53" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c54" decimals="-3" unitRef="shares">23655000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c54" decimals="-3" unitRef="usd">-340591000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c55" decimals="-3" unitRef="usd">149044000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c56" decimals="-3" unitRef="usd">577602000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c57" decimals="-3" unitRef="usd">51385000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c58" decimals="-3" unitRef="usd">437739000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c0" decimals="-4" unitRef="usd">18450000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c6" decimals="-3" unitRef="usd">-10463000</us-gaap:ProfitLoss>
    <us-gaap:DepreciationDepletionAndAmortization contextRef="c0" decimals="-3" unitRef="usd">10451000</us-gaap:DepreciationDepletionAndAmortization>
    <us-gaap:DepreciationDepletionAndAmortization contextRef="c6" decimals="-3" unitRef="usd">10491000</us-gaap:DepreciationDepletionAndAmortization>
    <rex:OperatingLeaseRightOfUseAssetAmortization contextRef="c0" decimals="-3" unitRef="usd">2734000</rex:OperatingLeaseRightOfUseAssetAmortization>
    <rex:OperatingLeaseRightOfUseAssetAmortization contextRef="c6" decimals="-3" unitRef="usd">2691000</rex:OperatingLeaseRightOfUseAssetAmortization>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c0" decimals="-3" unitRef="usd">2414000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c6" decimals="-3" unitRef="usd">-984000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:EquityMethodInvestmentDividendsOrDistributions contextRef="c6" decimals="-3" unitRef="usd">2005000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
    <us-gaap:ProceedsFromInterestAndDividendsReceived contextRef="c0" decimals="-3" unitRef="usd">27000</us-gaap:ProceedsFromInterestAndDividendsReceived>
    <us-gaap:ProceedsFromInterestAndDividendsReceived contextRef="c6" decimals="-3" unitRef="usd">179000</us-gaap:ProceedsFromInterestAndDividendsReceived>
    <us-gaap:DeferredIncomeTaxExpenseBenefit contextRef="c0" decimals="-3" unitRef="usd">-4741000</us-gaap:DeferredIncomeTaxExpenseBenefit>
    <us-gaap:DeferredIncomeTaxExpenseBenefit contextRef="c6" decimals="-3" unitRef="usd">-4784000</us-gaap:DeferredIncomeTaxExpenseBenefit>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c0" decimals="-3" unitRef="usd">567000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c6" decimals="-4" unitRef="usd">80000</us-gaap:AllocatedShareBasedCompensationExpense>
    <rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment contextRef="c0" decimals="-3" unitRef="usd">3000</rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment>
    <rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment contextRef="c6" decimals="-3" unitRef="usd">22000</rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment>
    <us-gaap:IncreaseDecreaseInAccountsReceivable contextRef="c0" decimals="-3" unitRef="usd">9808000</us-gaap:IncreaseDecreaseInAccountsReceivable>
    <us-gaap:IncreaseDecreaseInAccountsReceivable contextRef="c6" decimals="-3" unitRef="usd">-3225000</us-gaap:IncreaseDecreaseInAccountsReceivable>
    <us-gaap:IncreaseDecreaseInInventories contextRef="c0" decimals="-3" unitRef="usd">3879000</us-gaap:IncreaseDecreaseInInventories>
    <us-gaap:IncreaseDecreaseInInventories contextRef="c6" decimals="-3" unitRef="usd">-5251000</us-gaap:IncreaseDecreaseInInventories>
    <us-gaap:IncreaseDecreaseInIncomeTaxesReceivable contextRef="c0" decimals="-3" unitRef="usd">872000</us-gaap:IncreaseDecreaseInIncomeTaxesReceivable>
    <us-gaap:IncreaseDecreaseInIncomeTaxesReceivable contextRef="c6" decimals="-3" unitRef="usd">4591000</us-gaap:IncreaseDecreaseInIncomeTaxesReceivable>
    <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets contextRef="c0" decimals="-3" unitRef="usd">-293000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
    <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets contextRef="c6" decimals="-3" unitRef="usd">481000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
    <us-gaap:IncreaseDecreaseInAccountsPayableTrade contextRef="c0" decimals="-3" unitRef="usd">5457000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
    <us-gaap:IncreaseDecreaseInAccountsPayableTrade contextRef="c6" decimals="-3" unitRef="usd">-10301000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
    <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities contextRef="c0" decimals="-3" unitRef="usd">949000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
    <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities contextRef="c6" decimals="-4" unitRef="usd">-2940000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
    <us-gaap:NetCashProvidedByUsedInOperatingActivities contextRef="c0" decimals="-3" unitRef="usd">17157000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
    <us-gaap:NetCashProvidedByUsedInOperatingActivities contextRef="c6" decimals="-3" unitRef="usd">-9034000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
    <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment contextRef="c0" decimals="-3" unitRef="usd">2693000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
    <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment contextRef="c6" decimals="-3" unitRef="usd">5692000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
    <us-gaap:PaymentsToAcquireShortTermInvestments contextRef="c0" decimals="-3" unitRef="usd">49281000</us-gaap:PaymentsToAcquireShortTermInvestments>
    <us-gaap:PaymentsToAcquireShortTermInvestments contextRef="c6" decimals="-4" unitRef="usd">45450000</us-gaap:PaymentsToAcquireShortTermInvestments>
    <us-gaap:ProceedsFromSaleOfShortTermInvestments contextRef="c0" decimals="-4" unitRef="usd">52220000</us-gaap:ProceedsFromSaleOfShortTermInvestments>
    <us-gaap:ProceedsFromSaleOfShortTermInvestments contextRef="c6" decimals="-3" unitRef="usd">39046000</us-gaap:ProceedsFromSaleOfShortTermInvestments>
    <us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment contextRef="c0" decimals="-4" unitRef="usd">30000</us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment>
    <us-gaap:PaymentsForProceedsFromOtherInvestingActivities contextRef="c6" decimals="-3" unitRef="usd">259000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
    <us-gaap:NetCashProvidedByUsedInInvestingActivities contextRef="c0" decimals="-3" unitRef="usd">276000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
    <us-gaap:NetCashProvidedByUsedInInvestingActivities contextRef="c6" decimals="-3" unitRef="usd">-12355000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
    <us-gaap:PaymentsForRepurchaseOfCommonStock contextRef="c0" decimals="-3" unitRef="usd">1356000</us-gaap:PaymentsForRepurchaseOfCommonStock>
    <us-gaap:PaymentsForRepurchaseOfCommonStock contextRef="c6" decimals="-4" unitRef="usd">5590000</us-gaap:PaymentsForRepurchaseOfCommonStock>
    <us-gaap:ProceedsFromPaymentsToMinorityShareholders contextRef="c0" decimals="-3" unitRef="usd">-1304000</us-gaap:ProceedsFromPaymentsToMinorityShareholders>
    <us-gaap:ProceedsFromPaymentsToMinorityShareholders contextRef="c6" decimals="-3" unitRef="usd">-157000</us-gaap:ProceedsFromPaymentsToMinorityShareholders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c0" decimals="-3" unitRef="usd">139000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c6" decimals="-3" unitRef="usd">23000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:NetCashProvidedByUsedInFinancingActivities contextRef="c0" decimals="-3" unitRef="usd">-2521000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
    <us-gaap:NetCashProvidedByUsedInFinancingActivities contextRef="c6" decimals="-3" unitRef="usd">-5724000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect contextRef="c0" decimals="-3" unitRef="usd">14912000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect contextRef="c6" decimals="-3" unitRef="usd">-27113000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c3" decimals="-3" unitRef="usd">146158000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c37" decimals="-3" unitRef="usd">180771000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c2" decimals="-4" unitRef="usd">161070000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c58" decimals="-3" unitRef="usd">153658000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures contextRef="c0" decimals="-3" unitRef="usd">67000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
    <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures contextRef="c6" decimals="-3" unitRef="usd">22000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
    <rex:NonCashFinancingActivitiesEquityAwardsAccrued contextRef="c0" decimals="-3" unitRef="usd">482000</rex:NonCashFinancingActivitiesEquityAwardsAccrued>
    <us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities contextRef="c0" decimals="-5" unitRef="usd">100000</us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities>
    <us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities contextRef="c6" decimals="-4" unitRef="usd">240000</us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities>
    <us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability contextRef="c0" decimals="-3" unitRef="usd">3267000</us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability>
    <us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability contextRef="c6" decimals="-3" unitRef="usd">1863000</us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c2" decimals="-3" unitRef="usd">154312000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c58" decimals="-3" unitRef="usd">152708000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:RestrictedCashCurrent contextRef="c2" decimals="-3" unitRef="usd">6758000</us-gaap:RestrictedCashCurrent>
    <us-gaap:RestrictedCashCurrent contextRef="c58" decimals="-4" unitRef="usd">950000</us-gaap:RestrictedCashCurrent>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c2" decimals="-4" unitRef="usd">161070000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c58" decimals="-3" unitRef="usd">153658000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"&gt;&lt;b&gt;Note 1. &lt;i&gt;Consolidated Condensed Financial Statements&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;References to the Company &#x2013; References
to &#x201c;REX&#x201d; or the &#x201c;Company&#x201d; in the consolidated condensed financial statements and in these notes to the
consolidated condensed financial statements refer to REX American Resources Corporation, a Delaware corporation, and its majority
and wholly owned subsidiaries.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The consolidated condensed financial statements
included in this report have been prepared by the Company, without audit, pursuant to the rules and regulations of the Securities
and Exchange Commission and include, in the opinion of management, all adjustments necessary to state fairly the information set
forth therein. Any such adjustments were of a normal recurring nature. Certain information and footnote disclosures normally included
in financial statements prepared in accordance with accounting principles generally accepted in the United States of America have
been omitted pursuant to such rules and regulations, although the Company believes that the disclosures are adequate to make the
information presented not misleading. Financial information as of January 31, 2021 included in these financial statements has been
derived from the audited consolidated financial statements included in the Company&#x2019;s Annual Report on Form 10-K for the year
ended January 31, 2021 (fiscal year 2020). It is suggested that these unaudited consolidated condensed financial statements be
read in conjunction with the consolidated financial statements and the notes thereto included in the Company&#x2019;s Annual Report on
Form 10-K for the year ended January 31, 2021. The results of operations for the interim periods are not necessarily indicative
of the results to be expected for the year.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Basis of Consolidation &#x2013; The consolidated
condensed financial statements in this report include the operating results and financial position of the Company. All intercompany
balances and transactions have been eliminated. The Company consolidates the results of its four majority owned subsidiaries. The
Company includes the results of operations of One Earth Energy, LLC (&#x201c;One Earth&#x201d;) in its Consolidated Condensed Statements
of Operations on a delayed basis of one month as One Earth has a fiscal year end of December 31.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Nature of Operations &#x2013; The Company
has two reportable segments: i) ethanol and by-products; and ii) refined coal. Within the ethanol and by-products segment, the
Company has equity investments in three ethanol limited liability companies, two of which are majority ownership interests. Within
the refined coal segment, the Company has a majority equity interest in one refined coal limited liability company.&lt;/p&gt;</us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock>
    <rex:NumberOfConsolidatedSubsidiaries contextRef="c0" decimals="INF" unitRef="pure">4</rex:NumberOfConsolidatedSubsidiaries>
    <us-gaap:NumberOfReportableSegments contextRef="c0" decimals="INF" unitRef="pure">2</us-gaap:NumberOfReportableSegments>
    <us-gaap:NumberOfOperatingSegments contextRef="c59" decimals="INF" unitRef="pure">3</us-gaap:NumberOfOperatingSegments>
    <us-gaap:NumberOfOperatingSegments contextRef="c60" decimals="INF" unitRef="pure">2</us-gaap:NumberOfOperatingSegments>
    <us-gaap:NumberOfOperatingSegments contextRef="c61" decimals="INF" unitRef="pure">1</us-gaap:NumberOfOperatingSegments>
    <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 2. &lt;i&gt;Accounting Policies &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&#x2019;s fiscal year 2020 Annual Report on Form 10-K. While management believes that the procedures followed in
the preparation of interim financial information are reasonable, the accuracy of some estimated amounts is dependent upon facts
that will exist or calculations that will be accomplished at fiscal year-end. Examples of such estimates include accrued liabilities,
such as management bonuses, and&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;the provision for income taxes. Any adjustments pursuant to
such estimates during the quarter were of a normal recurring nature. Actual results could differ from those estimates.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;Cash and Cash Equivalents&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&lt;span style="font-weight: normal"&gt;Cash and
cash equivalents includes bank deposits as well as short-term, highly liquid investments with original maturities of three months
or less.&lt;/span&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;Revenue Recognition&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied; this occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied; this occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which the processed
refined coal is sold.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;Cost of Sales &lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs and general facility overhead charges.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;Selling, General and Administrative (&#x201c;SG&amp;amp;A&#x201d;)
Expenses&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company includes non-production related
costs such as professional fees, outbound freight charges, selling charges and certain payroll in SG&amp;amp;A expenses. Outbound freight
charges were approximately $1,561,000 and $839,000 in the second quarter of fiscal years 2021 and 2020, respectively and approximately
$7,156,000 and $2,162,000 in the first six months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;Financial Instruments&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#x201c;normal purchases and normal
sales&#x201d; scope exemption of Accounting Standards Codification (&#x201c;ASC&#x201d;) 815, &#x201c;&lt;i&gt;Derivatives and Hedging&lt;/i&gt;&#x201d;
(&#x201c;ASC 815&#x201d;) because these arrangements are for purchases of grain that will be delivered in quantities expected to
be used by the Company and sales of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by
the Company over a reasonable period of time in the normal course of business.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;results. The Company may take hedging positions in these commodities
as one way to mitigate risk. While the Company attempts to link its hedging activities to purchase and sales activities, there
are situations in which these hedging activities can themselves result in losses. The Company does not hold or issue derivative
financial instruments for trading or speculative purposes. The changes in fair value of these derivative financial instruments
are recognized in current period earnings as the Company does not use hedge accounting.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Income Taxes&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company determined that small changes
in estimated &#x201c;ordinary&#x201d; income could result in significant changes in the estimated annual effective tax rate. Thus,
the Company used a discrete effective tax rate method to calculate the provision or benefit for income taxes for the three and
six months ended July 31, 2021 and 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company provides for deferred tax liabilities
and assets for the future tax consequences attributable to differences between the financial statement carrying amounts of existing
assets and liabilities and their respective tax basis and operating loss and tax credit carryforwards. The Company provides for
a valuation allowance if, based on the weight of available positive and negative evidence, it is more likely than not that some
or all of the deferred tax assets will not be realized. The Company paid income taxes of $1.9 million and received no refunds of
income taxes during the six months ended July 31, 2021. The Company paid income taxes of approximately $0.3 million and received
refunds of income taxes of approximately $0.3 million during the six months ended July 31, 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;As of July 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $8,655,000 and $8,380,000, respectively. Accrued penalties and interest were
approximately $30,000 and approximately $20,000 at July 31, 2021 and January 31, 2021, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $8.6 million. In addition,
the impact of penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized
tax benefits are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain
tax positions and the related potential penalties and interest.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Inventories are carried at the lower of cost
or net realizable value on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such
as depreciation, property taxes and utilities associated with producing ethanol and related by-products and refined coal. Inventory
is written down for instances when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity
prices as the market value of inventory is often dependent upon changes in commodity prices. The Company recorded approximately
$1.3 million and approximately $1.0 million of inventory write-downs in cost of sales at July 31, 2021 and January 31, 2021, respectively.
Fluctuations in the write-down of inventory generally relate to the levels and composition of such inventory and changes in&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;commodity prices at a given point in time. The components of
inventory are as follows as of the dates presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;15,986&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;18,346&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Work in process&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;6,451&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,374&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Grain and other raw materials&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;19,322&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;15,160&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;41,759&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;37,880&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Property and Equipment &lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Property and equipment is recorded at cost
or the fair value on the date of acquisition (for property and equipment acquired in a business combination). Depreciation is computed
using the straight-line method. Estimated useful lives are 5 to 40 years for buildings and improvements, and 2 to 20 years for
fixtures and equipment.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;In accordance with ASC 360-10 &#x201c;&lt;i&gt;Impairment
or Disposal of Long-Lived Assets&lt;/i&gt;&#x201d;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable. The Company did not identify any indicators
of impairment during the first six months of fiscal year 2021, thus there were no impairment charges in the first six months of
fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#x201d; COVID-19&#x201d;) pandemic
on the ethanol industry and the Company&#x2019;s operating results was an indicator that impairment may exist related to certain
of its long-lived assets. As a result, the Company performed a recoverability test and determined that there was no impairment
for fiscal year 2020. There were no impairment charges in the first six months of fiscal year 2020.  &lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"&gt;The Company tests for recoverability
of an asset group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount exceeds
its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset group&#x2019;s
carrying amount exceeds its fair value, if any.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Investments &lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company accounts for investments in a limited liability
company in which it has a less than 20% ownership interest using the equity method of accounting when the factors discussed in
ASC 323, &#x201c;&lt;i&gt;Investments-Equity Method and Joint Ventures&lt;/i&gt;&#x201d; are met. The excess of the carrying value over the underlying
equity in the net assets of equity method investees is allocated to specific assets and liabilities. Investments in businesses
that the Company does not control but for which it has the ability to exercise significant influence over operating and financial
matters are accounted for using the equity method. The Company accounts for its investment in Big River Resources, LLC (&#x201c;Big
River&#x201d;) using the equity method of accounting and includes the results on a delayed basis of one month as Big River has a
fiscal year end of December 31.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Short-term investments are considered held
to maturity, and therefore are carried at amortized historical cost.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Accounting Changes and Recently Issued Accounting Standards
&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;In December 2019, the Financial Accounting
Standards Board (&#x201c;FASB&#x201d;) issued Accounting Standards Update (&#x201c;ASU&#x201d;) 2019-12, &#x201c;&lt;i&gt;Income Taxes (Topic
740): Simplifying the Accounting for Income Taxes&lt;/i&gt;&#x201d;, which simplifies the accounting for income taxes by removing certain
exceptions to the general principles in Topic 740. The Company adopted this update effective February 1, 2021. The adoption of
this update did not impact the consolidated financial statements.&lt;/p&gt;</us-gaap:SignificantAccountingPoliciesTextBlock>
    <us-gaap:CashAndCashEquivalentsPolicyTextBlock contextRef="c0">&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;Cash and Cash Equivalents&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&lt;span style="font-weight: normal"&gt;Cash and
cash equivalents includes bank deposits as well as short-term, highly liquid investments with original maturities of three months
or less.&lt;/span&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:CashAndCashEquivalentsPolicyTextBlock>
    <us-gaap:RevenueRecognitionPolicyTextBlock contextRef="c0">&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;Revenue Recognition&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;For ethanol and by-products segment sales,
the Company recognizes sales of ethanol, distillers grains and non-food grade corn oil when obligations under the terms of the
respective contracts with customers are satisfied; this occurs with the transfer of control of products, generally upon shipment
from the ethanol plant or upon loading of the rail car used to transport the products. For refined coal segment sales, the Company
recognizes sales of refined coal when obligations under the term of the contract with its customer are satisfied; this occurs when
title and control of the product transfers to its customer, generally upon the coal leaving the refined coal plant. Refined coal
sales are recorded net of the cost of coal as the Company purchases the coal feedstock from the customer to which the processed
refined coal is sold.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:RevenueRecognitionPolicyTextBlock>
    <us-gaap:CostOfSalesPolicyTextBlock contextRef="c0">&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;Cost of Sales &lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs and general facility overhead charges.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:CostOfSalesPolicyTextBlock>
    <us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock contextRef="c0">&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;Selling, General and Administrative (&#x201c;SG&amp;amp;A&#x201d;)
Expenses&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company includes non-production related
costs such as professional fees, outbound freight charges, selling charges and certain payroll in SG&amp;amp;A expenses. Outbound freight
charges were approximately $1,561,000 and $839,000 in the second quarter of fiscal years 2021 and 2020, respectively and approximately
$7,156,000 and $2,162,000 in the first six months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;&#160;&lt;/p&gt;</us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock>
    <rex:OutboundFreightCharges contextRef="c4" decimals="0" unitRef="usd">1561000</rex:OutboundFreightCharges>
    <rex:OutboundFreightCharges contextRef="c5" decimals="0" unitRef="usd">839000</rex:OutboundFreightCharges>
    <rex:OutboundFreightCharges contextRef="c0" decimals="0" unitRef="usd">7156000</rex:OutboundFreightCharges>
    <rex:OutboundFreightCharges contextRef="c6" decimals="0" unitRef="usd">2162000</rex:OutboundFreightCharges>
    <us-gaap:FairValueOfFinancialInstrumentsPolicy contextRef="c0">&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;Financial Instruments&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#x201c;normal purchases and normal
sales&#x201d; scope exemption of Accounting Standards Codification (&#x201c;ASC&#x201d;) 815, &#x201c;&lt;i&gt;Derivatives and Hedging&lt;/i&gt;&#x201d;
(&#x201c;ASC 815&#x201d;) because these arrangements are for purchases of grain that will be delivered in quantities expected to
be used by the Company and sales of ethanol, distillers grains and non-food grade corn oil quantities expected to be produced by
the Company over a reasonable period of time in the normal course of business.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;results. The Company may take hedging positions in these commodities
as one way to mitigate risk. While the Company attempts to link its hedging activities to purchase and sales activities, there
are situations in which these hedging activities can themselves result in losses. The Company does not hold or issue derivative
financial instruments for trading or speculative purposes. The changes in fair value of these derivative financial instruments
are recognized in current period earnings as the Company does not use hedge accounting.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;</us-gaap:FairValueOfFinancialInstrumentsPolicy>
    <us-gaap:IncomeTaxPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Income Taxes&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company determined that small changes
in estimated &#x201c;ordinary&#x201d; income could result in significant changes in the estimated annual effective tax rate. Thus,
the Company used a discrete effective tax rate method to calculate the provision or benefit for income taxes for the three and
six months ended July 31, 2021 and 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company provides for deferred tax liabilities
and assets for the future tax consequences attributable to differences between the financial statement carrying amounts of existing
assets and liabilities and their respective tax basis and operating loss and tax credit carryforwards. The Company provides for
a valuation allowance if, based on the weight of available positive and negative evidence, it is more likely than not that some
or all of the deferred tax assets will not be realized. The Company paid income taxes of $1.9 million and received no refunds of
income taxes during the six months ended July 31, 2021. The Company paid income taxes of approximately $0.3 million and received
refunds of income taxes of approximately $0.3 million during the six months ended July 31, 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;As of July 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $8,655,000 and $8,380,000, respectively. Accrued penalties and interest were
approximately $30,000 and approximately $20,000 at July 31, 2021 and January 31, 2021, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $8.6 million. In addition,
the impact of penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized
tax benefits are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain
tax positions and the related potential penalties and interest.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:IncomeTaxPolicyTextBlock>
    <us-gaap:IncomeTaxesPaid contextRef="c0" decimals="-5" unitRef="usd">1900000</us-gaap:IncomeTaxesPaid>
    <us-gaap:ProceedsFromIncomeTaxRefunds contextRef="c0" decimals="0" unitRef="usd">0</us-gaap:ProceedsFromIncomeTaxRefunds>
    <us-gaap:IncomeTaxesPaid contextRef="c6" decimals="-5" unitRef="usd">300000</us-gaap:IncomeTaxesPaid>
    <us-gaap:ProceedsFromIncomeTaxRefunds contextRef="c6" decimals="-5" unitRef="usd">300000</us-gaap:ProceedsFromIncomeTaxRefunds>
    <us-gaap:UnrecognizedTaxBenefits contextRef="c2" decimals="-3" unitRef="usd">8655000</us-gaap:UnrecognizedTaxBenefits>
    <us-gaap:UnrecognizedTaxBenefits contextRef="c3" decimals="-4" unitRef="usd">8380000</us-gaap:UnrecognizedTaxBenefits>
    <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued contextRef="c2" decimals="-4" unitRef="usd">30000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
    <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued contextRef="c3" decimals="-4" unitRef="usd">20000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
    <us-gaap:UnrecognizedTaxBenefits contextRef="c62" decimals="-5" unitRef="usd">-8600000</us-gaap:UnrecognizedTaxBenefits>
    <us-gaap:InventoryPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Inventories are carried at the lower of cost
or net realizable value on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such
as depreciation, property taxes and utilities associated with producing ethanol and related by-products and refined coal. Inventory
is written down for instances when cost exceeds estimated net realizable value; such write-downs are based primarily upon commodity
prices as the market value of inventory is often dependent upon changes in commodity prices. The Company recorded approximately
$1.3 million and approximately $1.0 million of inventory write-downs in cost of sales at July 31, 2021 and January 31, 2021, respectively.
Fluctuations in the write-down of inventory generally relate to the levels and composition of such inventory and changes in&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;commodity prices at a given point in time. The components of
inventory are as follows as of the dates presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;15,986&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;18,346&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Work in process&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;6,451&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,374&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Grain and other raw materials&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;19,322&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;15,160&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;41,759&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;37,880&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;</us-gaap:InventoryPolicyTextBlock>
    <us-gaap:InventoryWriteDown contextRef="c0" decimals="-5" unitRef="usd">1300000</us-gaap:InventoryWriteDown>
    <us-gaap:InventoryWriteDown contextRef="c63" decimals="-6" unitRef="usd">1000000.0</us-gaap:InventoryWriteDown>
    <us-gaap:ScheduleOfInventoryCurrentTableTextBlock contextRef="c0">The components of
inventory are as follows as of the dates presented (amounts in thousands):&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;15,986&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;18,346&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Work in process&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;6,451&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,374&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Grain and other raw materials&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;19,322&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;15,160&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;41,759&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;37,880&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfInventoryCurrentTableTextBlock>
    <us-gaap:InventoryFinishedGoodsNetOfReserves contextRef="c2" decimals="-3" unitRef="usd">15986000</us-gaap:InventoryFinishedGoodsNetOfReserves>
    <us-gaap:InventoryFinishedGoodsNetOfReserves contextRef="c3" decimals="-3" unitRef="usd">18346000</us-gaap:InventoryFinishedGoodsNetOfReserves>
    <us-gaap:InventoryWorkInProcessNetOfReserves contextRef="c2" decimals="-3" unitRef="usd">6451000</us-gaap:InventoryWorkInProcessNetOfReserves>
    <us-gaap:InventoryWorkInProcessNetOfReserves contextRef="c3" decimals="-3" unitRef="usd">4374000</us-gaap:InventoryWorkInProcessNetOfReserves>
    <us-gaap:InventoryRawMaterialsNetOfReserves contextRef="c2" decimals="-3" unitRef="usd">19322000</us-gaap:InventoryRawMaterialsNetOfReserves>
    <us-gaap:InventoryRawMaterialsNetOfReserves contextRef="c3" decimals="-3" unitRef="usd">15160000</us-gaap:InventoryRawMaterialsNetOfReserves>
    <us-gaap:InventoryNet contextRef="c2" decimals="-3" unitRef="usd">41759000</us-gaap:InventoryNet>
    <us-gaap:InventoryNet contextRef="c3" decimals="-3" unitRef="usd">37880000</us-gaap:InventoryNet>
    <us-gaap:PropertyPlantAndEquipmentPolicyTextBlock contextRef="c63">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Property and Equipment &lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Property and equipment is recorded at cost
or the fair value on the date of acquisition (for property and equipment acquired in a business combination). Depreciation is computed
using the straight-line method. Estimated useful lives are 5 to 40 years for buildings and improvements, and 2 to 20 years for
fixtures and equipment.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;In accordance with ASC 360-10 &#x201c;&lt;i&gt;Impairment
or Disposal of Long-Lived Assets&lt;/i&gt;&#x201d;, the carrying value of long-lived assets is assessed for recoverability by management
when changes in circumstances indicate that the carrying amount may not be recoverable. The Company did not identify any indicators
of impairment during the first six months of fiscal year 2021, thus there were no impairment charges in the first six months of
fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#x201d; COVID-19&#x201d;) pandemic
on the ethanol industry and the Company&#x2019;s operating results was an indicator that impairment may exist related to certain
of its long-lived assets. As a result, the Company performed a recoverability test and determined that there was no impairment
for fiscal year 2020. There were no impairment charges in the first six months of fiscal year 2020.  &lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"&gt;The Company tests for recoverability
of an asset group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount exceeds
its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by which the asset group&#x2019;s
carrying amount exceeds its fair value, if any.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:PropertyPlantAndEquipmentPolicyTextBlock>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c64">5</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c65">40 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c66">2</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c67">20 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:InvestmentPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Investments &lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company accounts for investments in a limited liability
company in which it has a less than 20% ownership interest using the equity method of accounting when the factors discussed in
ASC 323, &#x201c;&lt;i&gt;Investments-Equity Method and Joint Ventures&lt;/i&gt;&#x201d; are met. The excess of the carrying value over the underlying
equity in the net assets of equity method investees is allocated to specific assets and liabilities. Investments in businesses
that the Company does not control but for which it has the ability to exercise significant influence over operating and financial
matters are accounted for using the equity method. The Company accounts for its investment in Big River Resources, LLC (&#x201c;Big
River&#x201d;) using the equity method of accounting and includes the results on a delayed basis of one month as Big River has a
fiscal year end of December 31.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Short-term investments are considered held
to maturity, and therefore are carried at amortized historical cost.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:InvestmentPolicyTextBlock>
    <rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting contextRef="c68" decimals="2" unitRef="pure">0.20</rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting>
    <us-gaap:ComprehensiveIncomePolicyPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:ComprehensiveIncomePolicyPolicyTextBlock>
    <us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Accounting Changes and Recently Issued Accounting Standards
&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;In December 2019, the Financial Accounting
Standards Board (&#x201c;FASB&#x201d;) issued Accounting Standards Update (&#x201c;ASU&#x201d;) 2019-12, &#x201c;&lt;i&gt;Income Taxes (Topic
740): Simplifying the Accounting for Income Taxes&lt;/i&gt;&#x201d;, which simplifies the accounting for income taxes by removing certain
exceptions to the general principles in Topic 740. The Company adopted this update effective February 1, 2021. The adoption of
this update did not impact the consolidated financial statements.&lt;/p&gt;</us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock>
    <us-gaap:RevenueFromContractWithCustomerTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 3. &lt;i&gt;Net Sales and Revenue&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company recognizes sales of products
when obligations under the terms of the respective contracts with customers are satisfied. This occurs with the transfer of control
of products, generally upon shipment from the ethanol plant or upon loading of the rail car used to transport the products. Revenue
is measured as the amount of consideration expected to be received in exchange for transferring goods. Sales, value added and other
taxes the Company collects concurrent with revenue producing activities are excluded from net sales and revenue.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The majority of the Company&#x2019;s sales
have payment terms ranging from 5 to 10 days after transfer of control. The Company has determined that sales contracts do not
generally include a significant financing component. The Company has not historically, and does not intend to, enter into sales
contracts in which payment is due from a customer prior to transferring product to the customer. Thus, the Company does not record
unearned revenue.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;See Note 14 for disaggregation of net sales
and revenue by operating segment and by product.&lt;/p&gt;</us-gaap:RevenueFromContractWithCustomerTextBlock>
    <us-gaap:LeasesOfLesseeDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 4. &lt;i&gt;Leases&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;At July 31, 2021, the Company has lease agreements,
as lessee, for railcars. All of the leases are accounted for as operating leases. The lease agreements do not contain a specified
implicit interest rate; therefore, the Company&#x2019;s estimated incremental borrowing rate was used to determine the present value
of future minimum lease payments. The exercise of any lease renewal is at the Company&#x2019;s sole discretion. The lease term for
all of the Company&#x2019;s leases includes the noncancelable period of the lease and any&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;periods covered by renewal options that the Company is reasonably
certain to exercise. Certain leases include rent escalations pre-set in the agreements, which are factored into the lease payment
stream. The components of lease expense, classified as SG&amp;amp;A expenses on the Consolidated Condensed Statement of Operations
are as follows:&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left; padding-left: 0pt"&gt;Operating lease expense&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;1,565&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;1,548&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;3,115&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;3,234&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px; padding-left: 0pt"&gt;Variable lease expense&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;520&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;207&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;564&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;338&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px; padding-left: 0pt"&gt;Total lease expense&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,085&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,755&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,679&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,572&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table is a summary of future
minimum rentals on such leases at July 31, 2021 (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; padding-bottom: 1px; text-align: left"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;Years Ended January 31,&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Minimum&lt;br/&gt;
    Rentals&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 85%; text-align: left"&gt;Remainder of 2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;3,015&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2023&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,836&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;2024&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;3,670&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2025&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,221&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;2026&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;49&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;13,791&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Less:&#160;&#160;present value discount&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;877&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;12,914&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;At July 31, 2021, the weighted average remaining
lease term is 2.7 years, and the weighted average discount rate is 4.88% for the above leases.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table is a summary of future
minimum rentals on such leases at January 31, 2021 (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; padding-bottom: 1px; text-align: left"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;Years Ended January 31,&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Minimum&lt;br/&gt;
    Rentals&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 85%; text-align: left"&gt;2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;5,397&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2023&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;3,690&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;2024&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,524&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2025&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,648&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;2026&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;49&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;13,308&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Less:&#160;&#160;present value discount&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;994&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;12,314&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;At January 31, 2021, the weighted average
remaining lease term was 3.0 years, and the weighted average discount rate was 5.26% for the above leases.&lt;b&gt; &lt;/b&gt;&lt;/p&gt;</us-gaap:LeasesOfLesseeDisclosureTextBlock>
    <us-gaap:LeaseCostTableTextBlock contextRef="c0">The components of lease expense, classified as SG&amp;amp;A expenses on the Consolidated Condensed Statement of Operations
are as follows:&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left; padding-left: 0pt"&gt;Operating lease expense&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;1,565&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;1,548&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;3,115&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;3,234&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px; padding-left: 0pt"&gt;Variable lease expense&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;520&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;207&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;564&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;338&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px; padding-left: 0pt"&gt;Total lease expense&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,085&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,755&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,679&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,572&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:LeaseCostTableTextBlock>
    <us-gaap:OperatingLeaseExpense contextRef="c4" decimals="-3" unitRef="usd">1565000</us-gaap:OperatingLeaseExpense>
    <us-gaap:OperatingLeaseExpense contextRef="c5" decimals="-3" unitRef="usd">1548000</us-gaap:OperatingLeaseExpense>
    <us-gaap:OperatingLeaseExpense contextRef="c0" decimals="-3" unitRef="usd">3115000</us-gaap:OperatingLeaseExpense>
    <us-gaap:OperatingLeaseExpense contextRef="c6" decimals="-3" unitRef="usd">3234000</us-gaap:OperatingLeaseExpense>
    <us-gaap:VariableLeaseCost contextRef="c4" decimals="-3" unitRef="usd">520000</us-gaap:VariableLeaseCost>
    <us-gaap:VariableLeaseCost contextRef="c5" decimals="-3" unitRef="usd">207000</us-gaap:VariableLeaseCost>
    <us-gaap:VariableLeaseCost contextRef="c0" decimals="-3" unitRef="usd">564000</us-gaap:VariableLeaseCost>
    <us-gaap:VariableLeaseCost contextRef="c6" decimals="-3" unitRef="usd">338000</us-gaap:VariableLeaseCost>
    <us-gaap:LeaseCost contextRef="c4" decimals="-3" unitRef="usd">2085000</us-gaap:LeaseCost>
    <us-gaap:LeaseCost contextRef="c5" decimals="-3" unitRef="usd">1755000</us-gaap:LeaseCost>
    <us-gaap:LeaseCost contextRef="c0" decimals="-3" unitRef="usd">3679000</us-gaap:LeaseCost>
    <us-gaap:LeaseCost contextRef="c6" decimals="-3" unitRef="usd">3572000</us-gaap:LeaseCost>
    <us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table is a summary of future
minimum rentals on such leases at July 31, 2021 (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; padding-bottom: 1px; text-align: left"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;Years Ended January 31,&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Minimum&lt;br/&gt;
    Rentals&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 85%; text-align: left"&gt;Remainder of 2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;3,015&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2023&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,836&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;2024&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;3,670&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2025&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,221&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;2026&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;49&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;13,791&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Less:&#160;&#160;present value discount&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;877&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;12,914&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; padding-bottom: 1px; text-align: left"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;Years Ended January 31,&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Minimum&lt;br/&gt;
    Rentals&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 85%; text-align: left"&gt;2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;5,397&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2023&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;3,690&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;2024&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,524&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;2025&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,648&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;2026&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;49&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;13,308&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Less:&#160;&#160;present value discount&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;994&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;12,314&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent contextRef="c2" decimals="-3" unitRef="usd">3015000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears contextRef="c2" decimals="-3" unitRef="usd">4836000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears contextRef="c2" decimals="-3" unitRef="usd">3670000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears contextRef="c2" decimals="-3" unitRef="usd">2221000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears contextRef="c2" decimals="-3" unitRef="usd">49000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDue contextRef="c2" decimals="-3" unitRef="usd">13791000</us-gaap:OperatingLeasesFutureMinimumPaymentsDue>
    <rex:PresentValueDiscount contextRef="c2" decimals="-3" unitRef="usd">877000</rex:PresentValueDiscount>
    <us-gaap:OperatingLeaseLiability contextRef="c2" decimals="-3" unitRef="usd">12914000</us-gaap:OperatingLeaseLiability>
    <us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1 contextRef="c2">P2Y8M12D</us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1>
    <us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent contextRef="c2" decimals="4" unitRef="pure">0.0488</us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent contextRef="c3" decimals="-3" unitRef="usd">5397000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears contextRef="c3" decimals="-3" unitRef="usd">3690000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears contextRef="c3" decimals="-3" unitRef="usd">2524000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears contextRef="c3" decimals="-3" unitRef="usd">1648000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears contextRef="c3" decimals="-3" unitRef="usd">49000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDue contextRef="c3" decimals="-3" unitRef="usd">13308000</us-gaap:OperatingLeasesFutureMinimumPaymentsDue>
    <rex:PresentValueDiscount contextRef="c3" decimals="-3" unitRef="usd">994000</rex:PresentValueDiscount>
    <us-gaap:OperatingLeaseLiability contextRef="c3" decimals="-3" unitRef="usd">12314000</us-gaap:OperatingLeaseLiability>
    <us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1 contextRef="c3">P3Y</us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1>
    <us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent contextRef="c3" decimals="4" unitRef="pure">0.0526</us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent>
    <us-gaap:FairValueDisclosuresTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 5. &lt;i&gt;Fair Value&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company applies ASC 820, &#x201c;&lt;i&gt;Fair
Value Measurements and Disclosures&#x201d;&lt;/i&gt; (&#x201c;ASC 820&#x201d;), which provides a framework for measuring fair value under
accounting principles generally accepted in the United States of America. This accounting standard defines fair value as the exchange
price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous
market for the asset or liability in an orderly transaction between market participants on the measurement date.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company determines the fair market values
of its financial instruments based on the fair value hierarchy established by ASC 820 which requires an entity to maximize the
use of observable inputs and minimize the use of unobservable inputs when measuring fair value. The standard describes three levels
of inputs that may be used to measure fair values which are provided below. The Company carries certain cash equivalents, investments
and derivative instruments at fair value.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The fair values of derivative assets and
liabilities traded in the over-the-counter market are determined using quantitative models that require the use of multiple market
inputs including interest rates, prices and indices to generate pricing and volatility factors, which are used to value the position.
The predominance of market inputs are actively quoted and can be validated through external sources, including brokers, market
transactions and third-party pricing services. Estimation risk is greater for derivative asset and liability positions that are
either option-based or have longer maturity dates where observable market inputs are less readily available or are unobservable,
in which case interest rate, price or index scenarios are extrapolated in order to determine the fair value. The fair values of
derivative assets and liabilities include adjustments for market liquidity, counterparty credit quality, the Company&#x2019;s own
credit standing and other specific factors, where appropriate.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2021 are summarized below (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 1&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 2&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 3&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Fair&#160;Value&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-0"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-1"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Commodity futures asset (2)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-2"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;784&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-3"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;784&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-4"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;673&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-5"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;673&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;-&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,457&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;354&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,811&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-6"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-7"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2021 are summarized below (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 1&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 2&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 3&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Fair&#160;Value&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-8"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-9"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Forward purchase contracts asset (2)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-10"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-11"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;-&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;354&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,498&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-12"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-13"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;(1) The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;(2) The forward purchase contracts and commodity
futures assets are included in &#x201c;Prepaid expenses and other current assets&#x201d; on the accompanying Consolidated Condensed
Balance Sheets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;(3) The commodity futures liability is included
in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company determined the fair value of
the investment in cooperative by using a discounted cash flow analysis on the expected cash flows. Inputs used in the analysis
include the face value of the allocated equity amount, the projected term for repayment based upon a historical trend and a risk
adjusted discount rate based on the expected compensation participants would demand because of the uncertainty of the future cash
flows. The inherent risk and uncertainty associated with unobservable inputs could have a significant effect on the actual fair
value of the investment.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;There were no assets measured at fair value
on a non-recurring basis at July 31, 2021 or January 31, 2021.&lt;/p&gt;</us-gaap:FairValueDisclosuresTextBlock>
    <us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock contextRef="c0">Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2021 are summarized below (amounts in thousands):&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 1&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 2&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 3&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Fair&#160;Value&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-0"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-1"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Commodity futures asset (2)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-2"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;784&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-3"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;784&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-4"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;673&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-5"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;673&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;-&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,457&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;354&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,811&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-6"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-7"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 1&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 2&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Level 3&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Fair&#160;Value&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-8"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-9"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;354&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Forward purchase contracts asset (2)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-10"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-11"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;-&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;354&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,498&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-12"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-13"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;(1) The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;(2) The forward purchase contracts and commodity
futures assets are included in &#x201c;Prepaid expenses and other current assets&#x201d; on the accompanying Consolidated Condensed
Balance Sheets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;(3) The commodity futures liability is included
in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock>
    <rex:InvestmentInCooperativeFairValueDisclosure contextRef="c71" decimals="-3" id="ix_4_fact" unitRef="usd">354000</rex:InvestmentInCooperativeFairValueDisclosure>
    <rex:InvestmentInCooperativeFairValueDisclosure contextRef="c2" decimals="-3" id="ix_5_fact" unitRef="usd">354000</rex:InvestmentInCooperativeFairValueDisclosure>
    <us-gaap:CommodityContractAssetCurrent contextRef="c70" decimals="-3" id="ix_8_fact" unitRef="usd">784000</us-gaap:CommodityContractAssetCurrent>
    <us-gaap:CommodityContractAssetCurrent contextRef="c2" decimals="-3" id="ix_9_fact" unitRef="usd">784000</us-gaap:CommodityContractAssetCurrent>
    <rex:ForwardPurchaseContractAsset
      contextRef="c70"
      decimals="-3"
      id="ix_10_fact"
      unitRef="usd">673000</rex:ForwardPurchaseContractAsset>
    <rex:ForwardPurchaseContractAsset contextRef="c2" decimals="-3" id="ix_11_fact" unitRef="usd">673000</rex:ForwardPurchaseContractAsset>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c70" decimals="-3" unitRef="usd">1457000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c71" decimals="-3" unitRef="usd">354000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c2" decimals="-3" unitRef="usd">1811000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue contextRef="c70" decimals="-3" id="ix_0_fact" unitRef="usd">4590000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue contextRef="c2" decimals="-3" id="ix_1_fact" unitRef="usd">4590000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <rex:InvestmentInCooperativeFairValueDisclosure contextRef="c74" decimals="-3" id="ix_6_fact" unitRef="usd">354000</rex:InvestmentInCooperativeFairValueDisclosure>
    <rex:InvestmentInCooperativeFairValueDisclosure contextRef="c3" decimals="-3" id="ix_7_fact" unitRef="usd">354000</rex:InvestmentInCooperativeFairValueDisclosure>
    <rex:ForwardPurchaseContractAsset
      contextRef="c73"
      decimals="-3"
      id="ix_12_fact"
      unitRef="usd">2144000</rex:ForwardPurchaseContractAsset>
    <rex:ForwardPurchaseContractAsset contextRef="c3" decimals="-3" id="ix_13_fact" unitRef="usd">2144000</rex:ForwardPurchaseContractAsset>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c73" decimals="-3" unitRef="usd">2144000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c74" decimals="-3" unitRef="usd">354000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c3" decimals="-3" unitRef="usd">2498000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue contextRef="c73" decimals="-3" id="ix_2_fact" unitRef="usd">1794000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue contextRef="c3" decimals="-3" id="ix_3_fact" unitRef="usd">1794000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 6. &lt;i&gt;Property and Equipment&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The components of property and equipment
are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Land and improvements&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;27,437&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;27,437&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Buildings and improvements&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;23,701&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;23,701&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;306,514&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;305,640&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Construction in progress&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;1,173&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;215&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;358,825&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;356,993&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Less:&#160;&#160;accumulated depreciation&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(213,747)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(203,807)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;145,078&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;153,186&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock>
    <us-gaap:PropertyPlantAndEquipmentTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The components of property and equipment
are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Land and improvements&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;27,437&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;27,437&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Buildings and improvements&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;23,701&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;23,701&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;306,514&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;305,640&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Construction in progress&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;1,173&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;215&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;358,825&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;356,993&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Less:&#160;&#160;accumulated depreciation&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(213,747)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(203,807)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;145,078&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;153,186&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:PropertyPlantAndEquipmentTextBlock>
    <us-gaap:LandAndLandImprovements contextRef="c2" decimals="-3" unitRef="usd">27437000</us-gaap:LandAndLandImprovements>
    <us-gaap:LandAndLandImprovements contextRef="c3" decimals="-3" unitRef="usd">27437000</us-gaap:LandAndLandImprovements>
    <us-gaap:BuildingsAndImprovementsGross contextRef="c2" decimals="-3" unitRef="usd">23701000</us-gaap:BuildingsAndImprovementsGross>
    <us-gaap:BuildingsAndImprovementsGross contextRef="c3" decimals="-3" unitRef="usd">23701000</us-gaap:BuildingsAndImprovementsGross>
    <us-gaap:MachineryAndEquipmentGross contextRef="c2" decimals="-3" unitRef="usd">306514000</us-gaap:MachineryAndEquipmentGross>
    <us-gaap:MachineryAndEquipmentGross contextRef="c3" decimals="-3" unitRef="usd">305640000</us-gaap:MachineryAndEquipmentGross>
    <us-gaap:ConstructionInProgressGross contextRef="c2" decimals="-3" unitRef="usd">1173000</us-gaap:ConstructionInProgressGross>
    <us-gaap:ConstructionInProgressGross contextRef="c3" decimals="-3" unitRef="usd">215000</us-gaap:ConstructionInProgressGross>
    <us-gaap:PropertyPlantAndEquipmentGross contextRef="c2" decimals="-3" unitRef="usd">358825000</us-gaap:PropertyPlantAndEquipmentGross>
    <us-gaap:PropertyPlantAndEquipmentGross contextRef="c3" decimals="-3" unitRef="usd">356993000</us-gaap:PropertyPlantAndEquipmentGross>
    <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment contextRef="c2" decimals="-3" unitRef="usd">213747000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
    <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment contextRef="c3" decimals="-3" unitRef="usd">203807000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c2" decimals="-3" unitRef="usd">145078000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c3" decimals="-3" unitRef="usd">153186000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 7. &lt;i&gt;Accrued Expenses and Other Current Liabilities
&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Accrued payroll and related items&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;1,882&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;690&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Accrued utility charges&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,708&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,515&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Accrued transportation related items&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;204&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,560&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,220&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,778&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Commodity futures&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Accrued income taxes&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;51&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;55&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-bottom: 1px"&gt;Other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;619&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;563&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;11,274&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;8,955&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock>
    <us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 70%; text-align: left"&gt;Accrued payroll and related items&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;1,882&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;690&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Accrued utility charges&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,708&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,515&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Accrued transportation related items&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;204&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,560&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,220&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,778&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Commodity futures&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Accrued income taxes&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;51&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;55&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-bottom: 1px"&gt;Other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;619&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;563&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;11,274&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;8,955&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock>
    <us-gaap:EmployeeRelatedLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">1882000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
    <us-gaap:EmployeeRelatedLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">690000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
    <us-gaap:AccruedUtilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">2708000</us-gaap:AccruedUtilitiesCurrent>
    <us-gaap:AccruedUtilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">2515000</us-gaap:AccruedUtilitiesCurrent>
    <us-gaap:AccruedLiabilitiesAndOtherLiabilities contextRef="c2" decimals="-3" unitRef="usd">204000</us-gaap:AccruedLiabilitiesAndOtherLiabilities>
    <us-gaap:AccruedLiabilitiesAndOtherLiabilities contextRef="c3" decimals="-3" unitRef="usd">1560000</us-gaap:AccruedLiabilitiesAndOtherLiabilities>
    <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent contextRef="c2" decimals="-3" unitRef="usd">1220000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
    <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent contextRef="c3" decimals="-3" unitRef="usd">1778000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
    <rex:CommodityFutures contextRef="c2" decimals="-3" unitRef="usd">4590000</rex:CommodityFutures>
    <rex:CommodityFutures contextRef="c3" decimals="-3" unitRef="usd">1794000</rex:CommodityFutures>
    <us-gaap:AccruedIncomeTaxes contextRef="c2" decimals="-3" unitRef="usd">51000</us-gaap:AccruedIncomeTaxes>
    <us-gaap:AccruedIncomeTaxes contextRef="c3" decimals="-3" unitRef="usd">55000</us-gaap:AccruedIncomeTaxes>
    <us-gaap:OtherAccruedLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">619000</us-gaap:OtherAccruedLiabilitiesCurrent>
    <us-gaap:OtherAccruedLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">563000</us-gaap:OtherAccruedLiabilitiesCurrent>
    <us-gaap:AccruedLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">11274000</us-gaap:AccruedLiabilitiesCurrent>
    <us-gaap:AccruedLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">8955000</us-gaap:AccruedLiabilitiesCurrent>
    <us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 8. &lt;i&gt;Derivative Financial Instruments &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company is exposed to various market
risks, including changes in commodity prices (raw materials and finished goods). To manage risks associated with the volatility
of these natural business exposures, the Company enters into commodity agreements and forward purchase (corn and natural gas) and
sale (ethanol, distillers grains and non-food grade corn oil) contracts. The Company does not purchase or sell derivative financial
instruments for trading or speculative purposes. The Company does not purchase or sell derivative financial instruments for which
a lack of marketplace quotations would require the use of fair value estimation techniques. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table provides information
about the fair values of the Company&#x2019;s derivative financial instruments (that are not accounted for under the &#x201c;normal
purchases and normal sales&#x201d; scope exemption of ASC 815) and the line items on the Consolidated Condensed Balance Sheets in
which the fair values are reflected (in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Asset Derivatives&lt;br/&gt; Fair Value&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Liability Derivatives&lt;br/&gt; Fair Value&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July&#160;31,&lt;br/&gt;
2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: justify"&gt;Commodity futures (1)&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;784&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-14"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: justify; padding-bottom: 1px"&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;673&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-15"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-16"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: justify; padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,457&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;(1) Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 8.6
million bushels of corn at July 31, 2021. These contracts are short/sell positions for approximately 6.9 million bushels of corn
at January 31, 2021. Commodity futures assets are included in prepaid expenses and other assets. These contracts are&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;long/buy positions for approximately
5.8 million bushels of corn at July 31, 2021. There were no long/buy positions at January 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets. These contracts are for purchases of approximately 10.6 million
bushels of corn at July 31, 2021 and 6.4 million bushels of corn at January 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;As of July 31, 2021, and January 31, 2021,
all of the derivative financial instruments held by the Company were subject to enforceable master netting arrangements with the
counterparty. The Company&#x2019;s accounting policy is to offset positions and amounts owed or owing with the same counterparty.
As of July 31, 2021, and January 31, 2021, the gross positions of the enforceable master netting agreements are not significantly
different from the net positions presented in the table above. Depending on the amount of an unrealized loss on a derivative contract
held by the Company, the counterparty may require collateral to secure the Company&#x2019;s derivative contract position. The Company
was required to maintain collateral in the amount of approximately $6,758,000 and approximately $1,657,000 to secure the Company&#x2019;s
derivative position at July 31, 2021 and January 31, 2021, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;See Note 5 which contains fair value information
related to derivative financial instruments.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company recognized losses (included in
net sales and revenue) on derivative financial instruments of approximately $1,638,000 and $298,000 for the second quarter of fiscal
years 2021 and 2020, respectively. The Company recognized losses (included in net sales and revenue) on derivative financial instruments
of approximately $2,764,000 and $298,000 for the first six months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company recognized losses (included in
cost of sales) on derivative financial instruments of approximately $6,142,000 and approximately $4,613,000 for the second quarter
of fiscal years 2021 and 2020, respectively. The Company recognized losses (included in cost of sales) on derivative financial
instruments of approximately $8,036,000 and approximately $1,758,000 for the first six months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;</us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock>
    <us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table provides information
about the fair values of the Company&#x2019;s derivative financial instruments (that are not accounted for under the &#x201c;normal
purchases and normal sales&#x201d; scope exemption of ASC 815) and the line items on the Consolidated Condensed Balance Sheets in
which the fair values are reflected (in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Asset Derivatives&lt;br/&gt; Fair Value&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Liability Derivatives&lt;br/&gt; Fair Value&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July&#160;31,&lt;br/&gt;
2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: justify"&gt;Commodity futures (1)&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;784&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-14"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: justify; padding-bottom: 1px"&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;673&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-15"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-16"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: justify; padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,457&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,590&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;1,794&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock>
    <us-gaap:DerivativeAssets
      contextRef="c81"
      decimals="-3"
      id="ix_14_fact"
      unitRef="usd">784000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeLiabilities
      contextRef="c81"
      decimals="-3"
      id="ix_15_fact"
      unitRef="usd">4590000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeLiabilities
      contextRef="c82"
      decimals="-3"
      id="ix_16_fact"
      unitRef="usd">1794000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeAssets
      contextRef="c83"
      decimals="-3"
      id="ix_17_fact"
      unitRef="usd">673000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeAssets
      contextRef="c84"
      decimals="-3"
      id="ix_18_fact"
      unitRef="usd">2144000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeAssets contextRef="c2" decimals="-3" unitRef="usd">1457000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeAssets contextRef="c3" decimals="-3" unitRef="usd">2144000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeLiabilities contextRef="c2" decimals="-3" unitRef="usd">4590000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeLiabilities contextRef="c3" decimals="-3" unitRef="usd">1794000</us-gaap:DerivativeLiabilities>
    <rex:CommodityFuturesQuantity contextRef="c75" decimals="-5" unitRef="bu">8600000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c76" decimals="-5" unitRef="bu">6900000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c77" decimals="-5" unitRef="bu">5800000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c78" decimals="0" unitRef="l">0</rex:CommodityFuturesQuantity>
    <rex:ForwardPurchaseContractsQuantity contextRef="c79" decimals="-5" unitRef="bu">10600000</rex:ForwardPurchaseContractsQuantity>
    <rex:ForwardPurchaseContractsQuantity contextRef="c80" decimals="-5" unitRef="bu">6400000</rex:ForwardPurchaseContractsQuantity>
    <us-gaap:DebtInstrumentCollateralAmount contextRef="c2" decimals="-3" unitRef="usd">6758000</us-gaap:DebtInstrumentCollateralAmount>
    <us-gaap:DebtInstrumentCollateralAmount contextRef="c3" decimals="-3" unitRef="usd">1657000</us-gaap:DebtInstrumentCollateralAmount>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c4" decimals="-3" unitRef="usd">1638000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c5" decimals="-3" unitRef="usd">298000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c0" decimals="0" unitRef="usd">2764000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c6" decimals="0" unitRef="usd">298000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c4" decimals="-3" unitRef="usd">6142000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c5" decimals="-3" unitRef="usd">4613000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c0" decimals="-3" unitRef="usd">8036000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c6" decimals="-3" unitRef="usd">1758000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:InvestmentTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 9. &lt;i&gt;Investments &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table summarizes the Company&#x2019;s
equity method investment at July 31, 2021 and January 31, 2021 (dollars in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Carrying Amount&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;Entity&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; font-weight: bold; text-align: center"&gt;Ownership&#160;Percentage&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;January&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="width: 47%; text-align: left; padding-left: 0pt"&gt;Big River&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;10.3%&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 12%; text-align: right"&gt;31,870&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 12%; text-align: right"&gt;29,456&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Undistributed earnings of the Company&#x2019;s
equity method investee totaled approximately $11.8 million and approximately $9.4 million at July 31, 2021 and January 31, 2021,
respectively. The Company did not receive any dividends from its equity method investee in the first six months of fiscal year
2021 and received dividends of approximately $2.0 million in the first six months of fiscal year 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Summarized financial information for the
Company&#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-size: 8pt; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three&#160;Months&#160;Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six&#160;Months&#160;Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Net sales and revenue&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;363,383&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;130,126&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;619,799&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;327,758&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Gross profit (loss)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;19,357&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;3,565&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;20,901&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,378)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Income (loss) from continuing operations&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;17,877&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,914)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;23,412&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(9,540)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Net income (loss)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;17,877&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,914)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;23,412&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(9,540)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;At July 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $33,282,000. The contractual maturity of these investments
was less than one year. The yield to maturity rate was approximately 0.1%. Unrealized gains or losses were insignificant.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;At January 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $36,194,000. The contractual maturity of these investments
was less than one year. The yield to maturity rate was approximately 0.2%. Unrealized gains or losses were insignificant.&lt;/p&gt;</us-gaap:InvestmentTextBlock>
    <us-gaap:EquityMethodInvestmentsTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The following table summarizes the Company&#x2019;s
equity method investment at July 31, 2021 and January 31, 2021 (dollars in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Carrying Amount&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;Entity&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; font-weight: bold; text-align: center"&gt;Ownership&#160;Percentage&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;July&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;January&#160;31,&#160;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="width: 47%; text-align: left; padding-left: 0pt"&gt;Big River&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 15%; text-align: center"&gt;10.3%&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 12%; text-align: right"&gt;31,870&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 12%; text-align: right"&gt;29,456&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:EquityMethodInvestmentsTextBlock>
    <us-gaap:EquityMethodInvestmentOwnershipPercentage contextRef="c2" decimals="3" unitRef="pure">0.103</us-gaap:EquityMethodInvestmentOwnershipPercentage>
    <us-gaap:EquityMethodInvestments contextRef="c2" decimals="-3" unitRef="usd">31870000</us-gaap:EquityMethodInvestments>
    <us-gaap:EquityMethodInvestments contextRef="c3" decimals="-3" unitRef="usd">29456000</us-gaap:EquityMethodInvestments>
    <us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees contextRef="c2" decimals="-5" unitRef="usd">11800000</us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees>
    <us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees contextRef="c3" decimals="-5" unitRef="usd">9400000</us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees>
    <us-gaap:EquityMethodInvestmentDividendsOrDistributions contextRef="c6" decimals="-6" unitRef="usd">2000000.0</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
    <rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;Summarized financial information for the
Company&#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-size: 8pt; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three&#160;Months&#160;Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six&#160;Months&#160;Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Net sales and revenue&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;363,383&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;130,126&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;619,799&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;327,758&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Gross profit (loss)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;19,357&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;3,565&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;20,901&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,378)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Income (loss) from continuing operations&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;17,877&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,914)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;23,412&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(9,540)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Net income (loss)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;17,877&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,914)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;23,412&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(9,540)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock>
    <us-gaap:Revenues contextRef="c85" decimals="-3" unitRef="usd">363383000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c86" decimals="-3" unitRef="usd">130126000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c87" decimals="-3" unitRef="usd">619799000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c88" decimals="-3" unitRef="usd">327758000</us-gaap:Revenues>
    <us-gaap:GrossProfit contextRef="c85" decimals="-3" unitRef="usd">19357000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c86" decimals="-3" unitRef="usd">3565000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c87" decimals="-3" unitRef="usd">20901000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c88" decimals="-3" unitRef="usd">-2378000</us-gaap:GrossProfit>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c85" decimals="-3" unitRef="usd">17877000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c86" decimals="-3" unitRef="usd">-4914000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c87" decimals="-3" unitRef="usd">23412000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c88" decimals="-3" unitRef="usd">-9540000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:NetIncomeLoss contextRef="c85" decimals="-3" unitRef="usd">17877000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c86" decimals="-3" unitRef="usd">-4914000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c87" decimals="-3" unitRef="usd">23412000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c88" decimals="-3" unitRef="usd">-9540000</us-gaap:NetIncomeLoss>
    <us-gaap:ShortTermInvestments contextRef="c2" decimals="-3" unitRef="usd">33282000</us-gaap:ShortTermInvestments>
    <us-gaap:DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield contextRef="c2" decimals="3" unitRef="pure">0.001</us-gaap:DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield>
    <us-gaap:ShortTermInvestments contextRef="c3" decimals="-3" unitRef="usd">36194000</us-gaap:ShortTermInvestments>
    <us-gaap:DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield contextRef="c3" decimals="3" unitRef="pure">0.002</us-gaap:DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield>
    <us-gaap:CompensationAndEmployeeBenefitPlansTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 10. &lt;i&gt;Employee Benefits&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"&gt;The Company maintains
the REX 2015 Incentive Plan, approved by its shareholders, which reserves a total of 550,000 shares of common stock for issuance
pursuant to its terms. The plan provides for the granting of shares of stock, including options to purchase shares of common stock,
stock appreciation rights tied to the value of common stock, restricted stock, and restricted stock unit awards to eligible employees,
non-employee directors and consultants. Since plan inception, the Company has only granted restricted stock awards. The Company
measures share-based compensation grants at fair value on the grant date, adjusted for estimated forfeitures. The Company records
noncash compensation expense related to liability and equity awards in its consolidated financial statements over the requisite
service period on a straight-line basis. At July 31, 2021, 471,027 shares remain available for issuance under the Plan. As a component
of their compensation, restricted stock has been granted to directors at the closing market price of REX common stock on the grant
date. In addition, one third of executives&#x2019; incentive compensation is payable by an award of restricted stock based on the
then closing market price of REX common stock on the grant date. The Company&#x2019;s board of directors has determined that the
grant date will be June 15&lt;sup&gt;th&lt;/sup&gt;, or the next business day if June 15&lt;sup&gt;th&lt;/sup&gt; is not a business day, for all grants
of restricted stock.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"&gt;At July 31, 2021 and
January 31, 2021, unrecognized compensation cost related to nonvested restricted stock was approximately $155,000 and $272,000,
respectively. The following tables summarize non-vested restricted stock award activity for the periods presented:&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font-family: Times New Roman, Times, Serif; margin-left: 36pt"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="10" style="font-weight: bold; text-align: center"&gt;Six Months Ended July 31, 2021&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"&gt;Non-Vested&lt;br/&gt; Shares&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Weighted&lt;br/&gt; Average Grant&lt;br/&gt; Date&#160;Fair&#160;Value&lt;br/&gt; (000&#x2019;s)&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Weighted&lt;br/&gt; Average&#160;Remaining&lt;br/&gt; Vesting Term&lt;br/&gt; (in years)&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 55%; text-align: left"&gt;Non-Vested at January 31, 2021&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;19,705&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;1,398&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;1&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Granted&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,803&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;275&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Forfeited&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;-&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;-&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;12,447&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;900&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Non-Vested at July 31, 2021&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;10,061&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;773&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: right"&gt;2&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;

&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center"&gt;Six Months Ended July 31, 2020&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Non-Vested&lt;br/&gt;
    Shares&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt;
    Average Grant&lt;br/&gt; Date&#160;Fair&#160;Value&lt;br/&gt; (000&#x2019;s)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt;
    Average&#160;Remaining&lt;br/&gt; Vesting
    Term&lt;br/&gt; (in years)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 55%; font: 12pt Times New Roman, Times, Serif"&gt;Non-Vested at January 31, 2020&lt;/td&gt;&lt;td style="width: 3%; font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;28,576&lt;/td&gt;&lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%; font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;2,193&lt;/td&gt;&lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%; font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;2&lt;/td&gt;&lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;Granted&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;6,158&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;416&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;Forfeited&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;-&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;-&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;15,029&lt;/td&gt;&lt;td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;1,211&lt;/td&gt;&lt;td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;Non-Vested at July 31, 2020&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;19,705&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;1,398&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;2&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"&gt;The above tables include
5,714 and 14,777 non-vested shares at July 31, 2021 and 2020, respectively, which are included in the number of weighted average
shares outstanding used to determine basic and diluted earnings per share attributable to REX common shareholders. Such shares
are treated, for accounting purposes, as being fully vested at the grant date as they were granted to recipients who were retirement
eligible at the time of grant.&lt;/p&gt;</us-gaap:CompensationAndEmployeeBenefitPlansTextBlock>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized contextRef="c89" decimals="INF" unitRef="shares">550000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant contextRef="c89" decimals="INF" unitRef="shares">471027</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized contextRef="c90" decimals="-3" unitRef="usd">155000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized contextRef="c91" decimals="-3" unitRef="usd">272000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
    <us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock contextRef="c0">The following tables summarize non-vested restricted stock award activity for the periods presented:&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font-family: Times New Roman, Times, Serif; margin-left: 36pt"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="10" style="font-weight: bold; text-align: center"&gt;Six Months Ended July 31, 2021&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"&gt;Non-Vested&lt;br/&gt; Shares&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Weighted&lt;br/&gt; Average Grant&lt;br/&gt; Date&#160;Fair&#160;Value&lt;br/&gt; (000&#x2019;s)&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;Weighted&lt;br/&gt; Average&#160;Remaining&lt;br/&gt; Vesting Term&lt;br/&gt; (in years)&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 55%; text-align: left"&gt;Non-Vested at January 31, 2021&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;19,705&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;1,398&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; text-align: right"&gt;1&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Granted&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,803&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;275&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Forfeited&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;-&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;-&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;12,447&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;900&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Non-Vested at July 31, 2021&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;10,061&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;773&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: right"&gt;2&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;

&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center"&gt;Six Months Ended July 31, 2020&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Non-Vested&lt;br/&gt;
    Shares&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt;
    Average Grant&lt;br/&gt; Date&#160;Fair&#160;Value&lt;br/&gt; (000&#x2019;s)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt;
    Average&#160;Remaining&lt;br/&gt; Vesting
    Term&lt;br/&gt; (in years)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 55%; font: 12pt Times New Roman, Times, Serif"&gt;Non-Vested at January 31, 2020&lt;/td&gt;&lt;td style="width: 3%; font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;28,576&lt;/td&gt;&lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%; font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;2,193&lt;/td&gt;&lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%; font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;2&lt;/td&gt;&lt;td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;Granted&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;6,158&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;416&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;Forfeited&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;-&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif"&gt;&#160;&lt;/td&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;-&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;15,029&lt;/td&gt;&lt;td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;1,211&lt;/td&gt;&lt;td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;Non-Vested at July 31, 2020&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;19,705&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;1,398&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: right"&gt;2&lt;/td&gt;&lt;td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c3" decimals="-3" unitRef="shares">19705000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue contextRef="c3" decimals="-3" unitRef="usd">1398000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c0">P1Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross contextRef="c0" decimals="-3" unitRef="shares">2803000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue contextRef="c0" decimals="-3" unitRef="usdPershares">275000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod contextRef="c0" decimals="-3" unitRef="shares">12447000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod>
    <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested contextRef="c0" decimals="-3" unitRef="usd">900000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c2" decimals="-3" unitRef="shares">10061000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue contextRef="c2" decimals="-3" unitRef="usd">773000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
    <rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition contextRef="c0">P2Y</rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c37" decimals="-3" unitRef="shares">28576000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue contextRef="c37" decimals="-3" unitRef="usd">2193000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c6">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross contextRef="c6" decimals="-3" unitRef="shares">6158000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue contextRef="c6" decimals="-3" unitRef="usdPershares">416000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod contextRef="c6" decimals="-3" unitRef="shares">15029000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod>
    <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested contextRef="c6" decimals="-3" unitRef="usd">1211000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c58" decimals="-3" unitRef="shares">19705000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue contextRef="c58" decimals="-3" unitRef="usd">1398000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
    <rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition contextRef="c6">P2Y</rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c92" decimals="INF" unitRef="shares">5714</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c93" decimals="INF" unitRef="shares">14777</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <us-gaap:IncomeTaxDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 11&lt;i&gt;. Income Taxes &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company determined that small changes
in estimated &#x201c;ordinary&#x201d; income would result in significant changes in the estimated annual effective tax rate. Thus,
the Company used a discrete effective tax rate method to calculate the provision or benefit for income taxes for the three and
six months ended July 31, 2021 and 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company&#x2019;s income tax benefit was
approximately $3.7 million and approximately $4.0 million for the three months ended July 31, 2021 and 2020, respectively. The
Company&#x2019;s income tax benefit was approximately $3.6 million and approximately $9.4 million for the six months ended July
31, 2021 and 2020, respectively. We had a higher benefit in the prior year periods based upon pre-tax losses for those periods
versus pre-tax income in the current periods. The benefit is also largely impacted by the level of tax credits generated from the
refined coal operation. Through its refined coal operation, the Company earns production tax credits pursuant to IRC Section 45.
The credits can be used to reduce future income tax liabilities for up to 20 years. In addition, the Company&#x2019;s income tax
benefit for the first six months of fiscal year 2020 includes approximately $1.8 million related to the lengthening of a net operating
loss carryback allowed by the CARES Act.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company assessed all available positive
and negative evidence to determine whether it expects sufficient future taxable income will be generated to allow for the realization
of existing federal deferred tax assets. For the three year period ended July 31, 2021, the Company has a cumulative pre-tax book
loss on a comprehensive basis, including the impact of an operation that has historically produced pre-tax book losses, but after
tax net income. The Company expects that this entity will cease operations by November 18, 2021. There is sufficient objectively
verifiable income for management to conclude that it is more likely than not that the Company will utilize available federal deferred
tax assets prior to their expiration.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company files a U.S. federal income tax
return and various state income tax returns. In general, the Company is no longer subject to U.S. federal, state or local income
tax examinations by tax authorities for years ended January 31, 2014 and prior. The Company is currently undergoing a federal income
tax examination for the years ended January 31, 2015 through January 31, 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;On a quarterly and annual basis, the Company
accrues for the effects of open uncertain tax positions and the related potential penalties and interest. It is reasonably possible
that the amount of the unrecognized tax benefit with respect to certain unrecognized tax positions will increase or decrease during
the next 12 months; however, the Company does not expect the change to have a material effect on results of operations or financial
position. A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is
as follows (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-size: 8pt"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six&#160;Months&#160;Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 74%; text-align: left"&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;8,400&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;7,370&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Changes for prior years&#x2019; tax positions&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;10&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(53)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Changes for current year tax positions&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;275&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;-&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;8,685&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;7,317&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:IncomeTaxDisclosureTextBlock>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c4" decimals="-5" unitRef="usd">-3700000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c5" decimals="-5" unitRef="usd">-4000000.0</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c0" decimals="-5" unitRef="usd">-3600000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c6" decimals="-5" unitRef="usd">-9400000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability contextRef="c94" decimals="-5" unitRef="usd">-1800000</us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability>
    <us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock contextRef="c0">A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is
as follows (amounts in thousands):&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-size: 8pt"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six&#160;Months&#160;Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 74%; text-align: left"&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;8,400&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;7,370&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Changes for prior years&#x2019; tax positions&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;10&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(53)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Changes for current year tax positions&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;275&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;-&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;8,685&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;7,317&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock>
    <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties contextRef="c3" decimals="-3" unitRef="usd">8400000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties contextRef="c37" decimals="-3" unitRef="usd">7370000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions contextRef="c0" decimals="-3" unitRef="usd">10000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
    <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions contextRef="c6" decimals="-3" unitRef="usd">-53000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
    <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions contextRef="c0" decimals="-3" unitRef="usd">275000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions>
    <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties contextRef="c2" decimals="-3" unitRef="usd">8685000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties contextRef="c58" decimals="-3" unitRef="usd">7317000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <us-gaap:CommitmentsAndContingenciesDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 12. &lt;i&gt;Commitments and Contingencies&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company may be involved in various legal
actions arising in the normal course of business, from time to time. After taking into consideration legal counsels&#x2019; evaluations
of any such action(s),&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;management is of the opinion that their outcome will not have
a material adverse effect on the Company&#x2019;s Consolidated Condensed Financial Statements.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;One Earth and NuGen have combined forward
purchase contracts for approximately 10.6 million bushels of corn, the principal raw material for their ethanol plants, and they
have combined forward purchase contracts for approximately 639,000 MmBtu (million british thermal units) of natural gas.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;One Earth and NuGen have combined sales commitments
for approximately 31.7 million gallons of ethanol, approximately 46,000 tons of distillers grains and approximately 9.6 million
pounds of non-food grade corn oil.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The refined coal entity has various agreements
(site license, operating agreements, etc.) containing payment terms based upon production of refined coal under which the Company
is required to pay various fees. These fees totaled approximately $2.2 million and approximately $1.1 million in the second quarter
of fiscal years 2021 and 2020, respectively. Such fees totaled approximately $3.1 million and approximately $1.4 million for the
six months ended July 31, 2021 and 2020, respectively.&lt;/p&gt;</us-gaap:CommitmentsAndContingenciesDisclosureTextBlock>
    <rex:QuantityOfBushelsUnderForwardPurchaseContract contextRef="c95" decimals="-5" unitRef="bu">10600000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
    <rex:QuantityOfNaturalGasUnderSalesCommitment contextRef="c95" decimals="0" unitRef="mmbtu">639000</rex:QuantityOfNaturalGasUnderSalesCommitment>
    <rex:QuantityOfEthanolUnderSalesCommitment contextRef="c95" decimals="-5" unitRef="gal">31700000</rex:QuantityOfEthanolUnderSalesCommitment>
    <rex:QuantityOfDistillersGrainsUnderSalesCommitment contextRef="c95" decimals="0" unitRef="t">46000</rex:QuantityOfDistillersGrainsUnderSalesCommitment>
    <rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments contextRef="c95" decimals="-5" unitRef="lb">9600000</rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments>
    <rex:FeesIncurredBySubsidiary contextRef="c96" decimals="-5" unitRef="usd">2200000</rex:FeesIncurredBySubsidiary>
    <rex:FeesIncurredBySubsidiary contextRef="c97" decimals="-5" unitRef="usd">1100000</rex:FeesIncurredBySubsidiary>
    <rex:FeesIncurredBySubsidiary contextRef="c98" decimals="-5" unitRef="usd">3100000</rex:FeesIncurredBySubsidiary>
    <rex:FeesIncurredBySubsidiary contextRef="c99" decimals="-5" unitRef="usd">1400000</rex:FeesIncurredBySubsidiary>
    <us-gaap:RelatedPartyTransactionsDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 13. &lt;i&gt;Related-Party Transactions&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;During the second quarters of fiscal years
2021 and 2020, One Earth and NuGen purchased approximately $20.7 million and approximately $4.9 million, respectively, of corn
(and other supplies) from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately
$37.4 million and approximately $17.2 million for the six months ended July 31, 2021 and 2020, respectively. The Company had amounts
payable to related parties of approximately $2.5 million and approximately $0.7 million at July 31, 2021 and January 31, 2021,
respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;During each of the second quarters of fiscal
years 2021 and 2020, the Company recognized commission expense of approximately $0.2 million, payable to the minority investor
in the refined coal entity. During the first six months of fiscal years 2021 and 2020, the company recognized commission expense
of approximately $0.2 million and income of approximately $0.1 million, respectively. The commission expense is associated with
the refined coal segment. The Company had accrued liabilities and accounts payable related to the commission expense of approximately
$0.1 million at July 31, 2021 and January 31, 2021.&lt;/p&gt;</us-gaap:RelatedPartyTransactionsDisclosureTextBlock>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c100" decimals="-5" unitRef="usd">20700000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c101" decimals="-5" unitRef="usd">4900000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c102" decimals="-5" unitRef="usd">37400000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c103" decimals="-5" unitRef="usd">17200000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c95" decimals="-5" unitRef="usd">2500000</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c104" decimals="-5" unitRef="usd">700000</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c105" decimals="-5" unitRef="usd">200000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c106" decimals="-5" unitRef="usd">200000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c107" decimals="-5" unitRef="usd">200000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c108" decimals="-5" unitRef="usd">100000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes contextRef="c109" decimals="-5" unitRef="usd">100000</us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes>
    <us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes contextRef="c110" decimals="-5" unitRef="usd">100000</us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes>
    <us-gaap:SegmentReportingDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&lt;b&gt;Note 14. Segment Reporting&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;The Company has two reportable
segments: i) ethanol and by-products; and ii) refined coal. The Company evaluates the performance of each reportable segment
based on net income attributable to REX common shareholders. Segment profitability measures are determined using the same
accounting policies used in the preparations of the consolidated condensed financial statements. The following tables
summarize segment and other results and assets (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Net sales and revenue:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;195,678&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;39,242&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;359,720&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;122,477&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;Refined coal &lt;sup&gt;1&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;165&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;85&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;227&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;100&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total net sales and revenue&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;195,843&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;39,327&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;359,947&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;122,577&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&lt;sup&gt;1 &lt;/sup&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;The
Company records sales in the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the
customer to which refined coal is sold.&lt;/span&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Segment gross profit (loss):&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;14,155&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;553&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;33,631&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;(7,670)&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Refined coal&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(3,081)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,884)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(4,755)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(2,991)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total gross profit (loss)&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;11,074&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(1,331)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;28,876&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(10,661)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Income (loss) before income taxes:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;10,732&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(3,259)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;21,820&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(15,610)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(3,455)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,118)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(5,260)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,965)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(902)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(702)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,758)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,247)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total income (loss) before income taxes&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;6,375&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(6,079)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;14,802&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(19,822)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;(Provision) benefit for income taxes:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(1,985)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;893&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,423)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;5,054&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;5,441&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,919&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;7,639&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;3,878&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;221&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;234&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;432&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;427&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total benefit for income taxes&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,677&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,046&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,648&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;9,359&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td&gt;Net income (loss) (net of noncontrolling interests):&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;6,418&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;(2,178)&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;14,374&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;(9,611)&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,139&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;898&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,612&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,048&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(681)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(468)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,326)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(820)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Net income (loss) attributable to REX common shareholders&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;7,876&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(1,748)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;15,660&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(9,383)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;Assets:&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 71%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;424,470&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 6%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;397,281&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,540&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,861&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;79,497&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;79,203&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;505,507&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;479,345&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;Sales of products, ethanol and by-products segment:&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; padding-left: 0pt"&gt;Ethanol&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;153,990&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;32,524&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;280,059&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;93,121&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Dried distillers grains&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;31,573&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;5,480&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;62,691&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;24,398&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;9,813&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,313&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;15,407&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,501&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Modified distillers grains&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,934&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;209&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,227&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;666&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Derivative financial instruments losses&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(1,638)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(298)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,764)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(298)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 1px; padding-left: 0pt"&gt;Other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;6&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;14&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;100&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;89&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-bottom: 3px; padding-left: 0pt"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;195,678&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;39,242&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;359,720&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;122,477&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Sales of products, refined coal segment:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px; padding-left: 0pt"&gt;Refined coal&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;165&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;85&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;227&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;100&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:SegmentReportingDisclosureTextBlock>
    <us-gaap:NumberOfReportableSegments contextRef="c0" decimals="INF" unitRef="pure">2</us-gaap:NumberOfReportableSegments>
    <us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock contextRef="c0">The following tables
summarize segment and other results and assets (amounts in thousands):&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Net sales and revenue:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;195,678&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;39,242&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;359,720&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;122,477&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;Refined coal &lt;sup&gt;1&lt;/sup&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;165&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;85&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;227&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;100&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total net sales and revenue&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;195,843&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;39,327&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;359,947&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;122,577&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Segment gross profit (loss):&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;14,155&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;553&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;33,631&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;(7,670)&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Refined coal&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(3,081)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,884)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(4,755)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(2,991)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total gross profit (loss)&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;11,074&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(1,331)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;28,876&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(10,661)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Income (loss) before income taxes:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;10,732&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(3,259)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;21,820&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(15,610)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(3,455)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,118)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(5,260)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,965)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(902)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(702)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,758)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,247)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total income (loss) before income taxes&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;6,375&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(6,079)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;14,802&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(19,822)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;(Provision) benefit for income taxes:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(1,985)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;893&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;(4,423)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;5,054&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;5,441&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,919&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;7,639&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;3,878&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;221&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;234&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;432&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;427&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total benefit for income taxes&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,677&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;4,046&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;3,648&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;9,359&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td&gt;Net income (loss) (net of noncontrolling interests):&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="width: 48%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;6,418&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;(2,178)&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;14,374&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;(9,611)&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,139&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;898&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,612&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,048&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(681)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(468)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(1,326)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;(820)&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Net income (loss) attributable to REX common shareholders&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;7,876&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(1,748)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;15,660&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;(9,383)&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Three Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center"&gt;Six Months Ended&lt;br/&gt; July 31,&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;Sales of products, ethanol and by-products segment:&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2021&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;2020&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; padding-left: 0pt"&gt;Ethanol&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;153,990&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;32,524&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;280,059&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;93,121&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Dried distillers grains&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;31,573&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;5,480&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;62,691&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;24,398&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;9,813&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,313&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;15,407&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,501&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Modified distillers grains&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,934&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;209&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;4,227&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;666&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Derivative financial instruments losses&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(1,638)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(298)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(2,764)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(298)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-bottom: 1px; padding-left: 0pt"&gt;Other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;6&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;14&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;100&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;89&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-bottom: 3px; padding-left: 0pt"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;195,678&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;39,242&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;359,720&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;122,477&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 0pt"&gt;Sales of products, refined coal segment:&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 3px; padding-left: 0pt"&gt;Refined coal&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;165&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;85&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;227&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;100&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c111" decimals="-3" unitRef="usd">195678000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c112" decimals="-3" unitRef="usd">39242000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c59" decimals="-3" unitRef="usd">359720000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c113" decimals="-3" unitRef="usd">122477000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax
      contextRef="c114"
      decimals="-3"
      id="ix_19_fact"
      unitRef="usd">165000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax
      contextRef="c115"
      decimals="-3"
      id="ix_20_fact"
      unitRef="usd">85000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c116" decimals="-3" unitRef="usd">227000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c117" decimals="-3" unitRef="usd">100000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c4" decimals="-3" unitRef="usd">195843000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c5" decimals="-3" unitRef="usd">39327000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c0" decimals="-3" unitRef="usd">359947000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax contextRef="c6" decimals="-3" unitRef="usd">122577000</us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax>
    <us-gaap:GrossProfit contextRef="c111" decimals="-3" unitRef="usd">14155000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c112" decimals="-3" unitRef="usd">553000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c59" decimals="-3" unitRef="usd">33631000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c113" decimals="-3" unitRef="usd">-7670000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c114" decimals="-3" unitRef="usd">-3081000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c115" decimals="-3" unitRef="usd">-1884000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c116" decimals="-3" unitRef="usd">-4755000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c117" decimals="-3" unitRef="usd">-2991000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c4" decimals="-3" unitRef="usd">11074000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c5" decimals="-3" unitRef="usd">-1331000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c0" decimals="-3" unitRef="usd">28876000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c6" decimals="-3" unitRef="usd">-10661000</us-gaap:GrossProfit>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c111" decimals="-3" unitRef="usd">10732000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c112" decimals="-3" unitRef="usd">-3259000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c59" decimals="-3" unitRef="usd">21820000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c113" decimals="-3" unitRef="usd">-15610000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c114" decimals="-3" unitRef="usd">-3455000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c115" decimals="-3" unitRef="usd">-2118000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c116" decimals="-3" unitRef="usd">-5260000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c117" decimals="-3" unitRef="usd">-2965000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c118" decimals="-3" unitRef="usd">-902000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c119" decimals="-3" unitRef="usd">-702000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c120" decimals="-3" unitRef="usd">-1758000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c121" decimals="-3" unitRef="usd">-1247000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c4" decimals="-3" unitRef="usd">6375000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">-6079000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">14802000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">-19822000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c111" decimals="-3" unitRef="usd">1985000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c112" decimals="-3" unitRef="usd">-893000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c59" decimals="-3" unitRef="usd">4423000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c113" decimals="-3" unitRef="usd">-5054000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c114" decimals="-3" unitRef="usd">-5441000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c115" decimals="-3" unitRef="usd">-2919000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c116" decimals="-3" unitRef="usd">-7639000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c117" decimals="-3" unitRef="usd">-3878000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c118" decimals="-3" unitRef="usd">-221000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c119" decimals="-3" unitRef="usd">-234000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c120" decimals="-3" unitRef="usd">-432000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c121" decimals="-3" unitRef="usd">-427000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c4" decimals="-3" unitRef="usd">-3677000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c5" decimals="-3" unitRef="usd">-4046000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c0" decimals="-3" unitRef="usd">-3648000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c6" decimals="-3" unitRef="usd">-9359000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c111" decimals="-3" unitRef="usd">6418000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c112" decimals="-3" unitRef="usd">-2178000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c59" decimals="-3" unitRef="usd">14374000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c113" decimals="-3" unitRef="usd">-9611000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c114" decimals="-3" unitRef="usd">2139000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c115" decimals="-3" unitRef="usd">898000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c116" decimals="-3" unitRef="usd">2612000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c117" decimals="-3" unitRef="usd">1048000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c118" decimals="-3" unitRef="usd">-681000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c119" decimals="-3" unitRef="usd">-468000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c120" decimals="-3" unitRef="usd">-1326000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c121" decimals="-3" unitRef="usd">-820000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c4" decimals="-3" unitRef="usd">7876000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c5" decimals="-3" unitRef="usd">-1748000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c0" decimals="-3" unitRef="usd">15660000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic contextRef="c6" decimals="-3" unitRef="usd">-9383000</us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic>
    <us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock contextRef="c142">&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="padding-bottom: 1px"&gt;Assets:&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;July
    31,&lt;br/&gt; 2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt;
    2021&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 71%; text-align: left"&gt;Ethanol and by-products&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;424,470&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 6%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;397,281&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left"&gt;Refined coal&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;1,540&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,861&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;Corporate and other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;79,497&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1px solid; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="border-bottom: Black 1px solid; text-align: right"&gt;79,203&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;505,507&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="border-bottom: Black 3px double; text-align: left"&gt;$&lt;/td&gt;&lt;td style="border-bottom: Black 3px double; text-align: right"&gt;479,345&lt;/td&gt;&lt;td style="padding-bottom: 3px; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock>
    <us-gaap:Assets contextRef="c143" decimals="-3" unitRef="usd">424470000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c144" decimals="-3" unitRef="usd">397281000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c145" decimals="-3" unitRef="usd">1540000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c146" decimals="-3" unitRef="usd">2861000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c147" decimals="-3" unitRef="usd">79497000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c148" decimals="-3" unitRef="usd">79203000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c2" decimals="-3" unitRef="usd">505507000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c3" decimals="-3" unitRef="usd">479345000</us-gaap:Assets>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c111" decimals="-3" unitRef="usd">153990000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c112" decimals="-3" unitRef="usd">32524000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c59" decimals="-3" unitRef="usd">280059000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c113" decimals="-3" unitRef="usd">93121000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c122" decimals="-3" unitRef="usd">31573000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c123" decimals="-3" unitRef="usd">5480000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c124" decimals="-3" unitRef="usd">62691000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c125" decimals="-3" unitRef="usd">24398000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c126" decimals="-3" unitRef="usd">9813000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c127" decimals="-3" unitRef="usd">1313000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c128" decimals="-3" unitRef="usd">15407000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c129" decimals="-3" unitRef="usd">4501000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c130" decimals="-3" unitRef="usd">1934000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c131" decimals="-3" unitRef="usd">209000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c132" decimals="-3" unitRef="usd">4227000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c133" decimals="-3" unitRef="usd">666000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c134" decimals="-3" unitRef="usd">-1638000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c135" decimals="-3" unitRef="usd">-298000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c136" decimals="-3" unitRef="usd">-2764000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c137" decimals="-3" unitRef="usd">-298000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c138" decimals="-3" unitRef="usd">6000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c139" decimals="-3" unitRef="usd">14000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c140" decimals="-3" unitRef="usd">100000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c141" decimals="-3" unitRef="usd">89000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c4" decimals="-3" unitRef="usd">195678000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c5" decimals="-3" unitRef="usd">39242000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c0" decimals="-3" unitRef="usd">359720000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c6" decimals="-3" unitRef="usd">122477000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c114" decimals="-3" unitRef="usd">165000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c115" decimals="-3" unitRef="usd">85000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c116" decimals="-3" unitRef="usd">227000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax contextRef="c117" decimals="-3" unitRef="usd">100000</us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c69"
      id="hidden-fact-0"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c70"
      id="hidden-fact-1"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:CommodityContractAssetCurrent
      contextRef="c69"
      id="hidden-fact-2"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:CommodityContractAssetCurrent
      contextRef="c71"
      id="hidden-fact-3"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c69"
      id="hidden-fact-4"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c71"
      id="hidden-fact-5"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c69"
      id="hidden-fact-6"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c71"
      id="hidden-fact-7"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c72"
      id="hidden-fact-8"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c73"
      id="hidden-fact-9"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c72"
      id="hidden-fact-10"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c74"
      id="hidden-fact-11"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c72"
      id="hidden-fact-12"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c74"
      id="hidden-fact-13"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:DerivativeAssets
      contextRef="c82"
      id="hidden-fact-14"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:DerivativeLiabilities
      contextRef="c83"
      id="hidden-fact-15"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:DerivativeLiabilities
      contextRef="c84"
      id="hidden-fact-16"
      unitRef="usd"
      xsi:nil="true"/>
    <dei:AmendmentFlag contextRef="c0">false</dei:AmendmentFlag>
    <dei:CurrentFiscalYearEndDate contextRef="c0">--01-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalPeriodFocus contextRef="c0">Q2</dei:DocumentFiscalPeriodFocus>
    <dei:EntityCentralIndexKey contextRef="c0">0000744187</dei:EntityCentralIndexKey>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#ix_1_fact"
          xlink:label="ix_1_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-7"
          xlink:label="hidden-fact-7"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-12"
          xlink:label="hidden-fact-12"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_0_fact"
          xlink:label="ix_0_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-13"
          xlink:label="hidden-fact-13"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-6"
          xlink:label="hidden-fact-6"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_3_fact"
          xlink:label="ix_3_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_2_fact"
          xlink:label="ix_2_fact"
          xlink:type="locator"/>
        <link:footnote id="ix_0_footnote" xlink:label="ix_0_footnote" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The commodity futures liability is included
in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_1_fact"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-7"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-12"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_0_fact"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-13"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-6"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_3_fact"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_2_fact"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#hidden-fact-9"
          xlink:label="hidden-fact-9"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_4_fact"
          xlink:label="ix_4_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_7_fact"
          xlink:label="ix_7_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-8"
          xlink:label="hidden-fact-8"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-0"
          xlink:label="hidden-fact-0"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_6_fact"
          xlink:label="ix_6_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-1"
          xlink:label="hidden-fact-1"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_5_fact"
          xlink:label="ix_5_fact"
          xlink:type="locator"/>
        <link:footnote id="ix_1_footnote" xlink:label="ix_1_footnote" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-9"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_4_fact"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_7_fact"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-8"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-0"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_6_fact"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-1"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_5_fact"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ix_8_fact"
          xlink:label="ix_8_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-4"
          xlink:label="hidden-fact-4"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_9_fact"
          xlink:label="ix_9_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_12_fact"
          xlink:label="ix_12_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-10"
          xlink:label="hidden-fact-10"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_10_fact"
          xlink:label="ix_10_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-11"
          xlink:label="hidden-fact-11"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-2"
          xlink:label="hidden-fact-2"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_11_fact"
          xlink:label="ix_11_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-3"
          xlink:label="hidden-fact-3"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_13_fact"
          xlink:label="ix_13_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-5"
          xlink:label="hidden-fact-5"
          xlink:type="locator"/>
        <link:footnote id="ix_2_footnote" xlink:label="ix_2_footnote" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The forward purchase contracts and commodity
futures assets are included in &#x201c;Prepaid expenses and other current assets&#x201d; on the accompanying Consolidated Condensed
Balance Sheets.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_8_fact"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-4"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_9_fact"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_12_fact"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-10"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_10_fact"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-11"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-2"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_11_fact"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-3"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_13_fact"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-5"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ix_14_fact"
          xlink:label="ix_14_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_15_fact"
          xlink:label="ix_15_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-14"
          xlink:label="hidden-fact-14"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_16_fact"
          xlink:label="ix_16_fact"
          xlink:type="locator"/>
        <link:footnote id="ix_3_footnote" xlink:label="ix_3_footnote" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Commodity futures liabilities are included in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately 8.6 million bushels of corn at July 31, 2021. These contracts are short/sell positions for approximately 6.9 million bushels of corn at January 31, 2021. Commodity futures assets are included in prepaid expenses and other assets. These contracts are long/buy positions for approximately 5.8 million bushels of corn at July 31, 2021. There were no long/buy positions at January 31, 2021.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_14_fact"
          xlink:to="ix_3_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_15_fact"
          xlink:to="ix_3_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-14"
          xlink:to="ix_3_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_16_fact"
          xlink:to="ix_3_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#hidden-fact-16"
          xlink:label="hidden-fact-16"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_18_fact"
          xlink:label="ix_18_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_17_fact"
          xlink:label="ix_17_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-15"
          xlink:label="hidden-fact-15"
          xlink:type="locator"/>
        <link:footnote id="ix_4_footnote" xlink:label="ix_4_footnote" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Forward purchase contracts assets are included in prepaid expenses and other current assets. These contracts are for purchases of approximately 10.6 million bushels of corn at July 31, 2021 and 6.4 million bushels of corn at January 31, 2021.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-16"
          xlink:to="ix_4_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_18_fact"
          xlink:to="ix_4_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_17_fact"
          xlink:to="ix_4_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-15"
          xlink:to="ix_4_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#ix_20_fact"
          xlink:label="ix_20_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_19_fact"
          xlink:label="ix_19_fact"
          xlink:type="locator"/>
        <link:footnote id="ix_5_footnote" xlink:label="ix_5_footnote" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The Company records sales in the refined coal segment net of the cost of coal as the Company purchases the coal feedstock from the customer to which refined coal is sold.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_20_fact"
          xlink:to="ix_5_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_19_fact"
          xlink:to="ix_5_footnote"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
