<SEC-DOCUMENT>0000930413-21-001588.txt : 20210903
<SEC-HEADER>0000930413-21-001588.hdr.sgml : 20210903
<ACCEPTANCE-DATETIME>20210903125813
ACCESSION NUMBER:		0000930413-21-001588
CONFORMED SUBMISSION TYPE:	10-Q
PUBLIC DOCUMENT COUNT:		70
CONFORMED PERIOD OF REPORT:	20210731
FILED AS OF DATE:		20210903
DATE AS OF CHANGE:		20210903

FILER:

	COMPANY DATA:	
		COMPANY CONFORMED NAME:			REX AMERICAN RESOURCES Corp
		CENTRAL INDEX KEY:			0000744187
		STANDARD INDUSTRIAL CLASSIFICATION:	INDUSTRIAL ORGANIC CHEMICALS [2860]
		IRS NUMBER:				311095548
		STATE OF INCORPORATION:			DE
		FISCAL YEAR END:			0131

	FILING VALUES:
		FORM TYPE:		10-Q
		SEC ACT:		1934 Act
		SEC FILE NUMBER:	001-09097
		FILM NUMBER:		211235833

	BUSINESS ADDRESS:	
		STREET 1:		7720 PARAGON ROAD
		CITY:			DAYTON
		STATE:			OH
		ZIP:			45459
		BUSINESS PHONE:		9372763931

	MAIL ADDRESS:	
		STREET 1:		7720 PARAGON ROAD
		CITY:			DAYTON
		STATE:			OH
		ZIP:			45459

	FORMER COMPANY:	
		FORMER CONFORMED NAME:	REX STORES CORP
		DATE OF NAME CHANGE:	19930915

	FORMER COMPANY:	
		FORMER CONFORMED NAME:	AUDIO VIDEO AFFILIATES INC
		DATE OF NAME CHANGE:	19920703
</SEC-HEADER>
<DOCUMENT>
<TYPE>10-Q
<SEQUENCE>1
<FILENAME>c102240_10q-ixbrl.htm
<TEXT>
<XBRL>
<?xml version="1.0" encoding="ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Sep 03 13:51:27 UTC 2021 -->
<html xmlns:compsci="http://compsciresources.com" xmlns:dei="http://xbrl.sec.gov/dei/2021" xmlns:dtr="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:ix="http://www.xbrl.org/2013/inlineXBRL" xmlns:ixt="http://www.xbrl.org/inlineXBRL/transformation/2015-02-26" xmlns:ixt-sec="http://www.sec.gov/inlineXBRL/transformation/2015-08-31" 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:us-types="http://fasb.org/us-types/2021-01-31" xmlns:utr="http://www.xbrl.org/2009/utr" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/1999/xhtml" xmlns:xml="http://www.w3.org/XML/1998/namespace"><head>
     <title> </title>

<meta content="text/html" http-equiv="Content-Type" />
</head>
<body><div>

</div><!-- Field: Rule-Page --><div style="text-align: LEFT;"><div style="font-size: 1pt; border-top: Black 2px solid; border-bottom: Black 1px solid; width: 100%">&#160;</div></div><!-- Field: /Rule-Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>UNITED STATES<br/>
SECURITIES AND EXCHANGE COMMISSION<br/>
WASHINGTON, D.C. 20549</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><!-- Field: Rule-Page --><div style="text-align: CENTER;"><div style="font-size: 1pt; border-top: Black 1px solid; width: 25%; margin-left: auto; margin-right: auto;">&#160;</div></div><!-- Field: /Rule-Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>FORM <ix:nonNumeric contextRef="c0" name="dei:DocumentType">10-Q</ix:nonNumeric></b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>(Mark One)</b></p><div>

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

</div><table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top"> <td style="width: 4%"><ix:nonNumeric contextRef="c0" format="ixt:booleantrue" name="dei:DocumentQuarterlyReport"><span>&#9746;</span></ix:nonNumeric></td> <td style="width: 96%"><span style="font: 10pt Times New Roman, Times, Serif"><b>QUARTERLY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934</b></span></td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td><span style="font: 10pt Times New Roman, Times, Serif"><b>For the quarterly period ended <ix:nonNumeric contextRef="c0" format="ixt:datemonthdayyearen" name="dei:DocumentPeriodEndDate">July 31, <ix:nonNumeric contextRef="c0" name="dei:DocumentFiscalYearFocus">2021</ix:nonNumeric></ix:nonNumeric></b></span></td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td style="text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b>OR</b></span></td></tr>
<tr style="vertical-align: top"> <td><ix:nonNumeric contextRef="c0" format="ixt:booleanfalse" name="dei:DocumentTransitionReport"><span>&#9744;</span></ix:nonNumeric></td> <td><span style="font: 10pt Times New Roman, Times, Serif"><b>TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934</b></span></td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td>&#160;</td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td><span style="font: 10pt Times New Roman, Times, Serif"><b>For the transition period from _________ to _________</b></span></td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>Commission File Number <ix:nonNumeric contextRef="c0" name="dei:EntityFileNumber">001-09097</ix:nonNumeric></b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><!-- Field: Rule-Page --><div style="text-align: CENTER;"><div style="font-size: 1pt; border-top: Black 1px solid; width: 25%; margin-left: auto; margin-right: auto;">&#160;</div></div><!-- Field: /Rule-Page --><div>

</div><p style="font: 3pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b><ix:nonNumeric contextRef="c0" name="dei:EntityRegistrantName">REX AMERICAN RESOURCES CORPORATION</ix:nonNumeric><br/>
(Exact name of registrant as specified in its charter)</b></p><div>

</div><!-- Field: Rule-Page --><div style="text-align: CENTER;"><div style="font-size: 1pt; border-top: Black 1px solid; width: 25%; margin-left: auto; margin-right: auto;">&#160;</div></div><!-- Field: /Rule-Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top"> <td style="width: 25%">&#160;</td> <td style="width: 30%; text-align: center"><ix:nonNumeric contextRef="c0" format="ixt-sec:stateprovnameen" name="dei:EntityIncorporationStateCountryCode"><span style="font: 10pt Times New Roman, Times, Serif"><b>Delaware</b></span></ix:nonNumeric></td> <td style="width: 20%; text-align: center"><ix:nonNumeric contextRef="c0" name="dei:EntityTaxIdentificationNumber"><span style="font: 10pt Times New Roman, Times, Serif"><b>31-1095548</b></span></ix:nonNumeric></td> <td style="width: 25%">&#160;</td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td style="text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b>(State or other jurisdiction of<br/>
incorporation or organization)</b></span></td> <td style="text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b>(I.R.S. Employer<br/>
Identification Number)</b></span></td> <td>&#160;</td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td style="text-align: center">&#160;</td> <td style="text-align: center">&#160;</td> <td>&#160;</td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td style="text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b><ix:nonNumeric contextRef="c0" name="dei:EntityAddressAddressLine1">7720 Paragon Road</ix:nonNumeric>, <ix:nonNumeric contextRef="c0" name="dei:EntityAddressCityOrTown">Dayton</ix:nonNumeric>, <ix:nonNumeric contextRef="c0" format="ixt-sec:stateprovnameen" name="dei:EntityAddressStateOrProvince">Ohio</ix:nonNumeric><br/>
(Address of principal executive offices)</b></span></td> <td style="text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b><ix:nonNumeric contextRef="c0" name="dei:EntityAddressPostalZipCode">45459</ix:nonNumeric><br/>
(Zip Code)</b></span></td> <td>&#160;</td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>(<ix:nonNumeric contextRef="c0" name="dei:CityAreaCode">937</ix:nonNumeric>) <ix:nonNumeric contextRef="c0" name="dei:LocalPhoneNumber">276-3931</ix:nonNumeric><br/>
(Registrant&#8217;s telephone number, including area code)</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">Securities registered pursuant to Section
12(b) of the Act:</p><div>

</div><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif; border-collapse: collapse">
<tr style="vertical-align: top"> <td style="width: 38%; padding-right: 5.4pt; padding-left: 0pt; text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b>Title of each class</b></span></td> <td style="width: 24%; padding-right: 5.4pt; padding-left: 0pt; text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b>Trading Symbol(s)</b></span></td> <td style="width: 38%; padding-right: 5.4pt; padding-left: 0pt; text-align: center"><span style="font: 10pt Times New Roman, Times, Serif"><b>Name of each exchange on which registered</b></span></td></tr>
<tr style="vertical-align: top"> <td style="padding-right: 5.4pt; padding-left: 0pt; text-align: center"><ix:nonNumeric contextRef="c0" name="dei:Security12bTitle"><span style="font: 10pt Times New Roman, Times, Serif">Common stock, $0.01 par value</span></ix:nonNumeric></td> <td style="padding-right: 5.4pt; padding-left: 0pt; text-align: center"><ix:nonNumeric contextRef="c0" name="dei:TradingSymbol"><span style="font: 10pt Times New Roman, Times, Serif">REX</span></ix:nonNumeric></td> <td style="padding-right: 5.4pt; padding-left: 0pt; text-align: center"><ix:nonNumeric contextRef="c0" format="ixt-sec:exchnameen" name="dei:SecurityExchangeName"><span style="font: 10pt Times New Roman, Times, Serif">New York Stock Exchange</span></ix:nonNumeric></td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><!-- Field: Rule-Page --><div style="text-align: CENTER;"><div style="font-size: 1pt; border-top: Black 1px solid; width: 25%; margin-left: auto; margin-right: auto;">&#160;</div></div><!-- Field: /Rule-Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>
</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 14.4pt 0pt 0; text-align: justify">Indicate by check mark whether
the registrant (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during
the preceding 12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject
to such filing requirements for the past 90 days. &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<ix:nonNumeric contextRef="c0" name="dei:EntityCurrentReportingStatus">Yes</ix:nonNumeric> <span>&#9746;</span> No <span>&#9744;</span></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 14.4pt 0pt 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 14.4pt 0pt 0; text-align: justify">Indicate by check mark whether
the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation
S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files). &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<ix:nonNumeric contextRef="c0" name="dei:EntityInteractiveDataCurrent">Yes</ix:nonNumeric> <span>&#9746;</span>
No <span>&#9744;</span></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 14.4pt 0pt 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">Indicate by check mark whether
the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, a smaller reporting company or an emerging
growth company. See definition of &#8220;large accelerated filer&#8221;, &#8220;accelerated filer&#8221;, &#8220;smaller reporting
company&#8221; and &#8220;emerging growth company&#8221; in Rule 12b-2 of the Exchange Act.</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top"> <td style="width: 56%"><span style="font: 10pt Times New Roman, Times, Serif">Large accelerated filer <span>&#9744;</span></span></td> <td style="width: 1%">&#160;</td> <td style="width: 43%"><span style="font: 10pt Times New Roman, Times, Serif"><ix:nonNumeric contextRef="c0" format="ixt-sec:entityfilercategoryen" name="dei:EntityFilerCategory">Accelerated filer</ix:nonNumeric> <span>&#9746;</span></span></td></tr>
<tr style="vertical-align: top"> <td><span style="font: 10pt Times New Roman, Times, Serif">Non-accelerated filer <span>&#9744;</span> (Do not check if a smaller reporting company)</span></td> <td>&#160;</td> <td><span style="font: 10pt Times New Roman, Times, Serif">Smaller reporting company <ix:nonNumeric contextRef="c0" format="ixt:booleanfalse" name="dei:EntitySmallBusiness"><span>&#9744;</span></ix:nonNumeric></span></td></tr>
<tr style="vertical-align: top"> <td>&#160;</td> <td>&#160;</td> <td><span style="font: 10pt Times New Roman, Times, Serif">Emerging growth company <span>&#9744;</span></span></td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">If an emerging growth company,
indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised
financial accounting standards provided pursuant to Section 13(a) of the Exchange Act. <ix:nonNumeric contextRef="c0" format="ixt-sec:boolballotbox" name="dei:EntityEmergingGrowthCompany"><span>&#9744;</span></ix:nonNumeric></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">Indicate by check mark whether
the registrant is a shell company (as defined in Rule 12b-2 of the Exchange Act).</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">Yes <span>&#9744;</span> <ix:nonNumeric contextRef="c0" format="ixt:booleanfalse" name="dei:EntityShellCompany">No</ix:nonNumeric> <span>&#9746;</span></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">At the close of business on September
2, 2021 the registrant had <ix:nonFraction contextRef="c1" decimals="INF" format="ixt:numdotdecimal" name="dei:EntityCommonStockSharesOutstanding" scale="0" unitRef="shares">5,970,938</ix:nonFraction> shares of Common Stock, par value $.01 per share, outstanding.</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">&#160;</p><div>

</div><!-- Field: Rule-Page --><div style="text-align: LEFT;"><div style="font-size: 1pt; border-top: Black 1px solid; border-bottom: Black 2px solid; width: 100%">&#160;</div></div><!-- Field: /Rule-Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify"></p><div>


</div><!-- Field: Page; Sequence: 1 --><div>
    </div><div style="margin-bottom: 6pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%">&#160;</td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">INDEX</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">Page</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="width: 10%"><a href="#x1_c102240a001"><span style="font-family: Times New Roman, Times, Serif">PART I.</span></a></td>
    <td style="width: 84%"><a href="#x1_c102240a001"><span style="font-family: Times New Roman, Times, Serif">FINANCIAL INFORMATION</span></a></td>
    <td style="width: 6%; text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line">&#160;</td>
    <td style="layout-grid-mode: line">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a002"><span style="font-family: Times New Roman, Times, Serif">Item 1.</span></a></td>
    <td><a href="#x1_c102240a002"><span style="font-family: Times New Roman, Times, Serif">Financial Statements</span></a><span style="font-family: Times New Roman, Times, Serif"> </span></td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a003"></a></td>
    <td><a href="#x1_c102240a003"><span style="font-family: Times New Roman, Times, Serif">Consolidated Condensed Balance Sheets</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">3</span></td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a004"></a></td>
    <td><a href="#x1_c102240a004"><span style="font-family: Times New Roman, Times, Serif">Consolidated Condensed Statements of Operations</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">4</span></td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a005"></a></td>
    <td><a href="#x1_c102240a005"><span style="font-family: Times New Roman, Times, Serif">Consolidated Condensed Statements of Equity</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">5</span></td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a006"></a></td>
    <td><a href="#x1_c102240a006"><span style="font-family: Times New Roman, Times, Serif">Consolidated Condensed Statements of Cash Flows</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">7</span></td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a007"></a></td>
    <td><a href="#x1_c102240a007"><span style="font-family: Times New Roman, Times, Serif">Notes to Consolidated Condensed Financial Statements</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">8</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a008"><span style="font-family: Times New Roman, Times, Serif">Item 2.</span></a></td>
    <td><a href="#x1_c102240a008"><span style="font-family: Times New Roman, Times, Serif">Management&#8217;s Discussion and Analysis of Financial Condition and Results of Operations</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">24</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a009"><span style="font-family: Times New Roman, Times, Serif">Item 3.</span></a></td>
    <td><a href="#x1_c102240a009"><span style="font-family: Times New Roman, Times, Serif">Quantitative and Qualitative Disclosures About Market Risk</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">37</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a010"><span style="font-family: Times New Roman, Times, Serif">Item 4.</span></a></td>
    <td><a href="#x1_c102240a010"><span style="font-family: Times New Roman, Times, Serif">Controls and Procedures</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">37</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a011"><span style="font-family: Times New Roman, Times, Serif">PART II.</span></a></td>
    <td><a href="#x1_c102240a011"><span style="font-family: Times New Roman, Times, Serif">OTHER INFORMATION</span></a></td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a012"><span style="font-family: Times New Roman, Times, Serif">Item 1.</span></a></td>
    <td><a href="#x1_c102240a012"><span style="font-family: Times New Roman, Times, Serif">Legal Proceedings</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a013"><span style="font-family: Times New Roman, Times, Serif">Item 1A.</span></a></td>
    <td><a href="#x1_c102240a013"><span style="font-family: Times New Roman, Times, Serif">Risk Factors</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a014"><span style="font-family: Times New Roman, Times, Serif">Item 2.</span></a></td>
    <td><a href="#x1_c102240a014"><span style="font-family: Times New Roman, Times, Serif">Unregistered Sales of Equity Securities and Use of Proceeds</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a015"><span style="font-family: Times New Roman, Times, Serif">Item 3.</span></a></td>
    <td><a href="#x1_c102240a015"><span style="font-family: Times New Roman, Times, Serif">Defaults upon Senior Securities</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a016"><span style="font-family: Times New Roman, Times, Serif">Item 4.</span></a></td>
    <td><a href="#x1_c102240a016"><span style="font-family: Times New Roman, Times, Serif">Mine Safety Disclosures</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a017"><span style="font-family: Times New Roman, Times, Serif">Item 5.</span></a></td>
    <td><a href="#x1_c102240a017"><span style="font-family: Times New Roman, Times, Serif">Other Information</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><a href="#x1_c102240a018"><span style="font-family: Times New Roman, Times, Serif">Item 6.</span></a></td>
    <td><a href="#x1_c102240a018"><span style="font-family: Times New Roman, Times, Serif">Exhibits</span></a></td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">38</span></td></tr>
</table><div>

</div><!-- Field: Page; Sequence: 2; Options: NewSection; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->2<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><div><a id="x1_c102240a001"></a></div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>PART I. FINANCIAL INFORMATION</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><div><a id="x1_c102240a002"></a></div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 1. <i>Financial Statements</i></b></p><div>

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

</div><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</p><div>

</div><div><a id="x1_c102240a003"></a></div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Consolidated Condensed Balance Sheets</b></p><div>

</div><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">Unaudited</p><div>

</div><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px; vertical-align: top; text-align: left">(In Thousands)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font: 10pt Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font: 10pt Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt">Assets:</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Current assets:</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 78%; text-align: left; text-indent: -10pt; padding-left: 20pt">Cash and cash equivalents</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">154,312</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">144,501</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: -10pt; padding-left: 20pt">Short-term investments</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShortTermInvestments" scale="3" unitRef="usd">33,282</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShortTermInvestments" scale="3" unitRef="usd">36,194</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 20pt">Restricted cash</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">6,758</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">1,657</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 20pt">Accounts receivable</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccountsReceivableNetCurrent" scale="3" unitRef="usd">29,521</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccountsReceivableNetCurrent" scale="3" unitRef="usd">19,713</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-indent: -10pt; padding-left: 20pt">Inventory</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">41,759</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">37,880</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 20pt">Refundable income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxesReceivable" scale="3" unitRef="usd">6,892</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxesReceivable" scale="3" unitRef="usd">6,020</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Prepaid expenses and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PrepaidExpenseAndOtherAssetsCurrent" scale="3" unitRef="usd">12,175</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PrepaidExpenseAndOtherAssetsCurrent" scale="3" unitRef="usd">12,785</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 30pt">Total current assets</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AssetsCurrent" scale="3" unitRef="usd">284,699</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:AssetsCurrent" scale="3" unitRef="usd">258,750</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Property and equipment, net</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">145,078</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">153,186</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Operating lease right-of-use assets</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseRightOfUseAsset" scale="3" unitRef="usd">13,211</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseRightOfUseAsset" scale="3" unitRef="usd">12,678</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Deferred taxes and other assets</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherAssetsNoncurrent" scale="3" unitRef="usd">30,649</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherAssetsNoncurrent" scale="3" unitRef="usd">25,275</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Equity method investment</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">31,870</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">29,456</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 20pt">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">505,507</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">479,345</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-indent: -10pt; padding-left: 10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Liabilities and equity:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Current liabilities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts payable, trade (includes $<ix:nonFraction contextRef="c2" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="6" unitRef="usd">2.5</ix:nonFraction> million and $<ix:nonFraction contextRef="c3" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="6" unitRef="usd">0.7</ix:nonFraction> million with related parties at July 31, 2021 and January 31, 2021, respectively)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccountsPayableTradeCurrent" scale="3" unitRef="usd">22,041</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccountsPayableTradeCurrent" scale="3" unitRef="usd">16,907</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Current operating lease liabilities</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseLiabilityCurrent" scale="3" unitRef="usd">5,380</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseLiabilityCurrent" scale="3" unitRef="usd">4,875</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Accrued expenses and other current liabilities (includes $<ix:nonFraction contextRef="c2" decimals="-5" format="ixt:numdotdecimal" name="rex:AccruedExpensesRelatedParties" scale="6" unitRef="usd"><ix:nonFraction contextRef="c3" decimals="-5" format="ixt:numdotdecimal" name="rex:AccruedExpensesRelatedParties" scale="6" unitRef="usd">0.1</ix:nonFraction></ix:nonFraction> million with related parties at July 31, 2021 and January 31, 2021)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherLiabilitiesCurrent" scale="3" unitRef="usd">11,274</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherLiabilitiesCurrent" scale="3" unitRef="usd">8,955</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 30pt">Total current liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LiabilitiesCurrent" scale="3" unitRef="usd">38,695</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LiabilitiesCurrent" scale="3" unitRef="usd">30,737</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Long-term liabilities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 20pt">Deferred taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:DeferredTaxLiabilitiesNoncurrent" scale="3" unitRef="usd">4,030</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DeferredTaxLiabilitiesNoncurrent" scale="3" unitRef="usd">3,713</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 20pt">Long-term operating lease liabilities</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseLiabilityNoncurrent" scale="3" unitRef="usd">7,534</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseLiabilityNoncurrent" scale="3" unitRef="usd">7,439</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Other long-term liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherLiabilitiesNoncurrent" scale="3" unitRef="usd">1,951</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherLiabilitiesNoncurrent" scale="3" unitRef="usd">273</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 30pt">Total long-term liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LiabilitiesNoncurrent" scale="3" unitRef="usd">13,515</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LiabilitiesNoncurrent" scale="3" unitRef="usd">11,425</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt">Equity:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: -10pt; padding-left: 20pt">REX shareholders&#8217; equity:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 40pt">Common stock</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CommonStockValue" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CommonStockValue" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 40pt; text-indent: -10pt">Paid-in capital</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AdditionalPaidInCapitalCommonStock" scale="3" unitRef="usd">149,263</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:AdditionalPaidInCapitalCommonStock" scale="3" unitRef="usd">149,110</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 40pt">Retained earnings</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RetainedEarningsAccumulatedDeficit" scale="3" unitRef="usd">605,646</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RetainedEarningsAccumulatedDeficit" scale="3" unitRef="usd">589,986</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 40pt">Treasury stock</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValue" scale="3" unitRef="usd">355,936</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValue" scale="3" unitRef="usd">354,612</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: -10pt; padding-left: 50pt">Total REX shareholders&#8217; equity</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquity" scale="3" unitRef="usd">399,272</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquity" scale="3" unitRef="usd">384,783</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Noncontrolling interests</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterest" scale="3" unitRef="usd">54,025</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:MinorityInterest" scale="3" unitRef="usd">52,400</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Total equity</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">453,297</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">437,183</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; text-indent: -10pt; padding-left: 20pt">Total liabilities and equity</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LiabilitiesAndStockholdersEquity" scale="3" unitRef="usd">505,507</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LiabilitiesAndStockholdersEquity" scale="3" unitRef="usd">479,345</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><span style="font-size: 10pt">The accompanying notes are an
integral part of  these unaudited consolidated condensed financial statements.</span></p><div>

</div><!-- Field: Page; Sequence: 3; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->3<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0"><b>REX AMERICAN RESOURCES CORPORATION AND
SUBSIDIARIES</b></p><div>

</div><div><a id="x1_c102240a004"></a></div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0"><b>Consolidated Condensed Statements of
Operations</b></p><div>

</div><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 0">Unaudited</p><div>

</div><p style="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 0">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">(In Thousands, Except Per Share Amounts)</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months<br/> Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months<br/> Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">195,843</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">39,327</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">359,947</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">122,577</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Cost of sales (includes $<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">20,650</ix:nonFraction> and $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">4,887</ix:nonFraction> with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">37,383</ix:nonFraction> and $<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">17,159</ix:nonFraction> with related parties for the six months ended July 31, 2021 and 2020, respectively)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">184,769</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">40,658</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">331,071</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">133,238</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Gross profit (loss)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">11,074</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">1,331</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">28,876</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">10,661</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Selling, general and administrative expenses (includes $<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" scale="3" unitRef="usd">154</ix:nonFraction> and $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" scale="3" unitRef="usd">152</ix:nonFraction> with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" scale="3" unitRef="usd">191</ix:nonFraction> and $(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" scale="3" sign="-" unitRef="usd">145</ix:nonFraction>) with related parties for the six months ended July 31, 2021 and 2020, respectively)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">6,582</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">4,438</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">16,570</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">9,043</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Equity in income (loss) of unconsolidated affiliates</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">1,844</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" sign="-" unitRef="usd">507</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">2,414</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" sign="-" unitRef="usd">984</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Interest and other income, net</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">39</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">197</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">82</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">866</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Income (loss) before income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">6,375</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">6,079</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">14,802</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">19,822</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Benefit for income taxes</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">3,677</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">4,046</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">3,648</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">9,359</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income (loss)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">10,052</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">2,033</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">18,450</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">10,463</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net (income) loss attributable to noncontrolling interests</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossAttributableToNoncontrollingInterest" scale="3" unitRef="usd">2,176</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">285</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossAttributableToNoncontrollingInterest" scale="3" unitRef="usd">2,790</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">1,080</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">7,876</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" sign="-" unitRef="usd">1,748</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">15,660</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" sign="-" unitRef="usd">9,383</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Weighted average shares outstanding &#8211; basic and diluted</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">6,011</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">6,216</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">6,010</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">6,261</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Basic and diluted net income (loss) per share attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="2" format="ixt:numdotdecimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" unitRef="usdPershares">1.31</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c5" decimals="2" format="ixt:numdotdecimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" sign="-" unitRef="usdPershares">0.28</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="2" format="ixt:numdotdecimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" unitRef="usdPershares">2.61</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c6" decimals="2" format="ixt:numdotdecimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" sign="-" unitRef="usdPershares">1.50</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0">The accompanying notes are an integral part
of these unaudited consolidated condensed financial statements.</p><div>

</div><!-- Field: Page; Sequence: 4; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->4<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

</div><div><a id="x1_c102240a005"></a></div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Consolidated Condensed Statements of Equity</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>For the Three and Six Months Ended July 31, 2021 and 2020</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Unaudited</b></p><div>

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

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">(In Thousands)</p><div>

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

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 8pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="22" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">REX Shareholders</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="14" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Common
Shares<br/>
Issued</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Treasury</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Paid-in</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Retained</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Noncontrolling</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Total</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Shares</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Amount</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Shares</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Amount</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Capital</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Earnings</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Interests</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Equity</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 28%; font-family: Times New Roman, Times, Serif; padding-left: 10pt; text-indent: -10pt">Balance at January 31, 2021</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c8" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,861</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c8" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">354,612</ix:nonFraction>)</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c9" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,110</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c10" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">589,986</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c11" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">52,400</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">437,183</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c12" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">7,784</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c13" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">614</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c14" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">8,398</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Noncontrolling interests distribution and other</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c13" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">75</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c14" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">75</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Capital contributions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c13" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">68</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c14" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">68</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Issuance of equity awards and stock based compensation expense</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c15" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">8</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c16" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">34</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c14" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">42</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; padding-left: 10pt; text-indent: -10pt">Balance at April 30, 2021</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c17" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c17" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c18" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,861</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c18" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">354,604</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c19" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,144</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c20" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">597,770</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c21" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">53,007</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c22" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">445,616</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c23" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">7,876</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c24" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">2,176</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">10,052</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Treasury stock acquired</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c25" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">17</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c25" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">1,356</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">1,356</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Noncontrolling interests distribution and other</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c24" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">1,229</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">1,229</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Capital contributions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c24" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">71</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">71</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Issuance of equity awards and stock based compensation expense</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c25" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation" scale="3" sign="-" unitRef="shares">12</ix:nonFraction>)</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c25" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">24</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c26" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">119</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">143</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Balance at July 31, 2021</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c27" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c27" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c28" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,866</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c28" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">355,936</ix:nonFraction>)</td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c29" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,263</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c30" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">605,646</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c31" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">54,025</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">453,297</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
</table><div>


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

</div><p style="font: 8pt Times New Roman, Times, Serif; margin: 0pt 0">Continued on the following page</p><div>

</div><!-- Field: Page; Sequence: 5; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->5<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Consolidated Condensed Statements of Equity</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Unaudited</b></p><div>

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

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">(In Thousands)</p><div>

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

</div><p style="font: 8pt Times New Roman, Times, Serif; margin: 0pt 0">Continued from the previous page</p><div>

</div><p style="font: 8pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 8pt Times New Roman, Times, Serif; margin: 0pt 0"></p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 8pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="22" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">REX Shareholders</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="14" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Common Shares<br/>
Issued</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Treasury</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Paid-in</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Retained</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Noncontrolling</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; padding-bottom: 1px">Total</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Shares</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Amount</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Shares</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Amount</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Capital</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Earnings</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Interests</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td><td style="font-family: Times New Roman, Times, Serif; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-family: Times New Roman, Times, Serif; font-weight: bold; text-align: center; border-bottom: Black 1px solid">Equity</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 28%; font-family: Times New Roman, Times, Serif; padding-left: 10pt; text-indent: -10pt">Balance at January 31, 2020</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c32" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c32" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c33" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,561</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c33" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">335,066</ix:nonFraction>)</td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c34" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">148,789</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c35" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">586,985</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c36" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">52,599</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 2%; font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 5%; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c37" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">453,606</ix:nonFraction></td><td style="width: 1%; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Net loss</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c38" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">7,635</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c39" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">795</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c40" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">8,430</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Treasury stock acquired</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c41" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">78</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c41" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">3,923</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c40" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">3,923</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Noncontrolling interests distribution and other</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c39" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">35</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c40" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">35</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Capital contributions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c39" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">10</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c40" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">10</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Stock based compensation expense</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c41" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">7</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c42" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">32</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c40" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">39</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; padding-left: 10pt; text-indent: -10pt">Balance at April 30, 2020</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c43" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c43" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c44" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,639</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c44" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">338,982</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c45" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">148,821</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c46" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">579,350</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c47" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">51,779</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c48" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">441,267</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Net loss</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c49" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">1,748</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c50" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">285</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">2,033</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Treasury stock acquired</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c51" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">31</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c51" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">1,667</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">1,667</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Noncontrolling interests distribution and other</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c50" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">124</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">124</ix:nonFraction>)</td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-left: 10pt; text-indent: -10pt">Capital contributions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c50" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">15</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif">&#160;</td>
    <td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">15</ix:nonFraction></td><td style="font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font-family: Times New Roman, Times, Serif; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Issuance of equity awards and stock based compensation expense</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c51" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation" scale="3" sign="-" unitRef="shares">15</ix:nonFraction>)</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c51" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">58</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c52" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">223</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right">-</td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">281</ix:nonFraction></td><td style="padding-bottom: 1px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Balance at July 31, 2020</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c53" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c53" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c54" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,655</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right">(<ix:nonFraction contextRef="c54" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">340,591</ix:nonFraction>)</td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c55" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,044</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c56" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">577,602</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c57" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">51,385</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font-family: Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font-family: Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">437,739</ix:nonFraction></td><td style="padding-bottom: 3px; font-family: Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
</table><div>


</div><p style="font: 8pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">The accompanying notes are an integral part of these unaudited
consolidated condensed financial statements.</p><div>

</div><!-- Field: Page; Sequence: 6; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->6<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

</div><div><a id="x1_c102240a006"></a></div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Consolidated Condensed Statements of Cash Flows</b></p><div>

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Unaudited</b></p><div>

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

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">(In Thousands)</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-size: 10pt; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="border-bottom: Black 1px solid; font-weight: bold; text-align: center">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from operating activities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 78%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net income (loss) including noncontrolling interests</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right"><ix:nonFraction contextRef="c0" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">18,450</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">10,463</ix:nonFraction>)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 20pt; text-indent: -10pt">Depreciation</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DepreciationDepletionAndAmortization" scale="3" unitRef="usd">10,451</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DepreciationDepletionAndAmortization" scale="3" unitRef="usd">10,491</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Amortization of operating lease right-of-use assets</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="rex:OperatingLeaseRightOfUseAssetAmortization" scale="3" unitRef="usd">2,734</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="rex:OperatingLeaseRightOfUseAssetAmortization" scale="3" unitRef="usd">2,691</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">(Income) loss from equity method investments</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">2,414</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" sign="-" unitRef="usd">984</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Dividends received from equity method investee</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestmentDividendsOrDistributions" scale="3" unitRef="usd">2,005</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Interest income from investments</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromInterestAndDividendsReceived" scale="3" unitRef="usd">27</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromInterestAndDividendsReceived" scale="3" unitRef="usd">179</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Deferred income tax</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DeferredIncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">4,741</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DeferredIncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">4,784</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Stock based compensation expense</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">567</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">80</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Gain on sale of property and equipment &#8211; net</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment" scale="3" unitRef="usd">3</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="rex:GainOnDisposalOfRealEstateAndPropertyAndEquipment" scale="3" unitRef="usd">22</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Changes in assets and liabilities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts receivable</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInAccountsReceivable" scale="3" unitRef="usd">9,808</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInAccountsReceivable" scale="3" sign="-" unitRef="usd">3,225</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 20pt; text-indent: -10pt">Inventories</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInInventories" scale="3" unitRef="usd">3,879</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInInventories" scale="3" sign="-" unitRef="usd">5,251</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Refundable income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInIncomeTaxesReceivable" scale="3" unitRef="usd">872</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInIncomeTaxesReceivable" scale="3" unitRef="usd">4,591</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Other assets</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" scale="3" sign="-" unitRef="usd">293</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" scale="3" unitRef="usd">481</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts payable, trade</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInAccountsPayableTrade" scale="3" unitRef="usd">5,457</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInAccountsPayableTrade" scale="3" sign="-" unitRef="usd">10,301</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Other liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInOtherOperatingLiabilities" scale="3" unitRef="usd">949</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:IncreaseDecreaseInOtherOperatingLiabilities" scale="3" sign="-" unitRef="usd">2,940</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash provided by (used in) operating activities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetCashProvidedByUsedInOperatingActivities" scale="3" unitRef="usd">17,157</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetCashProvidedByUsedInOperatingActivities" scale="3" sign="-" unitRef="usd">9,034</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from investing activities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Capital expenditures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PaymentsToAcquirePropertyPlantAndEquipment" scale="3" unitRef="usd">2,693</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PaymentsToAcquirePropertyPlantAndEquipment" scale="3" unitRef="usd">5,692</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 20pt; text-indent: -10pt">Purchase of short-term investments</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PaymentsToAcquireShortTermInvestments" scale="3" unitRef="usd">49,281</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:PaymentsToAcquireShortTermInvestments" scale="3" unitRef="usd">45,450</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 20pt; text-indent: -10pt">Sale of short-term investments</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromSaleOfShortTermInvestments" scale="3" unitRef="usd">52,220</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromSaleOfShortTermInvestments" scale="3" unitRef="usd">39,046</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Proceeds from sale of real estate and property and equipment</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment" scale="3" unitRef="usd">30</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PaymentsForProceedsFromOtherInvestingActivities" scale="3" unitRef="usd">259</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash provided by (used in) investing activities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetCashProvidedByUsedInInvestingActivities" scale="3" unitRef="usd">276</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetCashProvidedByUsedInInvestingActivities" scale="3" sign="-" unitRef="usd">12,355</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from financing activities:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Treasury stock acquired</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PaymentsForRepurchaseOfCommonStock" scale="3" unitRef="usd">1,356</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:PaymentsForRepurchaseOfCommonStock" scale="3" unitRef="usd">5,590</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; text-indent: -10pt">Payments to noncontrolling interests holders</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromPaymentsToMinorityShareholders" scale="3" sign="-" unitRef="usd">1,304</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromPaymentsToMinorityShareholders" scale="3" sign="-" unitRef="usd">157</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Capital contributions from minority investor</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">139</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">23</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash used in financing activities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetCashProvidedByUsedInFinancingActivities" scale="3" sign="-" unitRef="usd">2,521</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetCashProvidedByUsedInFinancingActivities" scale="3" sign="-" unitRef="usd">5,724</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Net increase (decrease) in cash, cash equivalents and restricted cash</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" scale="3" unitRef="usd">14,912</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" scale="3" sign="-" unitRef="usd">27,113</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Cash, cash equivalents and restricted cash, beginning of period</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">146,158</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c37" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">180,771</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Cash, cash equivalents and restricted cash, end of period</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">161,070</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">153,658</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash investing activities &#8211; Accrued capital expenditures</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="rex:NonCashInvestingActivitiesAccruedCapitalExpenditures" scale="3" unitRef="usd">67</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="rex:NonCashInvestingActivitiesAccruedCapitalExpenditures" scale="3" unitRef="usd">22</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash financing activities &#8211; Stock awards accrued</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="rex:NonCashFinancingActivitiesEquityAwardsAccrued" scale="3" unitRef="usd">482</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash financing activities &#8211; Stock awards issued</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" scale="3" unitRef="usd">100</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" scale="3" unitRef="usd">240</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Right-of-use assets acquired and liabilities incurred upon lease execution</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" scale="3" unitRef="usd">3,267</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" scale="3" unitRef="usd">1,863</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Reconciliation of total cash, cash equivalents and restricted cash:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash and cash equivalents</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">154,312</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">152,708</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Restricted cash</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">6,758</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c58" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">950</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total cash, cash equivalents and restricted cash</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">161,070</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">153,658</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

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

</div><p style="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0">The accompanying notes are an integral part of these unaudited
consolidated condensed financial statements.</p><div>

</div><!-- Field: Page; Sequence: 7; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->7<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>REX AMERICAN RESOURCES CORPORATION AND
SUBSIDIARIES</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>NOTES TO UNAUDITED CONSOLIDATED CONDENSED
FINANCIAL STATEMENTS<br/>
July 31, 2021</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><div><a id="x1_c102240a007"></a></div><ix:nonNumeric contextRef="c0" continuedAt="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_2" id="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">References to the Company &#8211; References
to &#8220;REX&#8221; or the &#8220;Company&#8221; 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_3" id="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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&#8217;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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_4" id="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Basis of Consolidation &#8211; 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 <ix:nonFraction contextRef="c0" decimals="INF" format="ixt-sec:numwordsen" name="rex:NumberOfConsolidatedSubsidiaries" scale="0" unitRef="pure">four</ix:nonFraction> majority owned subsidiaries. The
Company includes the results of operations of One Earth Energy, LLC (&#8220;One Earth&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Nature of Operations &#8211; The Company
has <ix:nonFraction contextRef="c0" decimals="INF" format="ixt-sec:numwordsen" name="us-gaap:NumberOfReportableSegments" scale="0" unitRef="pure">two</ix:nonFraction> reportable segments: i) ethanol and by-products; and ii) refined coal. Within the ethanol and by-products segment, the
Company has equity investments in <ix:nonFraction contextRef="c59" decimals="INF" format="ixt-sec:numwordsen" name="us-gaap:NumberOfOperatingSegments" scale="0" unitRef="pure">three</ix:nonFraction> ethanol limited liability companies, <ix:nonFraction contextRef="c60" decimals="INF" format="ixt-sec:numwordsen" name="us-gaap:NumberOfOperatingSegments" scale="0" unitRef="pure">two</ix:nonFraction> of which are majority ownership interests. Within
the refined coal segment, the Company has a majority equity interest in <ix:nonFraction contextRef="c61" decimals="INF" format="ixt-sec:numwordsen" name="us-gaap:NumberOfOperatingSegments" scale="0" unitRef="pure">one</ix:nonFraction> refined coal limited liability company.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_1" escape="true" name="us-gaap:SignificantAccountingPoliciesTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 2. <i>Accounting Policies </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_2" id="_SignificantAccountingPoliciesTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 8; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->8<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_3" id="_SignificantAccountingPoliciesTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_4" id="_SignificantAccountingPoliciesTextBlock-c0_cont_3"><ix:nonNumeric contextRef="c0" continuedAt="_CashAndCashEquivalentsPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:CashAndCashEquivalentsPolicyTextBlock"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cash and Cash Equivalents</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_5" id="_SignificantAccountingPoliciesTextBlock-c0_cont_4"><ix:continuation id="_CashAndCashEquivalentsPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><span style="font-weight: normal">Cash and
cash equivalents includes bank deposits as well as short-term, highly liquid investments with original maturities of three months
or less.</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_6" id="_SignificantAccountingPoliciesTextBlock-c0_cont_5"><ix:nonNumeric contextRef="c0" continuedAt="_RevenueRecognitionPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:RevenueRecognitionPolicyTextBlock"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_7" id="_SignificantAccountingPoliciesTextBlock-c0_cont_6"><ix:continuation id="_RevenueRecognitionPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_8" id="_SignificantAccountingPoliciesTextBlock-c0_cont_7"><ix:nonNumeric contextRef="c0" continuedAt="_CostOfSalesPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:CostOfSalesPolicyTextBlock"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales </p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_9" id="_SignificantAccountingPoliciesTextBlock-c0_cont_8"><ix:continuation id="_CostOfSalesPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_10" id="_SignificantAccountingPoliciesTextBlock-c0_cont_9"><ix:nonNumeric contextRef="c0" continuedAt="_SellingGeneralAndAdministrativeExpensesPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Selling, General and Administrative (&#8220;SG&amp;A&#8221;)
Expenses</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_11" id="_SignificantAccountingPoliciesTextBlock-c0_cont_10"><ix:continuation id="_SellingGeneralAndAdministrativeExpensesPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company includes non-production related
costs such as professional fees, outbound freight charges, selling charges and certain payroll in SG&amp;A expenses. Outbound freight
charges were approximately $<ix:nonFraction contextRef="c4" decimals="0" format="ixt:numdotdecimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">1,561,000</ix:nonFraction> and $<ix:nonFraction contextRef="c5" decimals="0" format="ixt:numdotdecimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">839,000</ix:nonFraction> in the second quarter of fiscal years 2021 and 2020, respectively and approximately
$<ix:nonFraction contextRef="c0" decimals="0" format="ixt:numdotdecimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">7,156,000</ix:nonFraction> and $<ix:nonFraction contextRef="c6" decimals="0" format="ixt:numdotdecimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">2,162,000</ix:nonFraction> in the first six months of fiscal years 2021 and 2020, respectively.</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_12" id="_SignificantAccountingPoliciesTextBlock-c0_cont_11"><ix:nonNumeric contextRef="c0" continuedAt="_FairValueOfFinancialInstrumentsPolicy-c0_cont_1" escape="true" name="us-gaap:FairValueOfFinancialInstrumentsPolicy"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Financial Instruments</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_13" id="_SignificantAccountingPoliciesTextBlock-c0_cont_12"><ix:continuation continuedAt="_FairValueOfFinancialInstrumentsPolicy-c0_cont_2" id="_FairValueOfFinancialInstrumentsPolicy-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#8220;normal purchases and normal
sales&#8221; scope exemption of Accounting Standards Codification (&#8220;ASC&#8221;) 815, &#8220;<i>Derivatives and Hedging</i>&#8221;
(&#8220;ASC 815&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_14" id="_SignificantAccountingPoliciesTextBlock-c0_cont_13"><ix:continuation continuedAt="_FairValueOfFinancialInstrumentsPolicy-c0_cont_3" id="_FairValueOfFinancialInstrumentsPolicy-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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</p></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 9; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->9<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_15" id="_SignificantAccountingPoliciesTextBlock-c0_cont_14"><ix:continuation id="_FairValueOfFinancialInstrumentsPolicy-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_16" id="_SignificantAccountingPoliciesTextBlock-c0_cont_15"><ix:nonNumeric contextRef="c0" continuedAt="_IncomeTaxPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:IncomeTaxPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Income Taxes</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_17" id="_SignificantAccountingPoliciesTextBlock-c0_cont_16"><ix:continuation continuedAt="_IncomeTaxPolicyTextBlock-c0_cont_2" id="_IncomeTaxPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined that small changes
in estimated &#8220;ordinary&#8221; 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_18" id="_SignificantAccountingPoliciesTextBlock-c0_cont_17"><ix:continuation continuedAt="_IncomeTaxPolicyTextBlock-c0_cont_3" id="_IncomeTaxPolicyTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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 $<ix:nonFraction contextRef="c0" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxesPaid" scale="6" unitRef="usd">1.9</ix:nonFraction> million and received <ix:nonFraction contextRef="c0" decimals="0" format="ixt-sec:numwordsen" name="us-gaap:ProceedsFromIncomeTaxRefunds" scale="0" unitRef="usd">no</ix:nonFraction> refunds of
income taxes during the six months ended July 31, 2021. The Company paid income taxes of approximately $<ix:nonFraction contextRef="c6" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxesPaid" scale="6" unitRef="usd">0.3</ix:nonFraction> million and received
refunds of income taxes of approximately $<ix:nonFraction contextRef="c6" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:ProceedsFromIncomeTaxRefunds" scale="6" unitRef="usd">0.3</ix:nonFraction> million during the six months ended July 31, 2020.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_19" id="_SignificantAccountingPoliciesTextBlock-c0_cont_18"><ix:continuation id="_IncomeTaxPolicyTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As of July 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:UnrecognizedTaxBenefits" scale="0" unitRef="usd">8,655,000</ix:nonFraction> and $<ix:nonFraction contextRef="c3" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:UnrecognizedTaxBenefits" scale="0" unitRef="usd">8,380,000</ix:nonFraction>, respectively. Accrued penalties and interest were
approximately $<ix:nonFraction contextRef="c2" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued" scale="0" unitRef="usd">30,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c3" decimals="-4" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued" scale="0" unitRef="usd">20,000</ix:nonFraction> 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 $<ix:nonFraction contextRef="c62" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:UnrecognizedTaxBenefits" scale="6" sign="-" unitRef="usd">8.6</ix:nonFraction> 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_20" id="_SignificantAccountingPoliciesTextBlock-c0_cont_19"><ix:nonNumeric contextRef="c0" continuedAt="_InventoryPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:InventoryPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Inventories</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_21" id="_SignificantAccountingPoliciesTextBlock-c0_cont_20"><ix:continuation continuedAt="_InventoryPolicyTextBlock-c0_cont_2" id="_InventoryPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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
$<ix:nonFraction contextRef="c0" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:InventoryWriteDown" scale="6" unitRef="usd">1.3</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c63" decimals="-6" format="ixt:numdotdecimal" name="us-gaap:InventoryWriteDown" scale="6" unitRef="usd">1.0</ix:nonFraction> 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</p></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 10; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->10<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_22" id="_SignificantAccountingPoliciesTextBlock-c0_cont_21"><ix:continuation continuedAt="_InventoryPolicyTextBlock-c0_cont_3" id="_InventoryPolicyTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">commodity prices at a given point in time. <ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfInventoryCurrentTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfInventoryCurrentTableTextBlock">The components of
inventory are as follows as of the dates presented (amounts in thousands):</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_23" id="_SignificantAccountingPoliciesTextBlock-c0_cont_22"><ix:continuation id="_ScheduleOfInventoryCurrentTableTextBlock-c0_cont_1"><ix:continuation id="_InventoryPolicyTextBlock-c0_cont_3"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryFinishedGoodsNetOfReserves" scale="3" unitRef="usd">15,986</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryFinishedGoodsNetOfReserves" scale="3" unitRef="usd">18,346</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryWorkInProcessNetOfReserves" scale="3" unitRef="usd">6,451</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryWorkInProcessNetOfReserves" scale="3" unitRef="usd">4,374</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryRawMaterialsNetOfReserves" scale="3" unitRef="usd">19,322</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryRawMaterialsNetOfReserves" scale="3" unitRef="usd">15,160</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">41,759</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">37,880</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_24" id="_SignificantAccountingPoliciesTextBlock-c0_cont_23"><ix:nonNumeric contextRef="c63" continuedAt="_PropertyPlantAndEquipmentPolicyTextBlock-c63_cont_1" escape="true" name="us-gaap:PropertyPlantAndEquipmentPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Property and Equipment </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_25" id="_SignificantAccountingPoliciesTextBlock-c0_cont_24"><ix:continuation continuedAt="_PropertyPlantAndEquipmentPolicyTextBlock-c63_cont_2" id="_PropertyPlantAndEquipmentPolicyTextBlock-c63_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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 <ix:nonNumeric contextRef="c64" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">5</ix:nonNumeric> to <ix:nonNumeric contextRef="c65" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">40 years</ix:nonNumeric> for buildings and improvements, and <ix:nonNumeric contextRef="c66" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">2</ix:nonNumeric> to <ix:nonNumeric contextRef="c67" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">20 years</ix:nonNumeric> for
fixtures and equipment.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_26" id="_SignificantAccountingPoliciesTextBlock-c0_cont_25"><ix:continuation continuedAt="_PropertyPlantAndEquipmentPolicyTextBlock-c63_cont_3" id="_PropertyPlantAndEquipmentPolicyTextBlock-c63_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In accordance with ASC 360-10 &#8220;<i>Impairment
or Disposal of Long-Lived Assets</i>&#8221;, 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 (&#8221; COVID-19&#8221;) pandemic
on the ethanol industry and the Company&#8217;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.  </p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_27" id="_SignificantAccountingPoliciesTextBlock-c0_cont_26"><ix:continuation id="_PropertyPlantAndEquipmentPolicyTextBlock-c63_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">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&#8217;s
carrying amount exceeds its fair value, if any.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_28" id="_SignificantAccountingPoliciesTextBlock-c0_cont_27"><ix:nonNumeric contextRef="c0" continuedAt="_InvestmentPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:InvestmentPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Investments </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_29" id="_SignificantAccountingPoliciesTextBlock-c0_cont_28"><ix:continuation continuedAt="_InvestmentPolicyTextBlock-c0_cont_2" id="_InvestmentPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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 <ix:nonFraction contextRef="c68" decimals="2" format="ixt:numdotdecimal" name="rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" scale="-2" unitRef="pure">20</ix:nonFraction>% ownership interest using the equity method of accounting when the factors discussed in
ASC 323, &#8220;<i>Investments-Equity Method and Joint Ventures</i>&#8221; 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 (&#8220;Big
River&#8221;) 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.</p></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 11; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->11<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_30" id="_SignificantAccountingPoliciesTextBlock-c0_cont_29"><ix:continuation continuedAt="_InvestmentPolicyTextBlock-c0_cont_3" id="_InvestmentPolicyTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_31" id="_SignificantAccountingPoliciesTextBlock-c0_cont_30"><ix:continuation id="_InvestmentPolicyTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Short-term investments are considered held
to maturity, and therefore are carried at amortized historical cost.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_32" id="_SignificantAccountingPoliciesTextBlock-c0_cont_31"><ix:nonNumeric contextRef="c0" continuedAt="_ComprehensiveIncomePolicyPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:ComprehensiveIncomePolicyPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_33" id="_SignificantAccountingPoliciesTextBlock-c0_cont_32"><ix:continuation id="_ComprehensiveIncomePolicyPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_34" id="_SignificantAccountingPoliciesTextBlock-c0_cont_33"><ix:nonNumeric contextRef="c0" continuedAt="_NewAccountingPronouncementsPolicyPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation id="_SignificantAccountingPoliciesTextBlock-c0_cont_34"><ix:continuation id="_NewAccountingPronouncementsPolicyPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In December 2019, the Financial Accounting
Standards Board (&#8220;FASB&#8221;) issued Accounting Standards Update (&#8220;ASU&#8221;) 2019-12, &#8220;<i>Income Taxes (Topic
740): Simplifying the Accounting for Income Taxes</i>&#8221;, 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.</p></ix:continuation></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_RevenueFromContractWithCustomerTextBlock-c0_cont_1" escape="true" name="us-gaap:RevenueFromContractWithCustomerTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 3. <i>Net Sales and Revenue</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_RevenueFromContractWithCustomerTextBlock-c0_cont_2" id="_RevenueFromContractWithCustomerTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_RevenueFromContractWithCustomerTextBlock-c0_cont_3" id="_RevenueFromContractWithCustomerTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The majority of the Company&#8217;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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_RevenueFromContractWithCustomerTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 14 for disaggregation of net sales
and revenue by operating segment and by product.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:LeasesOfLesseeDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 4. <i>Leases</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_2" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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&#8217;s sole discretion. The lease term for
all of the Company&#8217;s leases includes the noncancelable period of the lease and any</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 12; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->12<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_3" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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. <ix:nonNumeric contextRef="c0" continuedAt="_LeaseCostTableTextBlock-c0_cont_1" escape="true" name="us-gaap:LeaseCostTableTextBlock">The components of lease expense, classified as SG&amp;A expenses on the Consolidated Condensed Statement of Operations
are as follows:</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_4" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_3"><ix:continuation id="_LeaseCostTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left; padding-left: 0pt">Operating lease expense</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">1,565</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">1,548</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">3,115</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">3,234</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 0pt">Variable lease expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">520</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">207</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">564</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">338</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 0pt">Total lease expense</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">2,085</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">1,755</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">3,679</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">3,572</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_5" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table is a summary of future
minimum rentals on such leases at July 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_6" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_5"><ix:continuation continuedAt="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_2" id="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px; text-align: left"><span style="border-bottom: Black 1px solid">Years Ended January 31,</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Minimum<br/>
    Rentals</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 85%; text-align: left">Remainder of 2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent" scale="3" unitRef="usd">3,015</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2023</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears" scale="3" unitRef="usd">4,836</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2024</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears" scale="3" unitRef="usd">3,670</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2025</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears" scale="3" unitRef="usd">2,221</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">2026</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears" scale="3" unitRef="usd">49</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDue" scale="3" unitRef="usd">13,791</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;present value discount</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="rex:PresentValueDiscount" scale="3" unitRef="usd">877</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseLiability" scale="3" unitRef="usd">12,914</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_7" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_6"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2021, the weighted average remaining
lease term is <ix:nonNumeric contextRef="c2" format="ixt-sec:duryear" name="us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1">2.7</ix:nonNumeric> years, and the weighted average discount rate is <ix:nonFraction contextRef="c2" decimals="4" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent" scale="-2" unitRef="pure">4.88</ix:nonFraction>% for the above leases.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_8" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_7"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table is a summary of future
minimum rentals on such leases at January 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_9" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_8"><ix:continuation id="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_2"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px; text-align: left"><span style="border-bottom: Black 1px solid">Years Ended January 31,</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Minimum<br/>
    Rentals</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 85%; text-align: left">2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent" scale="3" unitRef="usd">5,397</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2023</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears" scale="3" unitRef="usd">3,690</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2024</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears" scale="3" unitRef="usd">2,524</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2025</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears" scale="3" unitRef="usd">1,648</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">2026</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears" scale="3" unitRef="usd">49</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDue" scale="3" unitRef="usd">13,308</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;present value discount</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="rex:PresentValueDiscount" scale="3" unitRef="usd">994</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseLiability" scale="3" unitRef="usd">12,314</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>


</div><!-- Field: Page; Sequence: 13; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->13<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_9"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At January 31, 2021, the weighted average
remaining lease term was <ix:nonNumeric contextRef="c3" format="ixt-sec:duryear" name="us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1">3.0</ix:nonNumeric> years, and the weighted average discount rate was <ix:nonFraction contextRef="c3" decimals="4" format="ixt:numdotdecimal" name="us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent" scale="-2" unitRef="pure">5.26</ix:nonFraction>% for the above leases.<b> </b></p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_FairValueDisclosuresTextBlock-c0_cont_1" escape="true" name="us-gaap:FairValueDisclosuresTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 5. <i>Fair Value</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_2" id="_FairValueDisclosuresTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company applies ASC 820, &#8220;<i>Fair
Value Measurements and Disclosures&#8221;</i> (&#8220;ASC 820&#8221;), 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_3" id="_FairValueDisclosuresTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_4" id="_FairValueDisclosuresTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;s own
credit standing and other specific factors, where appropriate.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_5" id="_FairValueDisclosuresTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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. <ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock">Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2021 are summarized below (amounts in thousands):</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_6" id="_FairValueDisclosuresTextBlock-c0_cont_5"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_2" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Fair&#160;Value</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Investment in cooperative (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-0">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-1">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c71" decimals="-3" format="ixt:numdotdecimal" id="ix_4_fact" name="rex:InvestmentInCooperativeFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" id="ix_5_fact" name="rex:InvestmentInCooperativeFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Commodity futures asset (2)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-2">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c70" decimals="-3" format="ixt:numdotdecimal" id="ix_8_fact" name="us-gaap:CommodityContractAssetCurrent" scale="3" unitRef="usd">784</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-3">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" id="ix_9_fact" name="us-gaap:CommodityContractAssetCurrent" scale="3" unitRef="usd">784</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-4">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c70" decimals="-3" format="ixt:numdotdecimal" id="ix_10_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">673</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-5">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" id="ix_11_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">673</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c70" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">1,457</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c71" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">1,811</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Commodity futures liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-6">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c70" decimals="-3" format="ixt:numdotdecimal" id="ix_0_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">4,590</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-7">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" id="ix_1_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">4,590</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>


</div><!-- Field: Page; Sequence: 14; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->14<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_7" id="_FairValueDisclosuresTextBlock-c0_cont_6"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2021 are summarized below (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_8" id="_FairValueDisclosuresTextBlock-c0_cont_7"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_3" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_2"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Fair&#160;Value</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Investment in cooperative (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-8">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-9">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c74" decimals="-3" format="ixt:numdotdecimal" id="ix_6_fact" name="rex:InvestmentInCooperativeFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" id="ix_7_fact" name="rex:InvestmentInCooperativeFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts asset (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-10">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c73" decimals="-3" format="ixt:numdotdecimal" id="ix_12_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-11">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" id="ix_13_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c73" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c74" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">2,498</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Commodity futures liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-12">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c73" decimals="-3" format="ixt:numdotdecimal" id="ix_2_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-13">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" id="ix_3_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_9" id="_FairValueDisclosuresTextBlock-c0_cont_8"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_4" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) <ix:footnote id="ix_1_footnote" xml:lang="en-US">The investment in cooperative is included
in &#8220;Other assets&#8221; on the accompanying Consolidated Condensed Balance Sheets.</ix:footnote></p></ix:continuation></ix:continuation><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_10" id="_FairValueDisclosuresTextBlock-c0_cont_9"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_5" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(2) <ix:footnote id="ix_2_footnote" xml:lang="en-US">The forward purchase contracts and commodity
futures assets are included in &#8220;Prepaid expenses and other current assets&#8221; on the accompanying Consolidated Condensed
Balance Sheets.</ix:footnote></p></ix:continuation></ix:continuation><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_11" id="_FairValueDisclosuresTextBlock-c0_cont_10"><ix:continuation id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(3) <ix:footnote id="ix_0_footnote" xml:lang="en-US">The commodity futures liability is included
in &#8220;Accrued expenses and other current liabilities&#8221; on the accompanying Consolidated Condensed Balance Sheets.</ix:footnote></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_12" id="_FairValueDisclosuresTextBlock-c0_cont_11"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_FairValueDisclosuresTextBlock-c0_cont_12"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There were no assets measured at fair value
on a non-recurring basis at July 31, 2021 or January 31, 2021.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_PropertyPlantAndEquipmentDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 6. <i>Property and Equipment</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_PropertyPlantAndEquipmentTextBlock-c0_cont_1" escape="true" name="us-gaap:PropertyPlantAndEquipmentTextBlock"><ix:continuation continuedAt="_PropertyPlantAndEquipmentDisclosureTextBlock-c0_cont_2" id="_PropertyPlantAndEquipmentDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of property and equipment
are as follows for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation id="_PropertyPlantAndEquipmentDisclosureTextBlock-c0_cont_2"><ix:continuation id="_PropertyPlantAndEquipmentTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LandAndLandImprovements" scale="3" unitRef="usd">27,437</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:LandAndLandImprovements" scale="3" unitRef="usd">27,437</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:BuildingsAndImprovementsGross" scale="3" unitRef="usd">23,701</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:BuildingsAndImprovementsGross" scale="3" unitRef="usd">23,701</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MachineryAndEquipmentGross" scale="3" unitRef="usd">306,514</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:MachineryAndEquipmentGross" scale="3" unitRef="usd">305,640</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ConstructionInProgressGross" scale="3" unitRef="usd">1,173</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ConstructionInProgressGross" scale="3" unitRef="usd">215</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PropertyPlantAndEquipmentGross" scale="3" unitRef="usd">358,825</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PropertyPlantAndEquipmentGross" scale="3" unitRef="usd">356,993</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" scale="3" unitRef="usd">213,747</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" scale="3" unitRef="usd">203,807</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">145,078</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">153,186</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>


</div><!-- Field: Page; Sequence: 15; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->15<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock-c0_cont_1" escape="true" name="us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 7. <i>Accrued Expenses and Other Current Liabilities
</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfAccruedLiabilitiesTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock"><ix:continuation continuedAt="_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock-c0_cont_2" id="_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation id="_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock-c0_cont_2"><ix:continuation id="_ScheduleOfAccruedLiabilitiesTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Accrued payroll and related items</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EmployeeRelatedLiabilitiesCurrent" scale="3" unitRef="usd">1,882</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EmployeeRelatedLiabilitiesCurrent" scale="3" unitRef="usd">690</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued utility charges</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedUtilitiesCurrent" scale="3" unitRef="usd">2,708</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedUtilitiesCurrent" scale="3" unitRef="usd">2,515</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Accrued transportation related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedLiabilitiesAndOtherLiabilities" scale="3" unitRef="usd">204</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedLiabilitiesAndOtherLiabilities" scale="3" unitRef="usd">1,560</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent" scale="3" unitRef="usd">1,220</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent" scale="3" unitRef="usd">1,778</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Commodity futures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="rex:CommodityFutures" scale="3" unitRef="usd">4,590</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="rex:CommodityFutures" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedIncomeTaxes" scale="3" unitRef="usd">51</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedIncomeTaxes" scale="3" unitRef="usd">55</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherAccruedLiabilitiesCurrent" scale="3" unitRef="usd">619</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:OtherAccruedLiabilitiesCurrent" scale="3" unitRef="usd">563</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedLiabilitiesCurrent" scale="3" unitRef="usd">11,274</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:AccruedLiabilitiesCurrent" scale="3" unitRef="usd">8,955</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 8. <i>Derivative Financial Instruments </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_2" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_3" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table provides information
about the fair values of the Company&#8217;s derivative financial instruments (that are not accounted for under the &#8220;normal
purchases and normal sales&#8221; scope exemption of ASC 815) and the line items on the Consolidated Condensed Balance Sheets in
which the fair values are reflected (in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_4" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_3"><ix:continuation id="_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Asset Derivatives<br/> Fair Value</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Liability Derivatives<br/> Fair Value</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/>
2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: justify">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c81" decimals="-3" format="ixt:numdotdecimal" id="ix_14_fact" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">784</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-14">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c81" decimals="-3" format="ixt:numdotdecimal" id="ix_15_fact" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">4,590</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c82" decimals="-3" format="ixt:numdotdecimal" id="ix_16_fact" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c83" decimals="-3" format="ixt:numdotdecimal" id="ix_17_fact" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">673</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c84" decimals="-3" format="ixt:numdotdecimal" id="ix_18_fact" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-15">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-16">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">1,457</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">4,590</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_5" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">(1) Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts are short/sell positions for approximately <ix:nonFraction contextRef="c75" decimals="-5" format="ixt:numdotdecimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">8.6</ix:nonFraction>
million bushels of corn at July 31, 2021. These contracts are short/sell positions for approximately <ix:nonFraction contextRef="c76" decimals="-5" format="ixt:numdotdecimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">6.9</ix:nonFraction> million bushels of corn
at January 31, 2021. Commodity futures assets are included in prepaid expenses and other assets. These contracts are</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 16; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->16<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_6" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">long/buy positions for approximately
<ix:nonFraction contextRef="c77" decimals="-5" format="ixt:numdotdecimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">5.8</ix:nonFraction> million bushels of corn at July 31, 2021. There were <ix:nonFraction contextRef="c78" decimals="0" format="ixt-sec:numwordsen" name="rex:CommodityFuturesQuantity" scale="0" unitRef="l">no</ix:nonFraction> long/buy positions at January 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_7" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_6"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets. These contracts are for purchases of approximately <ix:nonFraction contextRef="c79" decimals="-5" format="ixt:numdotdecimal" name="rex:ForwardPurchaseContractsQuantity" scale="6" unitRef="bu">10.6</ix:nonFraction> million
bushels of corn at July 31, 2021 and <ix:nonFraction contextRef="c80" decimals="-5" format="ixt:numdotdecimal" name="rex:ForwardPurchaseContractsQuantity" scale="6" unitRef="bu">6.4</ix:nonFraction> million bushels of corn at January 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_8" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_7"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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&#8217;s derivative contract position. The Company
was required to maintain collateral in the amount of approximately $<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DebtInstrumentCollateralAmount" scale="0" unitRef="usd">6,758,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:DebtInstrumentCollateralAmount" scale="0" unitRef="usd">1,657,000</ix:nonFraction> to secure the Company&#8217;s
derivative position at July 31, 2021 and January 31, 2021, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_9" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_8"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 5 which contains fair value information
related to derivative financial instruments.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_10" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_9"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company recognized losses (included in
net sales and revenue) on derivative financial instruments of approximately $<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">1,638,000</ix:nonFraction> and $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">298,000</ix:nonFraction> 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 $<ix:nonFraction contextRef="c0" decimals="0" format="ixt:numdotdecimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">2,764,000</ix:nonFraction> and $<ix:nonFraction contextRef="c6" decimals="0" format="ixt:numdotdecimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">298,000</ix:nonFraction> for the first six months of fiscal years 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_10"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company recognized losses (included in
cost of sales) on derivative financial instruments of approximately $<ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">6,142,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">4,613,000</ix:nonFraction> 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 $<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">8,036,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">1,758,000</ix:nonFraction> for the first six months of fiscal years 2021 and 2020, respectively.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_InvestmentTextBlock-c0_cont_1" escape="true" name="us-gaap:InvestmentTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 9. <i>Investments </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_EquityMethodInvestmentsTextBlock-c0_cont_1" escape="true" name="us-gaap:EquityMethodInvestmentsTextBlock"><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_2" id="_InvestmentTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes the Company&#8217;s
equity method investment at July 31, 2021 and January 31, 2021 (dollars in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_3" id="_InvestmentTextBlock-c0_cont_2"><ix:continuation id="_EquityMethodInvestmentsTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Carrying Amount</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px"><span style="border-bottom: Black 1px solid">Entity</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-weight: bold; text-align: center">Ownership&#160;Percentage</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">January&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 47%; text-align: left; padding-left: 0pt">Big River</td><td style="width: 3%">&#160;</td>
    <td style="width: 15%; text-align: center"><ix:nonFraction contextRef="c2" decimals="3" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestmentOwnershipPercentage" scale="-2" unitRef="pure">10.3</ix:nonFraction>%</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">31,870</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">29,456</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_4" id="_InvestmentTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Undistributed earnings of the Company&#8217;s
equity method investee totaled approximately $<ix:nonFraction contextRef="c2" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" scale="6" unitRef="usd">11.8</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c3" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" scale="6" unitRef="usd">9.4</ix:nonFraction> 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 $<ix:nonFraction contextRef="c6" decimals="-6" format="ixt:numdotdecimal" name="us-gaap:EquityMethodInvestmentDividendsOrDistributions" scale="6" unitRef="usd">2.0</ix:nonFraction> million in the first six months of fiscal year 2020.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 17; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->17<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock-c0_cont_1" escape="true" name="rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_5" id="_InvestmentTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Summarized financial information for the
Company&#8217;s equity method investee is presented in the following table for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_6" id="_InvestmentTextBlock-c0_cont_5"><ix:continuation id="_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-size: 8pt; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c85" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">363,383</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c86" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">130,126</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c87" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">619,799</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c88" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Revenues" scale="3" unitRef="usd">327,758</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit (loss)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c85" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">19,357</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c86" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">3,565</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c87" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">20,901</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c88" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">2,378</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c85" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">17,877</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c86" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">4,914</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c87" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">23,412</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c88" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">9,540</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income (loss)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c85" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">17,877</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c86" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" sign="-" unitRef="usd">4,914</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c87" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">23,412</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c88" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLoss" scale="3" sign="-" unitRef="usd">9,540</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_7" id="_InvestmentTextBlock-c0_cont_6"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShortTermInvestments" scale="0" unitRef="usd">33,282,000</ix:nonFraction>. The contractual maturity of these investments
was less than one year. The yield to maturity rate was approximately <ix:nonFraction contextRef="c2" decimals="3" format="ixt:numdotdecimal" name="us-gaap:DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" scale="-2" unitRef="pure">0.1</ix:nonFraction>%. Unrealized gains or losses were insignificant.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_InvestmentTextBlock-c0_cont_7"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At January 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShortTermInvestments" scale="0" unitRef="usd">36,194,000</ix:nonFraction>. The contractual maturity of these investments
was less than one year. The yield to maturity rate was approximately <ix:nonFraction contextRef="c3" decimals="3" format="ixt:numdotdecimal" name="us-gaap:DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" scale="-2" unitRef="pure">0.2</ix:nonFraction>%. Unrealized gains or losses were insignificant.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_1" escape="true" name="us-gaap:CompensationAndEmployeeBenefitPlansTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 10. <i>Employee Benefits</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_2" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">The Company maintains
the REX 2015 Incentive Plan, approved by its shareholders, which reserves a total of <ix:nonFraction contextRef="c89" decimals="INF" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" scale="0" unitRef="shares">550,000</ix:nonFraction> 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, <ix:nonFraction contextRef="c89" decimals="INF" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" scale="0" unitRef="shares">471,027</ix:nonFraction> 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&#8217; 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&#8217;s board of directors has determined that the
grant date will be June 15<sup>th</sup>, or the next business day if June 15<sup>th</sup> is not a business day, for all grants
of restricted stock.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 18; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->18<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_3" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">At July 31, 2021 and
January 31, 2021, unrecognized compensation cost related to nonvested restricted stock was approximately $<ix:nonFraction contextRef="c90" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" scale="0" unitRef="usd">155,000</ix:nonFraction> and $<ix:nonFraction contextRef="c91" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" scale="0" unitRef="usd">272,000</ix:nonFraction>,
respectively. <ix:nonNumeric contextRef="c0" continuedAt="_NonvestedRestrictedStockSharesActivityTableTextBlock-c0_cont_1" escape="true" name="us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock">The following tables summarize non-vested restricted stock award activity for the periods presented:</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_4" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_3"><ix:continuation id="_NonvestedRestrictedStockSharesActivityTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font-family: Times New Roman, Times, Serif; margin-left: 36pt">
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="10" style="font-weight: bold; text-align: center">Six Months Ended July 31, 2021</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;">Non-Vested<br/> Shares</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Weighted<br/> Average Grant<br/> Date&#160;Fair&#160;Value<br/> (000&#8217;s)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Weighted<br/> Average&#160;Remaining<br/> Vesting Term<br/> (in years)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 55%; text-align: left">Non-Vested at January 31, 2021</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">19,705</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">1,398</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 10%; text-align: right"><ix:nonNumeric contextRef="c0" format="ixt-sec:duryear" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1">1</ix:nonNumeric></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" scale="3" unitRef="shares">2,803</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" scale="3" unitRef="usdPershares">275</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Forfeited</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" scale="3" unitRef="shares">12,447</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" scale="3" unitRef="usd">900</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Non-Vested at July 31, 2021</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">10,061</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">773</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px; text-align: right"><ix:nonNumeric contextRef="c0" format="ixt-sec:duryear" name="rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition">2</ix:nonNumeric></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>

<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td>
    <td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td>
    <td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center">Six Months Ended July 31, 2020</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/>
    Shares</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/>
    Average Grant<br/> Date&#160;Fair&#160;Value<br/> (000&#8217;s)</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/>
    Average&#160;Remaining<br/> Vesting
    Term<br/> (in years)</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 55%; font: 12pt Times New Roman, Times, Serif">Non-Vested at January 31, 2020</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c37" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">28,576</ix:nonFraction></td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c37" decimals="-3" format="ixt:numdotdecimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">2,193</ix:nonFraction></td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonNumeric contextRef="c6" format="ixt-sec:duryear" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1">2</ix:nonNumeric></td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 12pt Times New Roman, Times, Serif">Granted</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" scale="3" unitRef="shares">6,158</ix:nonFraction></td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" scale="3" unitRef="usdPershares">416</ix:nonFraction></td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 12pt Times New Roman, Times, Serif">Forfeited</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">-</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">-</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" scale="3" unitRef="shares">15,029</ix:nonFraction></td><td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" scale="3" unitRef="usd">1,211</ix:nonFraction></td><td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at July 31, 2020</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">19,705</ix:nonFraction></td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">1,398</ix:nonFraction></td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: right"><ix:nonNumeric contextRef="c6" format="ixt-sec:duryear" name="rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition">2</ix:nonNumeric></td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">The above tables include
<ix:nonFraction contextRef="c92" decimals="INF" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="0" unitRef="shares">5,714</ix:nonFraction> and <ix:nonFraction contextRef="c93" decimals="INF" format="ixt:numdotdecimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="0" unitRef="shares">14,777</ix:nonFraction> 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.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:IncomeTaxDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 11<i>. Income Taxes </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_2" id="_IncomeTaxDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined that small changes
in estimated &#8220;ordinary&#8221; 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.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 19; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->19<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_3" id="_IncomeTaxDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company&#8217;s income tax benefit was
approximately $<ix:nonFraction contextRef="c4" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" sign="-" unitRef="usd">3.7</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c5" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" sign="-" unitRef="usd">4.0</ix:nonFraction> million for the three months ended July 31, 2021 and 2020, respectively. The
Company&#8217;s income tax benefit was approximately $<ix:nonFraction contextRef="c0" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" sign="-" unitRef="usd">3.6</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c6" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" sign="-" unitRef="usd">9.4</ix:nonFraction> 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&#8217;s income tax
benefit for the first six months of fiscal year 2020 includes approximately $<ix:nonFraction contextRef="c94" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" scale="6" sign="-" unitRef="usd">1.8</ix:nonFraction> million related to the lengthening of a net operating
loss carryback allowed by the CARES Act.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_4" id="_IncomeTaxDisclosureTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_5" id="_IncomeTaxDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_6" id="_IncomeTaxDisclosureTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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. <ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock">A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is
as follows (amounts in thousands):</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_IncomeTaxDisclosureTextBlock-c0_cont_6"><ix:continuation id="_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-size: 8pt">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 74%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">8,400</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c37" decimals="-3" format="ixt:numdotdecimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">7,370</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#8217; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" scale="3" unitRef="usd">10</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" scale="3" sign="-" unitRef="usd">53</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" scale="3" unitRef="usd">275</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">8,685</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c58" decimals="-3" format="ixt:numdotdecimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">7,317</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:CommitmentsAndContingenciesDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 12. <i>Commitments and Contingencies</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_2" id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217; evaluations
of any such action(s),</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 20; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->20<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_3" id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">management is of the opinion that their outcome will not have
a material adverse effect on the Company&#8217;s Consolidated Condensed Financial Statements.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_4" id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined forward
purchase contracts for approximately <ix:nonFraction contextRef="c95" decimals="-5" format="ixt:numdotdecimal" name="rex:QuantityOfBushelsUnderForwardPurchaseContract" scale="6" unitRef="bu">10.6</ix:nonFraction> million bushels of corn, the principal raw material for their ethanol plants, and they
have combined forward purchase contracts for approximately <ix:nonFraction contextRef="c95" decimals="0" format="ixt:numdotdecimal" name="rex:QuantityOfNaturalGasUnderSalesCommitment" scale="0" unitRef="mmbtu">639,000</ix:nonFraction> MmBtu (million british thermal units) of natural gas.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_5" id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately <ix:nonFraction contextRef="c95" decimals="-5" format="ixt:numdotdecimal" name="rex:QuantityOfEthanolUnderSalesCommitment" scale="6" unitRef="gal">31.7</ix:nonFraction> million gallons of ethanol, approximately <ix:nonFraction contextRef="c95" decimals="0" format="ixt:numdotdecimal" name="rex:QuantityOfDistillersGrainsUnderSalesCommitment" scale="0" unitRef="t">46,000</ix:nonFraction> tons of distillers grains and approximately <ix:nonFraction contextRef="c95" decimals="-5" format="ixt:numdotdecimal" name="rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments" scale="6" unitRef="lb">9.6</ix:nonFraction> million
pounds of non-food grade corn oil.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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 $<ix:nonFraction contextRef="c96" decimals="-5" format="ixt:numdotdecimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">2.2</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c97" decimals="-5" format="ixt:numdotdecimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">1.1</ix:nonFraction> million in the second quarter
of fiscal years 2021 and 2020, respectively. Such fees totaled approximately $<ix:nonFraction contextRef="c98" decimals="-5" format="ixt:numdotdecimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">3.1</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c99" decimals="-5" format="ixt:numdotdecimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">1.4</ix:nonFraction> million for the
six months ended July 31, 2021 and 2020, respectively.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_RelatedPartyTransactionsDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:RelatedPartyTransactionsDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 13. <i>Related-Party Transactions</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_RelatedPartyTransactionsDisclosureTextBlock-c0_cont_2" id="_RelatedPartyTransactionsDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the second quarters of fiscal years
2021 and 2020, One Earth and NuGen purchased approximately $<ix:nonFraction contextRef="c100" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">20.7</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c101" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">4.9</ix:nonFraction> million, respectively, of corn
(and other supplies) from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately
$<ix:nonFraction contextRef="c102" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">37.4</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c103" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">17.2</ix:nonFraction> million for the six months ended July 31, 2021 and 2020, respectively. The Company had amounts
payable to related parties of approximately $<ix:nonFraction contextRef="c95" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="6" unitRef="usd">2.5</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c104" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="6" unitRef="usd">0.7</ix:nonFraction> million at July 31, 2021 and January 31, 2021,
respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_RelatedPartyTransactionsDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During each of the second quarters of fiscal
years 2021 and 2020, the Company recognized commission expense of approximately $<ix:nonFraction contextRef="c105" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd"><ix:nonFraction contextRef="c106" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">0.2</ix:nonFraction></ix:nonFraction> 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 $<ix:nonFraction contextRef="c107" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">0.2</ix:nonFraction> million and income of approximately $<ix:nonFraction contextRef="c108" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">0.1</ix:nonFraction> 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
$<ix:nonFraction contextRef="c109" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes" scale="6" unitRef="usd"><ix:nonFraction contextRef="c110" decimals="-5" format="ixt:numdotdecimal" name="us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes" scale="6" unitRef="usd">0.1</ix:nonFraction></ix:nonFraction> million at July 31, 2021 and January 31, 2021.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 21; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->21<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:nonNumeric contextRef="c0" continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_1" escape="true" name="us-gaap:SegmentReportingDisclosureTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 14. Segment Reporting</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_2" id="_SegmentReportingDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has <ix:nonFraction contextRef="c0" decimals="INF" format="ixt-sec:numwordsen" name="us-gaap:NumberOfReportableSegments" scale="0" unitRef="pure">two</ix:nonFraction> 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. <ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock">The following tables
summarize segment and other results and assets (amounts in thousands):</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_3" id="_SegmentReportingDisclosureTextBlock-c0_cont_2"><ix:continuation continuedAt="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_2" id="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net sales and revenue:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">195,678</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">39,242</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c59" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">359,720</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">122,477</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px"><span style="font-family: Times New Roman, Times, Serif">Refined coal <sup>1</sup></span></td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c114" decimals="-3" format="ixt:numdotdecimal" id="ix_19_fact" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">165</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c115" decimals="-3" format="ixt:numdotdecimal" id="ix_20_fact" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">85</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c116" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">227</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c117" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">100</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total net sales and revenue</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">195,843</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">39,327</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">359,947</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax" scale="3" unitRef="usd">122,577</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_4" id="_SegmentReportingDisclosureTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><sup>1 </sup><span style="font-family: Times New Roman, Times, Serif">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.</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_5" id="_SegmentReportingDisclosureTextBlock-c0_cont_4"><ix:continuation continuedAt="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_3" id="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_2"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Segment gross profit (loss):</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">14,155</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">553</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c59" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">33,631</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(<ix:nonFraction contextRef="c113" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">7,670</ix:nonFraction>)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c114" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">3,081</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c115" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">1,884</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c116" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">4,755</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c117" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">2,991</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total gross profit (loss)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">11,074</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">1,331</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">28,876</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:GrossProfit" scale="3" sign="-" unitRef="usd">10,661</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) before income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">10,732</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c112" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">3,259</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c59" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">21,820</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c113" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">15,610</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c114" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">3,455</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c115" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">2,118</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c116" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">5,260</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c117" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">2,965</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c118" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">902</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c119" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">702</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c120" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">1,758</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c121" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">1,247</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">6,375</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">6,079</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">14,802</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">19,822</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">(Provision) benefit for income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c111" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" unitRef="usd">1,985</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">893</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(<ix:nonFraction contextRef="c59" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" unitRef="usd">4,423</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">5,054</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c114" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">5,441</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c115" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">2,919</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c116" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">7,639</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c117" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">3,878</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c118" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">221</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c119" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">234</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c120" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">432</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c121" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">427</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total benefit for income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">3,677</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">4,046</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">3,648</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">9,359</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>


</div><!-- Field: Page; Sequence: 22; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->22<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><ix:continuation continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_6" id="_SegmentReportingDisclosureTextBlock-c0_cont_5"><ix:continuation continuedAt="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_4" id="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_3"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Net income (loss) (net of noncontrolling interests):</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">6,418</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(<ix:nonFraction contextRef="c112" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">2,178</ix:nonFraction>)</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c59" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">14,374</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(<ix:nonFraction contextRef="c113" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">9,611</ix:nonFraction>)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c114" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">2,139</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c115" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">898</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c116" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">2,612</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c117" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">1,048</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c118" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">681</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c119" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">468</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c120" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">1,326</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(<ix:nonFraction contextRef="c121" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">820</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">7,876</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">1,748</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" unitRef="usd">15,660</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" scale="3" sign="-" unitRef="usd">9,383</ix:nonFraction>)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>
</div><div>
</div><ix:continuation continuedAt="_SegmentReportingDisclosureTextBlock-c0_cont_7" id="_SegmentReportingDisclosureTextBlock-c0_cont_6"><ix:nonNumeric contextRef="c142" escape="true" name="us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">Assets:</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 71%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c143" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">424,470</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 6%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c144" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">397,281</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c145" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">1,540</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c146" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">2,861</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c147" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">79,497</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c148" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">79,203</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">505,507</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:Assets" scale="3" unitRef="usd">479,345</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>
</div><ix:continuation id="_SegmentReportingDisclosureTextBlock-c0_cont_7"><ix:continuation id="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_4"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">Sales of products, ethanol and by-products segment:</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; padding-left: 0pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">153,990</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">32,524</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c59" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">280,059</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">93,121</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c122" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">31,573</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c123" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">5,480</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c124" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">62,691</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c125" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">24,398</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 0pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c126" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">9,813</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c127" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">1,313</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c128" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">15,407</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c129" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">4,501</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c130" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">1,934</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c131" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">209</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c132" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">4,227</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c133" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">666</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 0pt">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c134" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" sign="-" unitRef="usd">1,638</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c135" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" sign="-" unitRef="usd">298</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c136" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" sign="-" unitRef="usd">2,764</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c137" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" sign="-" unitRef="usd">298</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 0pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c138" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">6</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c139" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">14</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c140" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">100</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><ix:nonFraction contextRef="c141" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">89</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 0pt">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c4" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">195,678</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">39,242</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">359,720</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">122,477</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Sales of products, refined coal segment:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 0pt">Refined coal</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c114" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">165</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c115" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">85</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c116" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">227</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c117" decimals="-3" format="ixt:numdotdecimal" name="us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax" scale="3" unitRef="usd">100</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>


</div><!-- Field: Page; Sequence: 23; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->23<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><div><a id="x1_c102240a008"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 2.  <i>Management&#8217;s Discussion and Analysis of Financial
Condition and Results of Operations</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Ethanol and By-Products</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2021, investments in our ethanol
business include equity investments in three ethanol limited liability companies, two of which we have a majority ownership interest
in. The following table is a summary of ethanol gallons shipped at our plants:</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr>
    <td style="width: 47%; padding-bottom: 1pt; border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-left: 5pt; padding-right: 5pt; text-align: center; vertical-align: middle"><span style="font-family: Times New Roman, Times, Serif"><b>Entity</b></span></td>
    <td style="vertical-align: top; width: 17%; padding-bottom: 1pt; border: Black 1px solid; text-align: center; font-family: Times New Roman, Times, Serif; padding-right: 5pt; padding-left: 5pt"><span style="font-size: 12pt"><b>Trailing 12<br/>
Months<br/>
Ethanol<br/>
Gallons<br/>
Shipped</b></span></td>
    <td style="vertical-align: top; width: 14%; padding-bottom: 1pt; border-top: Black 1px solid; border-bottom: Black 1px solid; text-align: center; font-family: Times New Roman, Times, Serif; padding-right: 5pt; padding-left: 5pt"><span style="font-size: 12pt"><b>REX&#8217;s<br/>
Current<br/>
Effective<br/>
Ownership<br/>
Interest</b></span></td>
    <td style="vertical-align: top; width: 22%; padding-bottom: 1pt; border: Black 1px solid; text-align: center; font-family: Times New Roman, Times, Serif; padding-right: 5pt; padding-left: 5pt"><span style="font-size: 12pt"><b>Current Effective<br/>
Ownership of<br/>
Trailing 12<br/>
Months Ethanol<br/>
Gallons Shipped</b></span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-left: 5pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">One Earth Energy, LLC</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">143.9 M</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">75.6%</span></td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">108.8 M</span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-left: 5pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">NuGen Energy, LLC</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">137.4 M</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">99.7%</span></td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">137.0 M</span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-left: Black 1px solid; padding-left: 5pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">Big River Resources, LLC:</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt">&#160;</td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-left: Black 1px solid; padding-left: 10pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">Big River Resources W Burlington, LLC</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid; border-left: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">108.5 M</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">10.3%</span></td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">11.2 M</span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-left: Black 1px solid; padding-left: 10pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">Big River Resources Galva, LLC</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid; border-left: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">119.6 M</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">10.3%</span></td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">12.3 M</span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-left: Black 1px solid; padding-left: 10pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">Big River United Energy, LLC</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid; border-left: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">126.4 M</span></td>
    <td style="padding-bottom: 1pt; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">5.7%</span></td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">7.2 M</span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-left: 10pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">Big River Resources Boyceville, LLC</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">62.6 M</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">10.3%</span></td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">6.5 M</span></td></tr>
<tr style="vertical-align: top">
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-left: 5pt; padding-right: 5pt"><span style="font-family: Times New Roman, Times, Serif">Total </span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt; border-right: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif">698.4 M</span></td>
    <td style="padding-bottom: 1pt; border-bottom: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt">&#160;</td>
    <td style="padding-bottom: 1pt; border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; text-align: right; padding-right: 5pt; padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">283.0 M</span></td></tr>
</table><div>
</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our ethanol operations and the results thereof
are highly dependent on commodity prices, especially prices for corn, ethanol, distillers grains, non-food grade corn oil and natural
gas and availability of corn. As a result of price volatility for these commodities, our operating results can fluctuate substantially.
The price and availability of corn is subject to significant fluctuations depending upon several factors that affect commodity
prices in general, including crop conditions, the amount of corn stored on farms, weather, federal policy and foreign trade. Because
the market prices of ethanol and distillers grains are not always directly related to corn prices (for example, demand for crude
and other energy and related prices, the export market demand for ethanol and distillers grains, soybean meal prices, and the results
of federal policy decisions and trade negotiations can impact ethanol and distillers grains prices), at times ethanol and distillers
grains prices may not follow movements in corn prices and, in an environment of higher corn prices or lower ethanol or distillers
grains prices, reduce the overall margin structure at the plants. As a result, at times, we may operate our plants at negative
or minimally positive operating margins.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We expect our ethanol plants to produce approximately
2.8 gallons of denatured ethanol for each bushel of grain processed in the production cycle. We refer to the actual gallons of
denatured ethanol produced per bushel of grain processed as the realized yield. We refer to the difference between the price per
gallon of ethanol and the price per bushel of grain (divided by the realized yield) as the &#8220;crush spread&#8221;. Should the
crush spread decline, it is possible that our ethanol plants will generate operating results that do not provide adequate cash
flows for sustained periods of time. In such cases, production at the ethanol plants may be reduced or stopped altogether in order
to minimize variable costs at individual plants.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We attempt to manage the risk related to
the volatility of commodity prices by utilizing forward grain purchase, forward ethanol, distillers grains and corn oil sale contracts
and commodity futures</p><div>

</div><!-- Field: Page; Sequence: 24; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->24<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">agreements, as management deems appropriate. We attempt to match
quantities of these sale contracts with an appropriate quantity of grain purchase contracts over a given period of time when we
can obtain an adequate gross margin resulting from the crush spread inherent in the contracts we have executed. However, the market
for future ethanol sales contracts generally lags the spot market with respect to ethanol price. Consequently, we generally execute
fixed price ethanol contracts for no more than four months into the future at any given time and we may lock in our corn or ethanol
price without having a corresponding locked in ethanol or corn price for short durations of time. As a result of the relatively
short period of time our fixed price contracts cover, we generally cannot predict the future movements in our realized crush spread
for more than four months; thus, we are unable to predict the likelihood or amounts of future income or loss from the operations
of our ethanol facilities. We utilize derivative financial instruments, primarily exchange traded commodity future contracts, in
conjunction with certain of our grain procurement activities.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Refined Coal </b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On August 10, 2017, we purchased the entire
ownership interest of an entity that owns a refined coal facility, along with a minority partner, for approximately $12.0 million.
We own 95.35% of the entity. We began operating the refined coal facility immediately after the acquisition. We expect that the
revenues from the sale of refined coal produced in the facility will be subsidized by federal production tax credits through November
18, 2021, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code. In order to
maintain compliance with Section 45 of the Internal Revenue Code, we are required to test the effectiveness of our process with
respect to emissions reductions every six months through an independent laboratory. Annually, the IRS publishes the amount of federal
income tax credit earned per ton of refined coal produced and sold. We expect to earn credits at the rate of approximately $7.38
per ton of refined coal produced and sold during calendar year 2021. The tax credits can be earned for refined coal produced and
sold by our facility through November 18, 2021. Absent the tax credits, our refined coal operations would not be profitable and
we expect to cease operations at that time. At the conclusion of the operations we are obligated to remove the equipment from the
site but do not expect the cost to be significant.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The refined coal facility is located at the
site of a utility-owned electrical generating power station, which is our refined coal operation&#8217;s sole customer. Refined
coal production and sales vary depending on fluctuations in demand from the site host utility, which generally changes based upon
weather conditions in the geographic markets, competing energy prices, lack of supplies and the state of the local economy. We
have contracted with an experienced third party to operate and maintain the refined coal facility and to provide us with management
reporting and operating data as required. We do not have any employees on site at the refined coal facility.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Future Energy</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During fiscal year 2013, we entered into
a joint venture with Hytken HPGP, LLC (&#8220;Hytken&#8221;) to file and defend patents for eSteam technology relating to heavy
oil and oil sands production methods, and to commercially exploit the technology to generate license fees, royalty income and development
opportunities. The patented technology is an enhanced method of heavy oil recovery involving zero emissions downhole steam generation.
We own 60% and Hytken owns 40% of the entity named Future Energy, LLC (&#8220;Future Energy&#8221;).</p><div>

</div><!-- Field: Page; Sequence: 25; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->25<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We have agreed to fund direct patent expenses
relating to patent applications and defense, annual annuity fees and maintenance on a country by country basis, with the right
to terminate funding and transfer related patent rights to Hytken. We have funded all costs relating to new intellectual property,
consultants, research and development, pilot field tests and equipment purchases with respect to the proposed commercialization
stage of the technology. To date, we have paid and expensed approximately $2.5 million cumulatively to purchase our ownership interest
and fund patent and other expenses. We have not yet tested or proven the commercial feasibility of the technology.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Critical Accounting Policies and Estimates </b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the three months ended July 31, 2021,
we did not change any of our critical accounting policies as disclosed in our 2020 Annual Report on Form 10-K as filed with the
Securities and Exchange Commission on April 12, 2021.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Fiscal Year</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">All references in this report to a particular
fiscal year are to REX&#8217;s fiscal year ended January 31. For example, &#8220;fiscal year 2021&#8221; means the period February 1, 2021
to January 31, 2022.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Results of Operations</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Trends and Uncertainties </b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In recent years, operating results in our
ethanol and by-products segment have been, at times affected by a weak margin environment including such factors as higher costs
for corn, including increased basis over index pricing, lower availability of local corn, lower ethanol demand and the EPA granting
small refiner waivers.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the early months of 2020, COVID-19
spread into the United States and other countries. In an effort to contain the spread of this virus, there were various government
mandated restrictions, in addition to voluntary privately implemented restrictions, including limiting public gatherings, retail
store closures, restrictions on employees working and the quarantining of people who may have been exposed to the virus. This led
to reduced demand for gasoline and ethanol, which consequently resulted in historically low ethanol pricing. As a result, we idled
our NuGen and One Earth ethanol plants in March of 2020. In May of 2020, businesses and other activities slowly began to reopen,
which led to an increase in demand for gasoline and ethanol, and in related prices. As a result, we resumed production operations
at the One Earth ethanol plant in late May of 2020 and at NuGen in late June of 2020. In addition, actions by the Federal Reserve
related to the COVID-19 outbreak, reduced interest rates. Given the amount of cash and short-term investments we have, this has
reduced our interest income and could continue in future periods, depending on the length of time interest rates remain at these
levels. The impacts of the COVID-19 outbreak on our business operations, including the recent Delta variant, cannot be reasonably
estimated at this time, although a prolonged production stoppage at our plants could have a material adverse impact on our results
of operations, financial condition and cash flows in future periods.</p><div>

</div><!-- Field: Page; Sequence: 26; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->26<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Congress passed the
CARES Act in March 2020, which provided the United States department of Agriculture (&#8220;USDA&#8221;) with additional funding
from the &#8220;Commodity Credit Corporation. The USDA is using this additional funding to provide direct payments to farmers,
including farmers that we purchase corn from. Such direct payments to farmers could cause further delays in marketing decisions.
Consequently, this could reduce the supply of available corn and could result in a price increase. In addition, China has been
purchasing large quantities of corn, which has led to higher prices for corn. We have experienced an increase in the local basis
price paid over Chicago Board of Trade for corn during the first six months of fiscal year 2021.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Renewable Fuel Standard II (&#8220;RFS II&#8221;),
established in October 2010, has been an important factor in the growth of ethanol usage in the United States. When it was originally
established by Congress, RFS II required the volume of &#8220;conventional&#8221; or corn derived ethanol to be blended with gasoline
to increase each year until it reached 15.0 billion gallons in 2015 and was to remain at that level through 2022. There are no
established congressional target volumes beginning in 2023. The EPA has the authority to waive the biofuel mandate, in whole or
in part, if there is inadequate domestic renewable fuel supply or the requirement severely harms the domestic economy or environment.
On December 19, 2019, the EPA announced the final 2020 renewable volume obligation for conventional ethanol, which met the 15.0
billion gallons congressional target. The EPA has missed its deadline and has not yet released a draft renewable volume obligation
rule for the 2021 volumes. On April 15, 2020, five state Governors sent a letter to the EPA requesting a general waiver of the
RFS II requirements due to the drop in demand caused by COVID-19 travel restrictions. On October 21, 2020, 15 U.S. Senators sent
a letter to the EPA requesting a general waiver of the RFS II requirements to reduce the 2021 renewable volume obligation, citing
the reduced demand for fuels due to COVID-19. </p><div>
</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On June 25, 2021, the Supreme Court of the United States ruled in favor of small refiners and reversed a portion of the decision by the U.S. Court of Appeals for the 10th Circuit on small refiner waivers (SRWs).
It only reversed the interpretation of &#8220;extension&#8221; of a waiver but not the economic hardship portion of the decision. It remains unclear how the Supreme Court decision may impact the EPA&#8217;s handling of SRWs.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Throughout fiscal year 2020 and the first six
months of fiscal year 2021, operating results in our refined coal segment were affected by inconsistent utility plant demand (our
only customer). By November 18, 2021, we expect to cease these operations and the resulting earning of production tax credits, as
based upon current legislation this facility will no longer be eligible to earn additional tax credits beyond that date.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Should these trends and uncertainties continue,
our future operating results are likely to be negatively impacted.</p><div>

</div><!-- Field: Page; Sequence: 27; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->27<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 36pt 0pt 0"><b>Comparison of Three and Six Months Ended July 31,
2021 and 2020</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 36pt 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following sections discuss the results
of operations for each of our business segments and corporate and other. Amounts in the corporate and other category include activities
that are not separately reportable or related to a segment. We have two reportable segments: i) ethanol and by-products; and ii)
refined coal. We evaluate the performance of each reportable segment using net income attributable to REX common shareholders.
Segment profitability measures are determined using the same accounting policies used in the preparation of the consolidated financial
statements. The following tables summarizes segment and other results (amounts in thousands):</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net sales and revenue:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">195,678</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">39,242</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">359,720</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">122,477</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px"><span style="font-family: Times New Roman, Times, Serif">Refined coal <sup>1</sup></span></td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">165</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">85</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">227</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">100</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total net sales and revenue</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">195,843</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">39,327</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">359,947</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">122,577</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><sup>1 </sup><span style="font-family: Times New Roman, Times, Serif">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.</span></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Segment gross profit (loss):</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">14,155</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">553</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">33,631</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(7,670)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(3,081)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,884)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(4,755)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(2,991)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total gross profit (loss)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">11,074</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(1,331)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">28,876</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(10,661)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) before income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">10,732</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(3,259)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">21,820</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(15,610)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(3,455)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,118)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(5,260)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,965)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(902)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(702)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,758)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,247)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">6,375</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(6,079)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">14,802</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(19,822)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">(Provision) benefit for income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(1,985)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">893</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,423)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,054</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,441</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,919</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,639</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,878</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">221</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">234</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">432</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">427</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total benefit for income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,677</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,046</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,648</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">9,359</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>


</div><!-- Field: Page; Sequence: 28; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->28<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Net income (loss) (net of noncontrolling interests):</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">6,418</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(2,178)</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">14,374</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(9,611)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,139</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">898</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,612</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,048</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(681)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(468)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,326)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(820)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,876</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(1,748)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">15,660</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(9,383)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes net sales
and revenue from the ethanol and by-products segment (amounts in thousands):</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">153,990</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">32,524</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">280,059</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">93,121</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">31,573</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,480</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">62,691</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">24,398</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,813</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,313</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">15,407</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,501</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,934</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">209</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,227</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">666</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,638)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(298)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,764)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(298)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">6</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">100</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">89</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">195,678</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">39,242</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">359,720</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">122,477</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>


</div><!-- Field: Page; Sequence: 29; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->29<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes selected data from the ethanol
and by-products segment:</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%">Average selling price per gallon of ethanol (net of hedging)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">2.21</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1.23</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">2.02</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1.25</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gallons of ethanol sold (in millions)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">69.0</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">26.5</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">139.0</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">74.8</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Average selling price per ton of dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">206.78</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">135.54</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">207.84</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">143.24</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Tons of dried distillers grains sold</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">152,689</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">40,429</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">301,640</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">170,324</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Average selling price per pound of non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">0.47</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">0.24</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">0.41</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">0.25</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Pounds of non-food grade corn oil sold (in millions)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">20.7</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5.4</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">37.8</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">18.1</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Average selling price per ton of modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">90.54</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">31.87</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">79.13</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">49.32</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Tons of modified distillers grains sold</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">21,361</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,566</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">53,421</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,507</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Average cost per bushel of grain</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">6.45</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3.63</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5.86</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3.86</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Average cost of natural gas (per MmBtu)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3.30</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">2.92</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3.24</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3.60</td><td style="text-align: left">&#160;</td></tr>
</table><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net sales and revenue in the quarter ended
July 31, 2021 increased approximately 398% compared to the prior year&#8217;s second quarter. Net sales and revenue in the first
six months of fiscal year 2021 increased approximately 194%. We had significantly lower production and sales volumes in our ethanol
and by-products segment during the first six months of fiscal year 2020, as diminished local availability of corn at the NuGen
facility, the effects of the COVID-19 outbreak and lower ethanol pricing resulted in the idling of the NuGen and One Earth ethanol
plants in March of 2020. We resumed production operations at One Earth in late May of 2020 and at NuGen in late June of 2020. Both
of our consolidated plants produced at or near capacity during the first six months of fiscal year 2021.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Ethanol sales increased in the second quarter
of fiscal year 2021 compared to the second quarter of fiscal year 2020 as the number of gallons sold increased 160% and the average
selling price per gallon increased 80% over the prior year second quarter. Ethanol sales increased in the first six months of fiscal
year 2021 compared to the first six months of fiscal year 2020 as the number of gallons sold increased 86% and the average selling
price per gallon increased 62% over the prior fiscal year. The increase in the ethanol selling price resulted primarily from an
increase in demand and an increase in commodity prices.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Dried distillers grains sales increased in
the second quarter of fiscal year 2021 compared to the second quarter of fiscal year 2020 as the number of tons sold increased
278% and the average selling price per ton increased 53% over the prior year second quarter. Dried distillers grains sales increased
in the first six months of fiscal year 2021 compared to the first six months of fiscal year 2020 as the number of tons sold increased
77% and the average selling price per ton increased 45% over the prior fiscal year. The increase in the dried distillers grains
selling price resulted primarily from increased demand and an increase in corn prices as dried distillers grains prices often correlate
with corn pricing.</p><div>

</div><!-- Field: Page; Sequence: 30; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->30<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Non-food grade corn oil sales increased in
the second quarter of fiscal year 2021 compared to the second quarter of fiscal year 2020 as the number of pounds sold increased
283% and the average selling price per pound increased 96% over the prior year second quarter. Non-food grade corn oil sales increased
in the first six months of fiscal year 2021 compared to the first six months of fiscal year 2020 as the number of pounds sold increased
109% and the average selling price per pound increased 64% over the prior year fiscal year. The increase in the non-food grade
corn oil selling price resulted primarily from an increase in demand from the biodiesel industry.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Modified distillers grains sales increased
in the second quarter of fiscal year 2021 compared to the second quarter of fiscal year 2020 as the number of tons sold increased
225% and the average selling price per ton increased 184% over the prior year second quarter. Modified distillers grains sales
increased in the first six months of fiscal year 2021 compared to the first six months of fiscal year 2020 as the number of tons
sold increased 296% and the average selling price per ton increased 60% over the prior year fiscal year. The increase in the modified
distillers grains selling price resulted primarily from an increase in corn prices and increased local demand.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Losses on derivative financial instruments,
included in net sales and revenue, of approximately $1.6 million in the second quarter of fiscal year 2021 related to our risk
management activities and were impacted by the increase in ethanol prices during that quarter. There were losses on derivative
financial instruments of approximately $0.3 million during the second quarter of fiscal year 2020. Losses on derivative financial
instruments, included in net sales and revenue, were approximately $2.8 million in the first six months of fiscal year 2021 compared
to $0.3 million in the first six months of fiscal year 2020.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gross profit for the second quarter of fiscal
year 2021 increased approximately $12.4 million compared to the prior year&#8217;s second quarter. This was primarily caused by
significantly higher production and sales volumes in our ethanol and by-products segment during the second quarter of fiscal year
2021 compared to the reduced levels during the second quarter of fiscal year 2020 discussed above. The crush spread for the second
quarter of fiscal year 2021 was approximately break-even per gallon of ethanol sold compared to $(0.04) per gallon of ethanol sold
during the second quarter of fiscal year 2020. The selling price per gallon of ethanol sold increased 80% for the second quarter
of fiscal year 2021 compared to the second quarter of fiscal year 2020, slightly outpacing the 78% increase in the cost per bushel
of corn during the same periods. In addition, higher sales volumes discussed above and prices of by-products contributed to the
increase in gross profit during the second quarter of fiscal year 2021 compared to the second quarter of fiscal year 2020. During
the second quarter of fiscal year 2020 the impact from the COVID-19 outbreak and lower gasoline pricing resulted in lower ethanol
and corn pricing which severely impacted operations and resulted in the consolidated ethanol plants being idled for a portion of
the quarter.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Grain accounted for approximately 86% ($156.2
million) of our cost of sales during the second quarter of fiscal year 2021 compared to approximately 68% ($26.1 million) during
the second quarter of fiscal year 2020. Natural gas accounted for approximately 3% ($6.2 million) of our cost of sales during the
second quarter of fiscal year 2021 compared to approximately 5% ($1.9 million) during the second quarter of fiscal year 2020. The
grain and natural gas expenditure increases were primarily attributable to the higher production levels in the second quarter of
fiscal year 2021 compared to the reduced production levels in the second quarter of fiscal year 2020 and the significant rise in
corn prices during the second quarter of fiscal year 2021.</p><div>

</div><!-- Field: Page; Sequence: 31; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->31<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gross profit for the first six months of
fiscal year 2021 increased approximately $39.5 million compared to the first six months of the prior year. This was primarily the
result of significantly higher production and sales volumes in our ethanol and by-products segment during the first six months
of fiscal year 2021 compared to the reduced levels during the first six months of fiscal year 2020 discussed above. The crush spread
for the first six months of fiscal year 2021 was approximately $0.02 per gallon of ethanol sold compared to $(0.08) per gallon
of ethanol sold during the first six months of fiscal year 2020. The selling price per gallon of ethanol sold increased 62% for
the first six months of fiscal year 2021 compared to the first six months of fiscal year 2020, outpacing the 52% increase in the
cost per bushel of corn during the same periods. In addition, higher sales volumes discussed above and prices of by-products contributed
to the increase in gross profit during the first six months of fiscal year 2021 compared to the first six months of fiscal year
2020. During the first six months of fiscal year 2020 the impact from the COVID-19 outbreak and lower gasoline pricing resulted
in lower ethanol and corn pricing which severely impacted operations and resulted in the consolidated ethanol plants being idled
for a portion of the year and the large gross loss.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Grain accounted for approximately 85% ($278.2
million) of our cost of sales during the first six months of fiscal year 2021 compared to approximately 73% ($94.8 million) during
the first six months of fiscal year 2020. Natural gas accounted for approximately 3% ($9.9 million) of our cost of sales during
the first six months of fiscal year 2021 compared to approximately 6% ($7.3 million) during the first six months of fiscal year
2020. The grain increase was primarily attributable to the higher production levels in the first six months of fiscal year 2021
compared to the reduced production levels in the first six months of fiscal year 2020 and the significant rise in corn prices during
the first six months of fiscal year 2021. The natural gas unit price decrease was primarily attributable to gains realized on the
sales of unused natural gas during the first quarter of fiscal year 2021. The sales were a result of unusual and significant increases
in the spot price of natural gas during portions of the first quarter of fiscal year 2021 which resulted in an opportunity for
us to sell forward natural gas purchases at a gain.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We attempt to match quantities of ethanol,
distillers grains and non-food grade corn oil sales contracts with an appropriate quantity of grain purchase contracts over a given
time period when we can obtain a satisfactory margin resulting from the crush spread inherent in the contracts we have executed.
However, the market for future ethanol sales contracts generally lags the spot market with respect to ethanol price. Consequently,
we generally execute fixed price sales contracts for no more than four months into the future at any given time and we may lock
in our corn or ethanol price without having a corresponding locked in ethanol or corn price for short durations of time. As a result
of the relatively short period of time our contracts cover, we generally cannot predict the future movements in our realized crush
spread for more than four months.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">SG&amp;A expenses were approximately $6.6
million for the second quarter of fiscal year 2021, significantly higher than the approximately $4.4 million of expenses for the
second quarter of fiscal year 2020. SG&amp;A expenses were approximately $16.6 million for the first six months of fiscal year
2021, significantly higher than the approximately $9.0 million of expenses for the first six months of fiscal year 2020. A majority
of the increase results from higher shipping costs as more sales contracts in our ethanol and by-products segment provided for
shipping to be paid by us in the second quarter of fiscal year 2021 compared to the second quarter of fiscal year 2020. In addition,
there was an increase in incentive compensation associated with higher profitability in fiscal year 2021.</p><div>

</div><!-- Field: Page; Sequence: 32; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->32<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the second quarter of fiscal year
2021, we recognized income of approximately $1.8 million compared to a loss of approximately $0.5 million for the second quarter
of fiscal year 2020, from our equity investment in Big River, which is included in our ethanol and by-products segment results.
We recognized income of approximately $2.4 million during the first six months of fiscal year 2021 compared to a loss of approximately
$1.0 million during the first six months of fiscal year 2020. Big River has interests in four ethanol production plants that shipped
approximately 417 million gallons in the trailing twelve months ended July 31, 2021 and has an effective ownership of ethanol gallons
shipped for the same period of approximately 361 million gallons. Big River&#8217;s operations also include agricultural elevators.
Due to the inherent volatility of commodity prices within the ethanol industry, we cannot predict the likelihood of future operating
results from Big River being similar to historical results.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Interest and other income was approximately
$39,000 for the second quarter of fiscal year 2021 versus approximately $197,000 for the second quarter of fiscal year 2020. Interest
and other income was approximately $82,000 for the first six months of fiscal year 2021 versus approximately $866,000 for the first
six months of fiscal year 2020. Interest income decreased as yields on our excess cash decreased in the first six months of fiscal
year 2021 compared to the first six months of fiscal year 2020.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, income before
income taxes was approximately $6.4 million for the second quarter of fiscal year 2021 versus a loss of approximately $6.1 million
for the second quarter of fiscal year 2020. Income before income taxes was approximately $14.8 million versus a loss of approximately
$19.8 million for the first six months of fiscal years 2021 and 2020, respectively.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We determined that small changes in estimated
&#8220;ordinary&#8221; 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. Our income tax benefit was approximately $3.7 million and approximately $4.0 million for the three months
ended July 31, 2021 and 2020, respectively, and 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. Our 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.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, net income
was approximately $10.1 million for the second quarter of fiscal year 2021 compared to net loss of approximately $2.0 million for
the second quarter of fiscal year 2020. Net income was approximately $18.5 million for the first six months of fiscal year 2021
compared to net loss of approximately $10.5 million for the first six months of fiscal year 2020.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Income related to noncontrolling interests
was approximately $2.2 million for the second quarter of fiscal year 2021 compared to a loss of $0.3 million for the second quarter
of fiscal years 2020. Income related to noncontrolling interests was approximately $2.8 million for the six months of fiscal year
2021 compared to a loss of approximately $1.1 million for the first six months of fiscal years 2020. These amounts represent the
other owners&#8217; share of the income or loss of NuGen, One Earth and the refined coal entity.</p><div>

</div><!-- Field: Page; Sequence: 33; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->33<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, net income
attributable to REX common shareholders for the second quarter of fiscal year 2021 was approximately $7.9 million, an increase
of approximately $9.6 million from net loss attributable to REX common shareholders of approximately $1.7 million for the second
quarter of fiscal year 2020. Net income attributable to REX common shareholders for the first six months of fiscal year 2021 was
approximately $15.7 million, an increase of approximately $25.0 million from net loss attributable to REX common shareholders of
approximately $9.4 million for the first six months of fiscal year 2020.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Liquidity and Capital Resources </b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net cash provided by operating activities
was approximately $17.2 million for the first six months of fiscal year 2021, compared to cash used of approximately $9.0 million
for the first six months of fiscal year 2020. For the first six months of fiscal year 2021, cash was provided by net income of
approximately $18.5 million, adjusted for non-cash items of approximately $6.6 million, which consisted of depreciation, amortization
of operating lease right-of-use assets, income from equity method investments, interest income from short-term investments, the
deferred income tax provision and stock based compensation expense. An increase in the balance of accounts receivable used cash
of approximately $9.8 million, primarily a result of the timing of products shipped and the receipt of customer payments at One
Earth and NuGen in addition to higher sales and pricing. Inventories increased by approximately $3.9 million, primarily a result
of the timing of receipt of raw materials and the shipment of finished goods, as well as an increase in the pricing of raw materials.
A decrease in the balance of other assets of approximately $0.3 million primarily relates to changes in the carrying value of forward
purchase contracts recorded at fair value. An increase in the balance of refundable income taxes of approximately $0.9 million
primarily relates to estimated federal and state income tax payments made during fiscal year 2021. An increase in the balance of
accounts payable provided cash of approximately $5.5 million, which was primarily a result of the timing of inventory receipts
and vendor payments. An increase in the balance of other liabilities provided cash of approximately $0.9 million, which was primarily
a result of operating lease payments.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net cash used in operating activities was
approximately $9.0 million for the first six months of fiscal year 2020. For the first six months of fiscal year 2020, cash was
used by a net loss of approximately $10.5 million, adjusted for non-cash items of approximately $9.3 million, which consisted of
depreciation, amortization of operating lease right-of-use assets, loss from equity method investments, interest income from short-term
investments, the deferred income tax provision and stock based compensation expense. We received dividends from Big River of approximately
$2.0 million during the first six months of fiscal year 2020. A decrease in the balance of accounts receivable provided cash of
approximately $3.2 million, which was primarily a result of the timing of customer shipments and payments as well as lower commodity
prices. Inventories decreased by approximately $5.3 million, which was primarily a result of the timing of receipt of raw materials,
shipments of finished goods and lower commodity prices. An increase in the balance of refundable income taxes of approximately
$4.6 million primarily relates to a net operating loss we intend to carry back for federal income tax purposes. A decrease in the
balance of accounts payable used cash of approximately $10.3 million, which was primarily a result of the timing of inventory receipts
and vendor payments. A decrease in the balance of other liabilities used cash of approximately $2.9 million, which was primarily
a result of payments of operating leases and incentive compensation.</p><div>

</div><!-- Field: Page; Sequence: 34; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->34<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2021, working capital was approximately
$246.0 million, compared to approximately $228.0 million at January 31, 2021. The ratio of current assets to current liabilities
was 7.4 to 1 at July 1, 2021 and 8.4 to 1 at January 31, 2021.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $0.3 million was provided
by investing activities for the first six months of fiscal year 2021, compared to approximately $12.4 million used during the first
six months of fiscal year 2020. During the first six months of fiscal year 2021, we had capital expenditures of approximately $2.7
million, primarily for improvements at the One Earth and NuGen facilities. We expect capital expenditures to be in the range of
approximately $3.0 million to $5.0 million for the remainder of fiscal year 2021. During the first six months of fiscal year 2021,
we purchased certificates of deposit (classified as short-term investments) of approximately $49.3 million. During the first six
months of fiscal year 2021, certificates of deposit (classified as short-term investments) of approximately $52.2 million matured.
The certificates of deposit had maturities of less than one year. Depending on investment options available, we may elect to retain
the funds, or a portion thereof, in cash investments, short-term investments or long-term investments.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $12.4 million was used
in investing activities for the first six months of fiscal year 2020. During the first six months of fiscal year 2020, we had capital
expenditures of approximately $5.7 million, primarily for the purchase of land at One Earth Energy. During the first six months
of fiscal year 2020, we purchased certificates of deposit (classified as short-term investments) of approximately $45.5 million.
During the first six months of fiscal year 2020, certificates of deposit (classified as short-term investments) of approximately
$39.0 million matured.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $2.5 million was used
in financing activities for the first six months of fiscal year 2021, compared to approximately $5.7 million for the first six
months of fiscal year 2020. During the first six months of fiscal year 2021, we used cash of approximately $1.4 million to purchase
approximately 17,000 shares of our common stock in open market transactions. We also made payments of approximately $1.3 million
to noncontrolling interests holders.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $5.7 million was used
in financing activities for the first six months of fiscal year 2020 as we used cash of approximately $5.6 million to purchase
approximately 109,000 shares of our common stock in open market transactions.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We are investigating various uses for our
excess cash and short-term investments. We have historically had a stock buyback program and subsequent to the end of the fiscal
2021 second quarter completed a 500,000 share buyback authorization from the Board of Directors and obtained authorization to
repurchase an additional 500,000 shares. We also plan to seek and evaluate investment opportunities including ethanol and/or energy
related, carbon dioxide related, agricultural or other ventures we believe fit our investment criteria in addition to investing in
highly liquid short-term securities.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We are working with the University of Illinois
to explore the development of a carbon sequestration project to be located near the One Earth ethanol plant. The University of
Illinois has received a United States Department of Energy award through the CarbonSAFE program, and, will evaluate the greenhouse
gas storage potential by drilling a test well and performing seismic surveys. The seismic survey has been completed and the data is being sent for processing. Further work and research is needed to determine
if this will be a feasible location for carbon sequestration and storage.</p><div>

</div><!-- Field: Page; Sequence: 35; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->35<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Forward-Looking Statements</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">This Form 10-Q contains or may contain forward-looking
statements as defined in the Private Securities Litigation Reform Act of 1995. Such statements can be identified by use of forward-looking
terminology such as &#8220;may,&#8221; &#8220;expect,&#8221; &#8220;believe,&#8221; &#8220;estimate,&#8221; &#8220;anticipate&#8221;
or &#8220;continue&#8221; or the negative thereof or other variations thereon or comparable terminology. Readers are cautioned
that there are risks and uncertainties that could cause actual events or results to differ materially from those referred to in
such forward-looking statements. These risks and uncertainties include the risk factors set forth from time to time in the Company&#8217;s
filings with the Securities and Exchange Commission and include among other things: the effect of pandemics such as COVID-19 on
the Company&#8217;s business operations, including impacts on supplies, demand, personnel and other factors, the impact of legislative
and regulatory changes, the price volatility and availability of corn, distillers grains, ethanol, non-food grade corn oil, gasoline,
natural gas, logistical delays, our ethanol and refined coal plants operating efficiently and according to forecasts and projections,
changes in the international, national or regional economies, weather, results of income tax audits, changes in income tax laws
or regulations and the effects of terrorism or acts of war. The Company does not intend to update publicly any forward-looking
statements except as required by law. Other factors that could cause actual results to differ materially from those in the forward-looking
statements are set forth in Item 1A of the Company&#8217;s Annual Report on Form 10-K for the fiscal year ended January 31, 2021 (File
No. 001-09097).</p><div>

</div><!-- Field: Page; Sequence: 36; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->36<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><div><a id="x1_c102240a009"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 3. <i>Quantitative and Qualitative Disclosures About
Market Risk</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">We are exposed to the impact of market
fluctuations associated with commodity prices as discussed below.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">We manage a portion of our risk with
respect to the volatility of commodity prices inherent in the ethanol industry by using forward purchase and sale contracts
and exchange traded commodity futures contracts. Our exposure to market risk, which includes the impact of our risk
management activities, is based on the estimated effect on pre-tax income starting on July 31, 2021 is as follows, assuming
normal operating capacity (amounts in thousands):<span style="color: red"> </span></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px"><span style="text-decoration:underline">Commodity</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Estimated&#160;Total<br/> Volume for<br/> 12
    Months </b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;</td>
    <td style="font-weight: bold; border-bottom: Black 1px solid">Unit&#160;of&#160;Measure</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Decrease
    in Pre-tax<br/> Income From a 10%<br/> Adverse&#160;Change&#160;in&#160;Price</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 47%; text-align: justify; padding-left: 0pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 12%; text-align: right">280,000</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 12%; text-align: justify; padding-left: 0pt">Gallons</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 16%; text-align: right">62,678</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-left: 0pt">Corn</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">100,000</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: justify; padding-left: 0pt">Bushels</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">57,302</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-left: 0pt">Distillers Grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">770</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: justify; padding-left: 0pt">Tons</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">12,548</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-left: 0pt">Non-food grade Corn Oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">77,750</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: justify; padding-left: 0pt">Pounds</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3,905</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-left: 0pt">Natural Gas</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,400</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: justify; padding-left: 0pt">MmBtu</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">800</td><td style="text-align: left">&#160;</td></tr>
</table><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">&#160;</p><div>

</div><div><a id="x1_c102240a010"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify"><b>Item 4. <i>Controls and Procedures</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our management evaluated, with the participation
of our Chief Executive Officer and Chief Financial Officer, the effectiveness of our disclosure controls and procedures, as of
the end of the period covered by this report. Based on that evaluation, the Chief Executive Officer and Chief Financial Officer
concluded that our disclosure controls and procedures are effective to ensure that information required to be disclosed by us in
the reports that we file or submit under the Securities Exchange Act of 1934 is recorded, processed, summarized and reported within
the time periods specified in the Securities and Exchange Commission&#8217;s rules and forms and is accumulated and communicated
to our management, including our Chief Executive Officer and Chief Financial Officer, as appropriate, to allow timely decisions
regarding required disclosure.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There were no changes in our internal control
over financial reporting that occurred during our last fiscal quarter that have materially affected, or are reasonably likely to
materially affect, our internal control over financial reporting.</p><div>

</div><!-- Field: Page; Sequence: 37; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->37<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><div><a id="x1_c102240a011"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 36pt"><b>PART II. OTHER INFORMATION</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a012"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 1. <i>Legal Proceedings</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We are not party to any legal proceedings
that we believe would, individually or in the aggregate, have a material adverse effect on our financial condition, results of
operations or cash flows.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a013"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 1A. <i>Risk Factors </i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There have been no material changes to the
risk factors discussed in our Annual Report on Form 10-K for the year ended January 31, 2021.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a014"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 2. <i>Unregistered Sales of Equity Securities and Use
of Proceeds </i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Not Applicable</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a015"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 3. <i>Defaults upon Senior Securities</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Not Applicable</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a016"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 4.  <i>Mine Safety Disclosures</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Not Applicable</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a017"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 5.  <i>Other Information</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">None</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><div>

</div><div><a id="x1_c102240a018"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Item 6.  <i>Exhibits</i></b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">The following exhibits are filed
with this report:</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top">
    <td style="width: 36pt">&#160;</td>
    <td style="width: 18pt; text-align: right"><span style="font-family: Times New Roman, Times, Serif">31</span></td>
    <td style="width: 15pt">&#160;</td>
    <td style="text-align: justify"><span style="font-family: Times New Roman, Times, Serif"><a href="c102240_ex31.htm">Rule 13a-14(a)/15d-14(a) Certifications</a></span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: justify">&#160;</td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">32</span></td>
    <td>&#160;</td>
    <td style="text-align: justify"><span style="font-family: Times New Roman, Times, Serif"><a href="c102240_ex32.htm">Section 1350 Certifications</a></span></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: justify">&#160;</td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td style="text-align: right"><span style="font-family: Times New Roman, Times, Serif">101</span></td>
    <td>&#160;</td>
    <td style="text-align: justify"><span style="font-family: Times New Roman, Times, Serif">The following information from REX American Resources Corporation Quarterly Report on Form 10-Q for the quarter ended July 31, 2021, formatted in iXBRL: (i) Consolidated Condensed Balance Sheets, (ii) Consolidated Condensed Statements of Operations, (iii) Consolidated Condensed Statements of Equity, (iv) Consolidated Condensed Statements of Cash Flows and (v) Notes to Consolidated Condensed Financial Statements.</span></td></tr>
</table><div>

</div><!-- Field: Page; Sequence: 38; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->38<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><div style="page-break-before: always; margin-top: 6pt; margin-bottom: 10pt"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 10pt Times New Roman, Times, Serif"><tr><td style="text-align: left; width: 100%"></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><b>SIGNATURES</b></p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Pursuant to the requirements of the Securities
Exchange Act of 1934, the registrant has duly caused this report to be signed on its behalf by the undersigned, thereunto duly
authorized.</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0"></p><div>

</div><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; font: 12pt Times New Roman, Times, Serif; width: 100%">
<tr style="vertical-align: top; text-align: left">
    <td style="width: 50%">&#160;</td>
    <td style="width: 50%">REX American Resources Corporation<br/>
Registrant</td></tr>
</table><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top">
    <td style="width: 30%; border-bottom: Black 1px solid; text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Signature</b></span></td>
    <td style="width: 3%; padding-bottom: 1px">&#160;</td>
    <td style="width: 39%; border-bottom: Black 1px solid; text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Title</b></span></td>
    <td style="width: 3%; padding-bottom: 1px">&#160;</td>
    <td style="width: 25%; border-bottom: Black 1px solid; text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Date</b></span></td></tr>
<tr style="vertical-align: top">
    <td style="text-align: center"><span style="font-family: Times New Roman, Times, Serif">&#160;</span></td>
    <td>&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: center">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">/s/ Zafar Rizvi</span></span></td>
    <td>&#160;</td>
    <td><span style="font-family: Times New Roman, Times, Serif">Chief Executive Officer and President</span></td>
    <td>&#160;</td>
    <td style="text-align: center">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="text-align: center"><span style="font-family: Times New Roman, Times, Serif">(Zafar Rizvi)</span></td>
    <td>&#160;</td>
    <td style="padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">(Chief Executive Officer)</span></td>
    <td>&#160;</td>
    <td style="text-align: left"><span style="font-family: Times New Roman, Times, Serif">September 3, 2021</span></td></tr>
<tr style="vertical-align: top">
    <td style="text-align: center">&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">/s/ Douglas L. Bruggeman</span></span></td>
    <td>&#160;</td>
    <td><span style="font-family: Times New Roman, Times, Serif">Vice President, Finance and Treasurer</span></td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="text-align: center"><span style="font-family: Times New Roman, Times, Serif">(Douglas L. Bruggeman)</span></td>
    <td>&#160;</td>
    <td style="padding-left: 5pt"><span style="font-family: Times New Roman, Times, Serif">(Chief Financial Officer)</span></td>
    <td>&#160;</td>
    <td style="text-align: left"><span style="font-family: Times New Roman, Times, Serif">September 3, 2021</span></td></tr>
</table><div>


</div><!-- Field: Page; Sequence: 39; Value: 2 --><div>
    </div><div style="margin-top: 10pt; margin-bottom: 6pt; padding-bottom: 12pt; border-bottom: Silver 4px solid"><table cellpadding="0" cellspacing="0" style="width: 100%; font: 12pt Times New Roman, Times, Serif"><tr><td style="text-align: center; width: 100%"><!-- Field: Sequence; Type: Arabic; Name: PageNo -->39<!-- Field: /Sequence --></td></tr></table></div><div>

    </div><!-- Field: /Page --><div>



</div><div style="display: none"><ix:header>
<ix:hidden>
<ix:nonFraction contextRef="c69" id="hidden-fact-0" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c70" id="hidden-fact-1" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c69" id="hidden-fact-2" name="us-gaap:CommodityContractAssetCurrent" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c71" id="hidden-fact-3" name="us-gaap:CommodityContractAssetCurrent" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c69" id="hidden-fact-4" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c71" id="hidden-fact-5" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c69" id="hidden-fact-6" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c71" id="hidden-fact-7" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c72" id="hidden-fact-8" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c73" id="hidden-fact-9" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c72" id="hidden-fact-10" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c74" id="hidden-fact-11" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c72" id="hidden-fact-12" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c74" id="hidden-fact-13" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c82" id="hidden-fact-14" name="us-gaap:DerivativeAssets" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c83" id="hidden-fact-15" name="us-gaap:DerivativeLiabilities" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c84" id="hidden-fact-16" name="us-gaap:DerivativeLiabilities" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:footnote id="ix_3_footnote" 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.</ix:footnote><!--Text not found in footnote sections assigned to Schedule of Fair Values for Derivative Financial Instruments-->
<ix:footnote id="ix_4_footnote" 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.</ix:footnote><!--Text not found in footnote sections assigned to Schedule of Fair Values for Derivative Financial Instruments-->
<ix:footnote id="ix_5_footnote" 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.</ix:footnote><!--Text not found in footnote sections assigned to Schedule Of Segment Results And Assets-->
<ix:nonNumeric contextRef="c0" name="dei:AmendmentFlag">false</ix:nonNumeric>
<ix:nonNumeric contextRef="c0" name="dei:CurrentFiscalYearEndDate">--01-31</ix:nonNumeric>
<ix:nonNumeric contextRef="c0" name="dei:DocumentFiscalPeriodFocus">Q2</ix:nonNumeric>
<ix:nonNumeric contextRef="c0" name="dei:EntityCentralIndexKey">0000744187</ix:nonNumeric>
</ix:hidden>
<ix:references><link:schemaRef xlink:href="rex-20210731.xsd" xlink:type="simple"></link:schemaRef></ix:references>
<ix:resources xmlns="http://www.xbrl.org/2003/instance"><xbrli:context id="c0">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c1">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-09-02</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c2">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c3">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c4">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c5">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c6">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c7">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c8">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c9">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c10">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c11">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c12">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c13">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c14">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c15">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c16">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c17">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c18">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c19">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c20">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c21">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c22">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c23">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c24">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c25">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c26">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c27">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c28">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c29">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c30">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c31">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c32">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c33">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c34">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c35">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c36">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c37">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c38">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c39">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c40">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c41">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c42">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-04-30</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c43">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c44">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c45">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c46">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c47">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c48">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-04-30</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c49">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c50">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c51">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c52">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c53">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c54">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c55">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c56">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c57">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c58">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c59">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c60">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:MajorityOwnedSubsidiaryUnconsolidatedMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c61">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:MajorityOwnedSubsidiaryUnconsolidatedMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c62">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">rex:ProvisionForIncomeTaxesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c63">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2021-01-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c64">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2021-01-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c65">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2021-01-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c66">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c67">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c68">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c69">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c70">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c71">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c72">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c73">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c74">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c75">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli: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>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c76">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli: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>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c77">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+AjS5ahVyBG6fQNVwrtUhTuOjyouViOMQ9TDj/BG4vDTO4QLNuV4Hd1wP8PrOH/DSzjlfBlCxFxCmOQVydpg6k8xcybzFsUtMywpHvL1XZkPFdc+lrWG6pk6RZ1ZKFGQBnr9bhk7oL/iy9ZM6F6HIEZ] CSR-->
    <xbrli: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>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c78">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli: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>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c79">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:LiabilityMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c80">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:LiabilityMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c81">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c82">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c83">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:ForwardContractsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c84">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:ForwardContractsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c85">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c86">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c87">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c88">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c89">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">rex:StockOptionPlans2015Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c90">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c91">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c92">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c93">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:EmployeeStockOptionMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c94">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:TaxCreditCarryforwardAxis">rex:CARESActNetOperatingLossCarrybackMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c95">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c96">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c97">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c98">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c99">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c100">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c101">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c102">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c103">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c104">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c105">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c106">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c107">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c108">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c109">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c110">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c111">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c112">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c113">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c114">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c115">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c116">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c117">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c118">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c119">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c120">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c121">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c122">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c123">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c124">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c125">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c126">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c127">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c128">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c129">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c130">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c131">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c132">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c133">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c134">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c135">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c136">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c137">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:DerivativeFinancialInstrumentsAssetsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c138">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-05-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c139">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-05-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c140">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c141">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AllOtherSegmentsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c142">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:AssetsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-07-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c143">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c144">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c145">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c146">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c147">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c148">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">us-gaap:CorporateAndOtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:unit id="shares">
  <xbrli:measure>xbrli:shares</xbrli:measure>
</xbrli:unit><xbrli:unit id="usd">
  <xbrli:measure>iso4217:USD</xbrli:measure>
</xbrli:unit><xbrli:unit id="usdPershares">
  <xbrli:divide>
    <xbrli:unitNumerator>
      <xbrli:measure>iso4217:USD</xbrli:measure>
    </xbrli:unitNumerator>
    <xbrli:unitDenominator>
      <xbrli:measure>xbrli:shares</xbrli:measure>
    </xbrli:unitDenominator>
  </xbrli:divide>
</xbrli:unit><xbrli:unit id="pure">
  <xbrli:measure>xbrli:pure</xbrli:measure>
</xbrli:unit><xbrli:unit id="bu">
  <xbrli:measure>utr:bu</xbrli:measure>
</xbrli:unit><xbrli:unit id="l">
  <xbrli:measure>utr:l</xbrli:measure>
</xbrli:unit><xbrli:unit id="mmbtu">
  <xbrli:measure>utr:MMBTU</xbrli:measure>
</xbrli:unit><xbrli:unit id="gal">
  <xbrli:measure>utr:gal</xbrli:measure>
</xbrli:unit><xbrli:unit id="t">
  <xbrli:measure>utr:T</xbrli:measure>
</xbrli:unit><xbrli:unit id="lb">
  <xbrli:measure>utr:lb</xbrli:measure>
</xbrli:unit><ix:relationship fromRefs="hidden-fact-6 ix_0_fact hidden-fact-7 ix_1_fact hidden-fact-12 ix_2_fact hidden-fact-13 ix_3_fact" toRefs="ix_0_footnote"></ix:relationship>
<ix:relationship fromRefs="hidden-fact-0 hidden-fact-1 ix_4_fact ix_5_fact hidden-fact-8 hidden-fact-9 ix_6_fact ix_7_fact" toRefs="ix_1_footnote"></ix:relationship>
<ix:relationship fromRefs="hidden-fact-2 ix_8_fact hidden-fact-3 ix_9_fact hidden-fact-4 ix_10_fact hidden-fact-5 ix_11_fact hidden-fact-10 ix_12_fact hidden-fact-11 ix_13_fact" toRefs="ix_2_footnote"></ix:relationship>
<ix:relationship fromRefs="ix_14_fact hidden-fact-14 ix_15_fact ix_16_fact" toRefs="ix_3_footnote"></ix:relationship>
<ix:relationship fromRefs="ix_17_fact ix_18_fact hidden-fact-15 hidden-fact-16" toRefs="ix_4_footnote"></ix:relationship>
<ix:relationship fromRefs="ix_19_fact ix_20_fact" toRefs="ix_5_footnote"></ix:relationship>
</ix:resources></ix:header>

</div></body></html>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31
<SEQUENCE>2
<FILENAME>c102240_ex31.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY STYLE="font: 10pt Times New Roman, Times, Serif">

<P STYLE="font: bold 11pt Times New Roman, Times, Serif; margin: 0; text-align: right"><FONT STYLE="text-decoration: none">Exhibit 31</FONT></P>

<P STYLE="font: bold 11pt Times New Roman, Times, Serif; margin: 0; text-align: center"><FONT STYLE="text-decoration: none">CERTIFICATIONS</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-align: center">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">I, Zafar Rizvi, certify that:</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 4.3pt; text-indent: 31.7pt"><FONT STYLE="font-size: 11pt">1.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">I have reviewed this quarterly report on Form 10-Q of REX American Resources Corporation;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">2.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Based on my knowledge, this report does not contain any untrue statement of a material fact or omit
to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not
misleading with respect to the period covered by this report;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">3.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Based on my knowledge, the financial statements, and other financial information included in this
report, fairly present in all material respects the financial condition, results of operations and cash flows of the registrant as of,
and for, the periods presented in this report;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">4.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">The registrant&rsquo;s other certifying officer and I are responsible for establishing and maintaining
disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control over financial reporting
(as defined in Exchange Act Rule 13a-15(f) and 15d-15(f)) for the registrant and have:</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in"><FONT STYLE="font-size: 11pt">(a)</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Designed such disclosure controls and procedures, or caused such disclosure controls and procedures
to be designed under our supervision, to ensure that material information relating to the registrant, including its consolidated subsidiaries,
is made known to us by others within those entities, particularly during the period in which this report is being prepared;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in"><FONT STYLE="font-size: 11pt">(b)</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Designed such internal control over financial reporting, or caused such internal control over financial
reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the
preparation of financial statements for external purposes in accordance with generally accepted accounting principles;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in"><FONT STYLE="font-size: 11pt">(c)</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Evaluated the effectiveness of the registrant&rsquo;s disclosure controls and procedures and presented
in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered
by this report based on such evaluation; and</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in"><FONT STYLE="font-size: 11pt">(d)</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Disclosed in this report any change in the registrant&rsquo;s internal control over financial reporting
that occurred during the registrant&rsquo;s most recent fiscal quarter (the registrant&rsquo;s fourth fiscal quarter in the case of an
annual report) that has materially affected, or is reasonably likely to materially affect, the registrant&rsquo;s internal control over
financial reporting; and</FONT></P>


<!-- Field: Page; Sequence: 1 -->
    <DIV STYLE="margin-top: 6pt; margin-bottom: 6pt; border-bottom: rgb(153,153,153) 3px solid"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <DIV STYLE="break-before: page; margin-top: 6pt; margin-bottom: 6pt"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 72.75pt">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">5.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">The registrant&rsquo;s other certifying officer and I have disclosed, based on our most recent evaluation
of internal control over financial reporting, to the registrant&rsquo;s auditors and the audit committee of the registrant&rsquo;s board
of directors (or persons performing the equivalent functions):</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in"><FONT STYLE="font-size: 11pt">(a)</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">All significant deficiencies and material weaknesses in the design or operation of internal control
over financial reporting which are reasonably likely to adversely affect the registrant&rsquo;s ability to record, process, summarize
and report financial information; and</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in"><FONT STYLE="font-size: 11pt">(b)</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Any fraud, whether or not material, that involves management or other employees who have a significant
role in the registrant&rsquo;s internal control over financial reporting.</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 3in; text-indent: 0.5in">Date: September 3, 2021</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 3in; text-indent: 0.5in">/s/ Zafar Rizvi&#9;&#9;&#9;</p>
<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 3in; text-indent: 0.5in">Zafar Rizvi</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 3.5in"><I>Chief Executive Officer and President</I></P>


<!-- Field: Page; Sequence: 2 -->
    <DIV STYLE="margin-top: 6pt; margin-bottom: 6pt; border-bottom: rgb(153,153,153) 3px solid"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <DIV STYLE="break-before: page; margin-top: 6pt; margin-bottom: 6pt"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

<P STYLE="font: bold 11pt Times New Roman, Times, Serif; margin: 0; text-align: center"><FONT STYLE="text-decoration: none">CERTIFICATIONS</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-align: center">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">I, Douglas L. Bruggeman, certify that:</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">1.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;
</FONT> <FONT STYLE="font-size: 11pt">I have reviewed this quarterly report on Form 10-Q of REX American Resources Corporation;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">2.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Based on my knowledge, this report does not contain any untrue statement of a material fact or omit
to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not
misleading with respect to the period covered by this report;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">3.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">Based on my knowledge, the financial statements, and other financial information included in this
report, fairly present in all material respects the financial condition, results of operations and cash flows of the registrant as of,
and for, the periods presented in this report;</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">4.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">The registrant&rsquo;s other certifying officer and I are responsible for establishing and maintaining
disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control over financial reporting
(as defined in Exchange Act Rule 13a-15(f) and 15d-15(f)) for the registrant and have:</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in">(a) Designed such disclosure controls and
procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information
relating to the registrant, including its consolidated subsidiaries, is made known to us by others within those entities, particularly
during the period in which this report is being prepared;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in">(b) Designed such internal control over
financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable
assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance
with generally accepted accounting principles;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in">(c) Evaluated the effectiveness of the registrant&rsquo;s
disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and
procedures, as of the end of the period covered by this report based on such evaluation; and</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.25in">(d) Disclosed in this report any change
in the registrant&rsquo;s internal control over financial reporting that occurred during the registrant&rsquo;s most recent fiscal quarter
(the registrant&rsquo;s fourth fiscal quarter in the case of an annual report) that has materially affected, or is reasonably likely to
materially affect, the registrant&rsquo;s internal control over financial reporting; and</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>


<!-- Field: Page; Sequence: 3 -->
    <DIV STYLE="margin-top: 6pt; margin-bottom: 6pt; border-bottom: rgb(153,153,153) 3px solid"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <DIV STYLE="break-before: page; margin-top: 6pt; margin-bottom: 6pt"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">5.</FONT><FONT STYLE="font-size: 7pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</FONT><FONT STYLE="font-size: 11pt">The registrant&rsquo;s other certifying officer and I have disclosed, based on our most recent evaluation
of internal control over financial reporting, to the registrant&rsquo;s auditors and the audit committee of the registrant&rsquo;s board
of directors (or persons performing the equivalent functions):</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.5in">(a) All significant deficiencies and material
weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the
registrant&rsquo;s ability to record, process, summarize and report financial information; and</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 0.5in; text-indent: 0.5in">(b) Any fraud, whether or not material, that
involves management or other employees who have a significant role in the registrant&rsquo;s internal control over financial reporting.</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 3in; text-indent: 0.5in">Date: September 3, 2021</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 3in; text-indent: 0.5in">/s/ Douglas L. Bruggeman&#9;&#9;</p>
<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0 0 0 3in; text-indent: 0.5in">Douglas L. Bruggeman</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 3.5in"><I>Vice President, Finance, Treasurer and</I></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 3.5in"><I>Chief Financial Officer</I></P>
<!-- Field: Page; Sequence: 4 -->
    <DIV STYLE="margin-top: 6pt; margin-bottom: 6pt; border-bottom: rgb(153,153,153) 3px solid"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-32
<SEQUENCE>3
<FILENAME>c102240_ex32.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY STYLE="font: 10pt Times New Roman, Times, Serif">

<P STYLE="font: italic bold 11pt Times New Roman, Times, Serif; margin: 12pt 0 0pt 0in; text-align: right"><FONT STYLE="font-style: normal">Exhibit 32</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B>&nbsp;</B></P>

<P STYLE="font: bold 11pt Times New Roman, Times, Serif; margin: 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B>REX American Resources Corporation</B></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B>CERTIFICATION PURSUANT TO 18 U.S.C. SECTION 1350,
AS ADOPTED BY SECTION 906<BR>
 OF THE SARBANES-OXLEY ACT OF 2002</B></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-align: center"><B>&nbsp;</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in"><FONT STYLE="font-size: 11pt">The undersigned officers
of REX American Resources Corporation (the &ldquo;Company&rdquo;) hereby certify, to their knowledge, that the Company&rsquo;s Quarterly
Report on Form 10-Q for the period ended July 31</FONT>, <FONT STYLE="font-size: 11pt">2021 which this certificate accompanies, fully
complies with the requirements of Section 13(a) or 15(d) of the Securities Exchange Act of 1934 and that the information contained therein
fairly presents, in all material respects, the financial condition and results of operations of the Company.</FONT></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0; text-indent: 0.5in">A signed original of this written statement required
by Section 906, or other document authenticating, acknowledging, or otherwise adopting the signature that appears in typed form within
the electronic version of this written statement required by Section 906, has been provided to the Company and will be retained by the
Company and furnished to the Securities and Exchange Commission or its staff upon request.</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">/s/Zafar Rizvi</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">Zafar Rizvi</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0"><I>Chief Executive Officer and President</I></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">/s/ Douglas L. Bruggeman</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">Douglas L. Bruggeman&#9;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0"><I>Vice President, Finance, Treasurer and</I></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0"><I>Chief Financial Officer</I></P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">&nbsp;</P>

<P STYLE="font: 11pt Times New Roman, Times, Serif; margin: 0">Date: September 3, 2021</P>

<P STYLE="font: 11pt Courier New, Courier, Monospace; margin: 0">&nbsp;</P>
<!-- Field: Page; Sequence: 1 -->
    <DIV STYLE="margin-top: 6pt; margin-bottom: 6pt; border-bottom: rgb(153,153,153) 3px solid"><P STYLE="margin: 0pt">&nbsp;</P></DIV>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.SCH
<SEQUENCE>4
<FILENAME>rex-20210731.xsd
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Sep 03 13:51:26 UTC 2021 -->
<xs:schema elementFormDefault="qualified" xmlns:srt-types="http://fasb.org/srt-types/2021-01-31" targetNamespace="http://www.rexamerican.com/20210731" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2021-01-31" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:rex="http://www.rexamerican.com/20210731" xmlns:dtr="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20210731_lab.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20210731_pre.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20210731_def.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef"/>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20210731_cal.xml" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef"/>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet" id="rex_r_ConsolidatedBalanceSheet">
        <link:definition>001 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals" id="rex_r_ConsolidatedBalanceSheet_Parentheticals">
        <link:definition>002 - Statement - CONSOLIDATED BALANCE SHEETS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement" id="rex_r_ConsolidatedIncomeStatement">
        <link:definition>003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals" id="rex_r_ConsolidatedIncomeStatement_Parentheticals">
        <link:definition>004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3" id="rex_r_ShareholdersEquityType2or3">
        <link:definition>005 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow" id="rex_r_ConsolidatedCashFlow">
        <link:definition>006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements" id="rex_r_ConsolidatedCondensedFinancialStatements">
        <link:definition>007 - Disclosure - Consolidated Condensed Financial Statements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPolicies" id="rex_r_AccountingPolicies">
        <link:definition>008 - Disclosure - Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/NetSalesandRevenue" id="rex_r_NetSalesandRevenue">
        <link:definition>009 - Disclosure - Net Sales and Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/Leases" id="rex_r_Leases">
        <link:definition>010 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FairValue" id="rex_r_FairValue">
        <link:definition>011 - Disclosure - Fair Value</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/PropertyandEquipment" id="rex_r_PropertyandEquipment">
        <link:definition>012 - Disclosure - Property and Equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities" id="rex_r_AccruedExpensesandOtherCurrentLiabilities">
        <link:definition>013 - Disclosure - Accrued Expenses and Other Current Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstruments" id="rex_r_DerivativeFinancialInstruments">
        <link:definition>014 - Disclosure - Derivative Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/Investments" id="rex_r_Investments">
        <link:definition>015 - Disclosure - Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EmployeeBenefits" id="rex_r_EmployeeBenefits">
        <link:definition>016 - Disclosure - Employee Benefits</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/IncomeTaxes" id="rex_r_IncomeTaxes">
        <link:definition>017 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies" id="rex_r_CommitmentsandContingencies">
        <link:definition>018 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions" id="rex_r_RelatedPartyTransactions">
        <link:definition>019 - Disclosure - Related-Party Transactions</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SegmentReporting" id="rex_r_SegmentReporting">
        <link:definition>020 - Disclosure - Segment Reporting</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy" id="rex_r_AccountingPoliciesByPolicy">
        <link:definition>021 - Disclosure - Accounting Policies, by Policy (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPoliciesTables" id="rex_r_AccountingPoliciesTables">
        <link:definition>022 - Disclosure - Accounting Policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LeasesTables" id="rex_r_LeasesTables">
        <link:definition>023 - Disclosure - Leases (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FairValueTables" id="rex_r_FairValueTables">
        <link:definition>024 - Disclosure - Fair Value (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/PropertyandEquipmentTables" id="rex_r_PropertyandEquipmentTables">
        <link:definition>025 - Disclosure - Property and Equipment (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables" id="rex_r_AccruedExpensesandOtherCurrentLiabilitiesTables">
        <link:definition>026 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables" id="rex_r_DerivativeFinancialInstrumentsTables">
        <link:definition>027 - Disclosure - Derivative Financial Instruments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/InvestmentsTables" id="rex_r_InvestmentsTables">
        <link:definition>028 - Disclosure - Investments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EmployeeBenefitsTables" id="rex_r_EmployeeBenefitsTables">
        <link:definition>029 - Disclosure - Employee Benefits (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/IncomeTaxesTables" id="rex_r_IncomeTaxesTables">
        <link:definition>030 - Disclosure - Income Taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SegmentReportingTables" id="rex_r_SegmentReportingTables">
        <link:definition>031 - Disclosure - Segment Reporting (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails" id="rex_r_ConsolidatedCondensedFinancialStatementsDetails">
        <link:definition>032 - Disclosure - Consolidated Condensed Financial Statements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPoliciesDetails" id="rex_r_AccountingPoliciesDetails">
        <link:definition>033 - Disclosure - Accounting Policies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable" id="rex_r_ScheduleofComponentsofInventoryTable">
        <link:definition>034 - Disclosure - Accounting Policies (Details) - Schedule of Components of Inventory</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LeasesDetails" id="rex_r_LeasesDetails">
        <link:definition>035 - Disclosure - Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+AjS5ahVyBG6fQNVwrtUhTuOjyouViOMQ9TDj/BG4vDTO4QLNuV4Hd1wP8PrOH/DSzjlfBlCxFxCmOQVydpg6k8xcybzFsUtMywpHvL1XZkPFdc+lrWG6pk6RZ1ZKFGQBlGAWuqoKVgRNW2z/7faVVM] CSR-->
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable" id="rex_r_ScheduleofComponentsofLeaseExpenseTable">
        <link:definition>036 - Disclosure - Leases (Details) - Schedule of Components of Lease Expense</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" id="rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
        <link:definition>037 - Disclosure - Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" id="rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
        <link:definition>038 - Disclosure - Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable" id="rex_r_ScheduleofPropertyandEquipmentTable">
        <link:definition>039 - Disclosure - Property and Equipment (Details) - Schedule of Property and Equipment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable" id="rex_r_ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable">
        <link:definition>040 - Disclosure - Accrued Expenses and Other Current Liabilities (Details) - Schedule of Accrued Expenses and Other Current Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails" id="rex_r_DerivativeFinancialInstrumentsDetails">
        <link:definition>041 - Disclosure - Derivative Financial Instruments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" id="rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
        <link:definition>042 - Disclosure - Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/InvestmentsDetails" id="rex_r_InvestmentsDetails">
        <link:definition>043 - Disclosure - Investments (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable" id="rex_r_ScheduleofEquityMethodInvestmentsTable">
        <link:definition>044 - Disclosure - Investments (Details) - Schedule of Equity Method Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable" id="rex_r_ScheduleofFinancialInformationForEquityMethodInvestmentTable">
        <link:definition>045 - Disclosure - Investments (Details) - Schedule of Financial Information For Equity Method Investment</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/EmployeeBenefitsDetails" id="rex_r_EmployeeBenefitsDetails">
        <link:definition>046 - Disclosure - Employee Benefits (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable" id="rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable">
        <link:definition>047 - Disclosure - Employee Benefits (Details) - Schedule of Non-Vested Restricted Stock Award Activity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails" id="rex_r_IncomeTaxesDetails">
        <link:definition>048 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable" id="rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
        <link:definition>049 - Disclosure - Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails" id="rex_r_CommitmentsandContingenciesDetails">
        <link:definition>050 - Disclosure - Commitments and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails" id="rex_r_RelatedPartyTransactionsDetails">
        <link:definition>051 - Disclosure - Related-Party Transactions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SegmentReportingDetails" id="rex_r_SegmentReportingDetails">
        <link:definition>052 - Disclosure - Segment Reporting (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable" id="rex_r_ScheduleOfSegmentResultsAndAssetsTable">
        <link:definition>053 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Results And Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable" id="rex_r_ScheduleOfSegmentAssetsTable">
        <link:definition>054 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation" id="DocumentAndEntityInformation">
        <link:definition>000 - Document - Document And Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://fasb.org/us-types/2021-01-31" schemaLocation="https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://fasb.org/srt-types/2021-01-31" schemaLocation="https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/sic/2021" schemaLocation="https://xbrl.sec.gov/sic/2021/sic-2021.xsd"/>
  <xs:element name="ScheduleOfComponentsOfInventoryAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfComponentsOfInventoryAbstract"/>
  <xs:element name="ScheduleOfComponentsOfLeaseExpenseAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfComponentsOfLeaseExpenseAbstract"/>
  <xs:element name="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
  <xs:element name="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
  <xs:element name="ScheduleOfPropertyAndEquipmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfPropertyAndEquipmentAbstract"/>
  <xs:element name="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
  <xs:element name="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
  <xs:element name="ScheduleOfEquityMethodInvestmentsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
  <xs:element name="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
  <xs:element name="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
  <xs:element name="ScheduleOfSegmentResultsAndAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfSegmentResultsAndAssetsAbstract"/>
  <xs:element name="ScheduleOfSegmentAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfSegmentAssetsAbstract"/>
  <xs:element name="LiabilitiesAndEquityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LiabilitiesAndEquityAbstract"/>
  <xs:element name="LongTermLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LongTermLiabilitiesAbstract"/>
  <xs:element name="RexShareholdersEquityAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RexShareholdersEquityAbstract"/>
  <xs:element name="CashFlowsFromOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromOperatingActivitiesAbstract"/>
  <xs:element name="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
  <xs:element name="ChangesInAssetsAndLiabilitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ChangesInAssetsAndLiabilitiesAbstract"/>
  <xs:element name="CashFlowsFromInvestingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromInvestingActivitiesAbstract"/>
  <xs:element name="CashFlowsFromFinancingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CashFlowsFromFinancingActivitiesAbstract"/>
  <xs:element name="ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
  <xs:element name="NetSalesAndRevenueAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetSalesAndRevenueAbstract"/>
  <xs:element name="SegmentGrossProfitLossAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SegmentGrossProfitLossAbstract"/>
  <xs:element name="IncomeLossBeforeIncomeTaxesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IncomeLossBeforeIncomeTaxesAbstract"/>
  <xs:element name="ProvisionBenefitForIncomeTaxesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ProvisionBenefitForIncomeTaxesAbstract"/>
  <xs:element name="NetIncomeLossNetOfNoncontrollingInterestsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract"/>
  <xs:element name="SalesOfProductsRefinedCoalSegmentAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SalesOfProductsRefinedCoalSegmentAbstract"/>
  <xs:element name="AccruedExpensesRelatedParties" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_AccruedExpensesRelatedParties"/>
  <xs:element name="OperatingLeaseRightOfUseAssetAmortization" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_OperatingLeaseRightOfUseAssetAmortization"/>
  <xs:element name="GainOnDisposalOfRealEstateAndPropertyAndEquipment" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
  <xs:element name="NonCashInvestingActivitiesAccruedCapitalExpenditures" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
  <xs:element name="NonCashFinancingActivitiesEquityAwardsAccrued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" type="dtr:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
  <xs:element name="SegmentReportingTablesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_SegmentReportingTablesTable"/>
  <xs:element name="SegmentReportingTablesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SegmentReportingTablesLineItems"/>
  <xs:element name="PresentValueDiscount" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_PresentValueDiscount"/>
  <xs:element name="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <xs:element name="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
  <xs:element name="InvestmentInCooperativeFairValueDisclosure" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_InvestmentInCooperativeFairValueDisclosure"/>
  <xs:element name="ForwardPurchaseContractAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractAsset"/>
  <xs:element name="CommodityFutures" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_CommodityFutures"/>
  <xs:element name="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <xs:element name="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
  <xs:element name="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
  <xs:element name="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems"/>
  <xs:element name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
  <xs:element name="EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" type="xbrli:durationItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition"/>
  <xs:element name="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
  <xs:element name="ConsolidatedCondensedFinancialStatementsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
  <xs:element name="ConsolidatedCondensedFinancialStatementsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
  <xs:element name="NumberOfConsolidatedSubsidiaries" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfConsolidatedSubsidiaries"/>
  <xs:element name="AccountingPoliciesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_AccountingPoliciesDetailsTable"/>
  <xs:element name="AccountingPoliciesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AccountingPoliciesDetailsLineItems"/>
  <xs:element name="OutboundFreightCharges" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_OutboundFreightCharges"/>
  <xs:element name="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" type="dtr:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
  <xs:element name="DerivativeFinancialInstrumentsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DerivativeFinancialInstrumentsDetailsTable"/>
  <xs:element name="DerivativeFinancialInstrumentsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DerivativeFinancialInstrumentsDetailsLineItems"/>
  <xs:element name="CommodityFuturesQuantity" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_CommodityFuturesQuantity"/>
  <xs:element name="ForwardPurchaseContractsQuantity" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsQuantity"/>
  <xs:element name="GainLossOnDerivativeInstrumentsNetSalesAndRevenue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue"/>
  <xs:element name="EmployeeBenefitsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_EmployeeBenefitsDetailsTable"/>
  <xs:element name="EmployeeBenefitsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EmployeeBenefitsDetailsLineItems"/>
  <xs:element name="IncomeTaxesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_IncomeTaxesDetailsTable"/>
  <xs:element name="IncomeTaxesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_IncomeTaxesDetailsLineItems"/>
  <xs:element name="CommitmentsandContingenciesDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_CommitmentsandContingenciesDetailsTable"/>
  <xs:element name="CommitmentsandContingenciesDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CommitmentsandContingenciesDetailsLineItems"/>
  <xs:element name="QuantityOfBushelsUnderForwardPurchaseContract" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
  <xs:element name="QuantityOfNaturalGasUnderSalesCommitment" type="dtr:energyItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfNaturalGasUnderSalesCommitment"/>
  <xs:element name="QuantityOfEthanolUnderSalesCommitment" type="dtr:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfEthanolUnderSalesCommitment"/>
  <xs:element name="QuantityOfDistillersGrainsUnderSalesCommitment" type="dtr:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
  <xs:element name="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" type="dtr:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
  <xs:element name="FeesIncurredBySubsidiary" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_FeesIncurredBySubsidiary"/>
  <xs:element name="RelatedPartyTransactionsDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_RelatedPartyTransactionsDetailsTable"/>
  <xs:element name="RelatedPartyTransactionsDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RelatedPartyTransactionsDetailsLineItems"/>
  <xs:element name="BigRiverMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BigRiverMember"/>
  <xs:element name="CARESActNetOperatingLossCarrybackMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CARESActNetOperatingLossCarrybackMember"/>
  <xs:element name="CornMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CornMember"/>
  <xs:element name="DriedDistillersGrainsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DriedDistillersGrainsMember"/>
  <xs:element name="EthanolMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EthanolMember"/>
  <xs:element name="FixturesAndEquipmentMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FixturesAndEquipmentMember"/>
  <xs:element name="LongBuyMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_LongBuyMember"/>
  <xs:element name="ModifiedDistillersGrainsMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ModifiedDistillersGrainsMember"/>
  <xs:element name="NonFoodGradeCornOilMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NonFoodGradeCornOilMember"/>
  <xs:element name="OneEarthEnergyAndNuGenEnergyMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OneEarthEnergyAndNuGenEnergyMember"/>
  <xs:element name="ProvisionForIncomeTaxesMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ProvisionForIncomeTaxesMember"/>
  <xs:element name="RefinedCoalMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RefinedCoalMember"/>
  <xs:element name="RexShareholdersMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_RexShareholdersMember"/>
  <xs:element name="ShortSellMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ShortSellMember"/>
  <xs:element name="StockOptionPlans2015Member" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_StockOptionPlans2015Member"/>
  <xs:element name="DocumentAndEntityInformationAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DocumentAndEntityInformationAbstract"/>
</xs:schema>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.CAL
<SEQUENCE>5
<FILENAME>rex-20210731_cal.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Sep 03 13:51:26 UTC 2021 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofComponentsofLeaseExpenseTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"/>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_ShortTermInvestments" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_RestrictedCashCurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_InventoryNet" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_IncomeTaxesReceivable" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_AssetsCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_OperatingLeaseRightOfUseAsset" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_OtherAssetsNoncurrent" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_EquityMethodInvestments" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_OperatingLeaseLiabilityCurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_OperatingLeaseLiabilityNoncurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_CommonStockValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_TreasuryStockValue" order="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquity" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_MinorityInterest" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesCurrent" order="1" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesNoncurrent" order="2" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Revenues" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_Revenues" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_GrossProfit" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_InterestAndOtherIncome" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_ProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_OperatingLeaseRightOfUseAssetAmortization" xlink:href="rex-20210731.xsd#rex_OperatingLeaseRightOfUseAssetAmortization"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="rex_OperatingLeaseRightOfUseAssetAmortization" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+AjS5ahVyBG6fQNVwrtUhTuOjyouViOMQ9TDj/BG4vDTO4QLNuV4Hd1wP8PrOH/DSzjlfBlCxFxCmOQVydpg6k8xcybzFsUtMywpHvL1XZkPFdc+lrWG6pk6RZ1ZKFGQBkBDknaXcniNMCNTCHmtmfF] CSR-->
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="8" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="9" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromInterestAndDividendsReceived"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProceedsFromInterestAndDividendsReceived" order="10" weight="-1"/>
    <loc xlink:type="locator" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20210731.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" order="11" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="12" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="13" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" order="14" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="15" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfShortTermInvestments" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="3" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments" order="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="5" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="1" weight="1"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_RestrictedCashCurrent" order="2" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable">
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LeaseCost" xlink:to="us-gaap_OperatingLeaseExpense" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_VariableLeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LeaseCost" xlink:to="us-gaap_VariableLeaseCost" order="2" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeaseLiability" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_PresentValueDiscount" xlink:href="rex-20210731.xsd#rex_PresentValueDiscount"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeaseLiability" xlink:to="rex_PresentValueDiscount" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_LandAndLandImprovements" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_BuildingsAndImprovementsGross" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_MachineryAndEquipmentGross" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_ConstructionInProgressGross" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable">
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccruedLiabilitiesAndOtherLiabilities" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFutures" xlink:href="rex-20210731.xsd#rex_CommodityFutures"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="rex_CommodityFutures" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccruedIncomeTaxes" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="7" weight="1"/>
  </calculationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.DEF
<SEQUENCE>6
<FILENAME>rex-20210731_def.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Sep 03 13:51:26 UTC 2021 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:xbrldt="http://xbrl.org/2005/xbrldt">
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedBalanceSheet_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedIncomeStatement_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCondensedFinancialStatements" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPolicies" roleURI="http://www.rexamerican.com/role/AccountingPolicies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_NetSalesandRevenue" roleURI="http://www.rexamerican.com/role/NetSalesandRevenue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_Leases" roleURI="http://www.rexamerican.com/role/Leases"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_FairValue" roleURI="http://www.rexamerican.com/role/FairValue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_PropertyandEquipment" roleURI="http://www.rexamerican.com/role/PropertyandEquipment"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilities" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_DerivativeFinancialInstruments" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstruments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_Investments" roleURI="http://www.rexamerican.com/role/Investments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_EmployeeBenefits" roleURI="http://www.rexamerican.com/role/EmployeeBenefits"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_IncomeTaxes" roleURI="http://www.rexamerican.com/role/IncomeTaxes"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_CommitmentsandContingencies" roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_RelatedPartyTransactions" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_SegmentReporting" roleURI="http://www.rexamerican.com/role/SegmentReporting"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPoliciesTables" roleURI="http://www.rexamerican.com/role/AccountingPoliciesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_LeasesTables" roleURI="http://www.rexamerican.com/role/LeasesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_FairValueTables" roleURI="http://www.rexamerican.com/role/FairValueTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_PropertyandEquipmentTables" roleURI="http://www.rexamerican.com/role/PropertyandEquipmentTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilitiesTables" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_DerivativeFinancialInstrumentsTables" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_InvestmentsTables" roleURI="http://www.rexamerican.com/role/InvestmentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_EmployeeBenefitsTables" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_IncomeTaxesTables" roleURI="http://www.rexamerican.com/role/IncomeTaxesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_SegmentReportingTables" roleURI="http://www.rexamerican.com/role/SegmentReportingTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofComponentsofLeaseExpenseTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFinancialInformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleOfSegmentResultsAndAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleOfSegmentAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCondensedFinancialStatementsDetails" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPoliciesDetails" roleURI="http://www.rexamerican.com/role/AccountingPoliciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_LeasesDetails" roleURI="http://www.rexamerican.com/role/LeasesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_DerivativeFinancialInstrumentsDetails" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_InvestmentsDetails" roleURI="http://www.rexamerican.com/role/InvestmentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_EmployeeBenefitsDetails" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_IncomeTaxesDetails" roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_CommitmentsandContingenciesDetails" roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_RelatedPartyTransactionsDetails" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_SegmentReportingDetails" roleURI="http://www.rexamerican.com/role/SegmentReportingDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#DocumentAndEntityInformation" roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member"/>
  <arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all"/>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AssetsCurrentAbstract" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_ShortTermInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_InventoryNet" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_IncomeTaxesReceivable" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_AssetsCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_OperatingLeaseRightOfUseAsset" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_EquityMethodInvestments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_Assets" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccountsPayableTradeCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_OperatingLeaseLiabilityCurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_LongTermLiabilitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="rex_LongTermLiabilitiesAbstract" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="us-gaap_OperatingLeaseLiabilityNoncurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_EquityAbstract" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersEquityAbstract" xlink:href="rex-20210731.xsd#rex_RexShareholdersEquityAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="rex_RexShareholdersEquityAbstract" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_CommonStockValue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_StockholdersEquity" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_MinorityInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_AccruedExpensesRelatedParties" xlink:href="rex-20210731.xsd#rex_AccruedExpensesRelatedParties"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="rex_AccruedExpensesRelatedParties" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Revenues" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_Revenues" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_GrossProfit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_InterestAndOtherIncome" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_ProfitLoss" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_NetIncomeLoss" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted" order="12" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartiesAmountInCostOfSales" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartiesAmountInCostOfSales"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_RelatedPartiesAmountInCostOfSales" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ShareholdersEquityType2or3">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementEquityComponentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_CommonStockMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_TreasuryStockMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_AdditionalPaidInCapitalMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_RetainedEarningsMember" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_NoncontrollingInterestMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" order="10" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfCashFlowsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_CashFlowsFromOperatingActivitiesAbstract" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="us-gaap_ProfitLoss" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OperatingLeaseRightOfUseAssetAmortization" xlink:href="rex-20210731.xsd#rex_OperatingLeaseRightOfUseAssetAmortization"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="rex_OperatingLeaseRightOfUseAssetAmortization" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromInterestAndDividendsReceived"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromInterestAndDividendsReceived" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20210731.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_ChangesInAssetsAndLiabilitiesAbstract" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_CashFlowsFromInvestingActivitiesAbstract" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfShortTermInvestments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromPaymentsToMinorityShareholders" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsToMinorityShareholders"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20210731.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20210731.xsd#rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsAccrued" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" order="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" order="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="15" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="16" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements">
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPolicies">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NetSalesandRevenue">
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/Leases">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeasesOfLesseeDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FairValue">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PropertyandEquipment">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DerivativeFinancialInstruments">
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/Investments">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_InvestmentTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EmployeeBenefits">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxes">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CommitmentsandContingencies">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RelatedPartyTransactions">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReporting">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesByPolicy">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_CashAndCashEquivalentsPolicyTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_CostOfSalesPolicyTextBlock" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_IncomeTaxPolicyTextBlock" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InventoryPolicyTextBlock" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InvestmentPolicyTextBlock" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" order="10" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LeasesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCostTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCostTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_LeaseCostTableTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FairValueTables">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PropertyandEquipmentTables">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/InvestmentsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20210731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EmployeeBenefitsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReportingTables">
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesLineItems" xlink:href="rex-20210731.xsd#rex_SegmentReportingTablesLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesTable" xlink:href="rex-20210731.xsd#rex_SegmentReportingTablesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_SegmentReportingTablesLineItems" xlink:to="rex_SegmentReportingTablesTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_SegmentReportingTablesTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_AssetsMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_SegmentReportingTablesLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryNet" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfComponentsOfLeaseExpenseAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="us-gaap_OperatingLeaseExpense" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_VariableLeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="us-gaap_VariableLeaseCost" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="us-gaap_LeaseCost" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_PresentValueDiscount" xlink:href="rex-20210731.xsd#rex_PresentValueDiscount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="rex_PresentValueDiscount" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeaseLiability" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
    <loc xlink:type="locator" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20210731.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20210731.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+AjS5ahVyBG6fQNVwrtUhTuOjyouViOMQ9TDj/BG4vDTO4QLNuV4Hd1wP8PrOH/DSzjlfBlCxFxCmOQVydpg6k8xcybzFsUtMywpHvL1XZkPFdc+lrWG6pk6RZ1ZKFGQBlc5Bznc28CRF2sZ203r+B4] CSR-->
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel1Member" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel2Member" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueInputsLevel3Member" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20210731.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractAssetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommodityContractAssetCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_CommodityContractAssetCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractAsset" xlink:href="rex-20210731.xsd#rex_ForwardPurchaseContractAsset"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractAsset" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_FinancialLiabilitiesFairValueDisclosure" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_LandAndLandImprovements" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_BuildingsAndImprovementsGross" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_MachineryAndEquipmentGross" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_ConstructionInProgressGross" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="6" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedLiabilitiesAndOtherLiabilities" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFutures" xlink:href="rex-20210731.xsd#rex_CommodityFutures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="rex_CommodityFutures" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedIncomeTaxes" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedLiabilitiesCurrent" order="7" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="us-gaap_DerivativeInstrumentRiskAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommodityContractMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_CommodityContractMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_ForwardContractsMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeAssets" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeLiabilities" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestments" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:href="rex-20210731.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:href="rex-20210731.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain_0" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20210731.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Revenues" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_Revenues" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_GrossProfit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_NetIncomeLoss" order="4" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:href="rex-20210731.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" xlink:href="rex-20210731.xsd#rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" order="7" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20210731.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_CorporateAndOtherMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20210731.xsd#rex_DriedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_DriedDistillersGrainsMember" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20210731.xsd#rex_NonFoodGradeCornOilMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_NonFoodGradeCornOilMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20210731.xsd#rex_ModifiedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_ModifiedDistillersGrainsMember" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeFinancialInstrumentsAssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeFinancialInstrumentsAssetsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_DerivativeFinancialInstrumentsAssetsMember" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllOtherSegmentsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_AllOtherSegmentsMember" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_GrossProfit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" order="6" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_CorporateAndOtherMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_Assets" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails">
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20210731.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfConsolidatedSubsidiaries" xlink:href="rex-20210731.xsd#rex_NumberOfConsolidatedSubsidiaries"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="rex_NumberOfConsolidatedSubsidiaries" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfReportableSegments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfOperatingSegments" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesDetails">
    <loc xlink:type="locator" xlink:label="rex_AccountingPoliciesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_AccountingPoliciesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_AccountingPoliciesDetailsTable" xlink:href="rex-20210731.xsd#rex_AccountingPoliciesDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="rex_AccountingPoliciesDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_AccountingPoliciesDetailsTable" xlink:to="us-gaap_IncomeStatementLocationAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_AccountingPoliciesDetailsTable" xlink:to="srt_RangeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember_0" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_AccountingPoliciesDetailsTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_RangeMember" xlink:to="srt_MinimumMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="srt_RangeMember" xlink:to="srt_MaximumMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ProvisionForIncomeTaxesMember" xlink:href="rex-20210731.xsd#rex_ProvisionForIncomeTaxesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="rex_ProvisionForIncomeTaxesMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="us-gaap_CostOfSalesMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_FixturesAndEquipmentMember" xlink:href="rex-20210731.xsd#rex_FixturesAndEquipmentMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="rex_FixturesAndEquipmentMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OutboundFreightCharges" xlink:href="rex-20210731.xsd#rex_OutboundFreightCharges"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="rex_OutboundFreightCharges" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_IncomeTaxesPaid" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWriteDown" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWriteDown"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_InventoryWriteDown" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20210731.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" order="8" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LeasesDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails">
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="rex_DerivativeFinancialInstrumentsDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:to="us-gaap_ContractWithCustomerDurationAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:to="us-gaap_DerivativeInstrumentRiskAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:to="us-gaap_TradingActivityByTypeAxis" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilityMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilityMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_LiabilityMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_AssetsMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ShortSellMember" xlink:href="rex-20210731.xsd#rex_ShortSellMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ContractWithCustomerDurationDomain" xlink:to="rex_ShortSellMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_LongBuyMember" xlink:href="rex-20210731.xsd#rex_LongBuyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ContractWithCustomerDurationDomain" xlink:to="rex_LongBuyMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CornMember" xlink:href="rex-20210731.xsd#rex_CornMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TradingActivityByTypeDomain" xlink:to="rex_CornMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFuturesQuantity" xlink:href="rex-20210731.xsd#rex_CommodityFuturesQuantity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="rex_CommodityFuturesQuantity" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsQuantity" xlink:href="rex-20210731.xsd#rex_ForwardPurchaseContractsQuantity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="rex_ForwardPurchaseContractsQuantity" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue" xlink:href="rex-20210731.xsd#rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/InvestmentsDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ShortTermInvestments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EmployeeBenefitsDetails">
    <loc xlink:type="locator" xlink:label="rex_EmployeeBenefitsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_EmployeeBenefitsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_EmployeeBenefitsDetailsTable" xlink:href="rex-20210731.xsd#rex_EmployeeBenefitsDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_EmployeeBenefitsDetailsLineItems" xlink:to="rex_EmployeeBenefitsDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_EmployeeBenefitsDetailsTable" xlink:to="us-gaap_PlanNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_EmployeeBenefitsDetailsTable" xlink:to="us-gaap_AwardTypeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_EmployeeBenefitsDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersMember" xlink:href="rex-20210731.xsd#rex_RexShareholdersMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="rex_RexShareholdersMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_StockOptionPlans2015Member" xlink:href="rex-20210731.xsd#rex_StockOptionPlans2015Member"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_PlanNameDomain" xlink:to="rex_StockOptionPlans2015Member" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_EmployeeStockOptionMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="4" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxesDetails">
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsTable" xlink:href="rex-20210731.xsd#rex_IncomeTaxesDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="rex_IncomeTaxesDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_IncomeTaxesDetailsTable" xlink:to="us-gaap_TaxCreditCarryforwardAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_TaxCreditCarryforwardAxis" xlink:to="us-gaap_TaxCreditCarryforwardNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardNameDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_TaxCreditCarryforwardAxis" xlink:to="us-gaap_TaxCreditCarryforwardNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CARESActNetOperatingLossCarrybackMember" xlink:href="rex-20210731.xsd#rex_CARESActNetOperatingLossCarrybackMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TaxCreditCarryforwardNameDomain" xlink:to="rex_CARESActNetOperatingLossCarrybackMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails">
    <loc xlink:type="locator" xlink:label="rex_CommitmentsandContingenciesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_CommitmentsandContingenciesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_CommitmentsandContingenciesDetailsTable" xlink:href="rex-20210731.xsd#rex_CommitmentsandContingenciesDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_CommitmentsandContingenciesDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LegalEntityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_CommitmentsandContingenciesDetailsTable" xlink:to="dei_LegalEntityAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain_0" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20210731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="rex_RefinedCoalMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20210731.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNaturalGasUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfNaturalGasUnderSalesCommitment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_QuantityOfNaturalGasUnderSalesCommitment" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20210731.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_FeesIncurredBySubsidiary" xlink:href="rex-20210731.xsd#rex_FeesIncurredBySubsidiary"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_FeesIncurredBySubsidiary" order="6" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails">
    <loc xlink:type="locator" xlink:label="rex_RelatedPartyTransactionsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_RelatedPartyTransactionsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_RelatedPartyTransactionsDetailsTable" xlink:href="rex-20210731.xsd#rex_RelatedPartyTransactionsDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="rex_RelatedPartyTransactionsDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_RelatedPartyTransactionsDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LegalEntityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_RelatedPartyTransactionsDetailsTable" xlink:to="dei_LegalEntityAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain_0" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20210731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="rex_RefinedCoalMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_CostsAndExpensesRelatedParty" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReportingDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_NumberOfReportableSegments" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:label="dei_DocumentInformationLineItems" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentInformationTable" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentInformationTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentInformationTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityRegistrantName"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityRegistrantName" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_TradingSymbol"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_TradingSymbol" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentType"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentType" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_CurrentFiscalYearEndDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_CurrentFiscalYearEndDate" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCommonStockSharesOutstanding" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_AmendmentFlag"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_AmendmentFlag" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCentralIndexKey"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCentralIndexKey" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCurrentReportingStatus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCurrentReportingStatus" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityFilerCategory"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityFilerCategory" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentPeriodEndDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentPeriodEndDate" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentFiscalYearFocus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentFiscalYearFocus" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentFiscalPeriodFocus"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentFiscalPeriodFocus" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntitySmallBusiness" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntitySmallBusiness"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntitySmallBusiness" order="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityEmergingGrowthCompany" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityEmergingGrowthCompany"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityEmergingGrowthCompany" order="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityShellCompany" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityShellCompany"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityShellCompany" order="15" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentQuarterlyReport" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentQuarterlyReport"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentQuarterlyReport" order="16" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentTransitionReport" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentTransitionReport"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentTransitionReport" order="17" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFileNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityFileNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityFileNumber" order="18" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityIncorporationStateCountryCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityIncorporationStateCountryCode"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityIncorporationStateCountryCode" order="19" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityTaxIdentificationNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityTaxIdentificationNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityTaxIdentificationNumber" order="20" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressAddressLine1" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressAddressLine1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressAddressLine1" order="21" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressCityOrTown" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressCityOrTown"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressCityOrTown" order="22" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressStateOrProvince" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressStateOrProvince"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressStateOrProvince" order="23" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressPostalZipCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressPostalZipCode"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressPostalZipCode" order="24" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_CityAreaCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_CityAreaCode"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_CityAreaCode" order="25" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_LocalPhoneNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LocalPhoneNumber"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_LocalPhoneNumber" order="26" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_Security12bTitle" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_Security12bTitle"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_Security12bTitle" order="27" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_SecurityExchangeName" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_SecurityExchangeName"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_SecurityExchangeName" order="28" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityInteractiveDataCurrent" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityInteractiveDataCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityInteractiveDataCurrent" order="29" xbrldt:closed="true"/>
  </definitionLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.LAB
<SEQUENCE>7
<FILENAME>rex-20210731_lab.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Sep 03 13:51:26 UTC 2021 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel"/>
  <roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel" roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
  <labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfFinancialPositionAbstract_lbl" xml:lang="en-US">Statement of Financial Position [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementOfFinancialPositionAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShortTermInvestments_lbl" xml:lang="en-US">Short-term investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortTermInvestments" xlink:to="us-gaap_ShortTermInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShortTermInvestments_lbl0" xml:lang="en-US">Short-term Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShortTermInvestments" xlink:to="us-gaap_ShortTermInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsCurrent_lbl" xml:lang="en-US">Total current assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset_lbl" xml:lang="en-US">Operating lease right-of-use assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseRightOfUseAsset" xlink:to="us-gaap_OperatingLeaseRightOfUseAsset_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_Assets_lbl" xml:lang="en-US">Total assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_Assets_lbl0" xml:lang="en-US">Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent_lbl" xml:lang="en-US">Current operating lease liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiabilityCurrent" xlink:to="us-gaap_OperatingLeaseLiabilityCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesCurrent_lbl" xml:lang="en-US">Total current liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent_lbl" xml:lang="en-US">Long-term operating lease liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:to="us-gaap_OperatingLeaseLiabilityNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesNoncurrent_lbl" xml:lang="en-US">Total long-term liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_StockholdersEquity_lbl" xml:lang="en-US">Total REX shareholders&#8217; equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Total equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl1" xml:lang="en-US">Balance</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl" xml:lang="en-US">Total liabilities and equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementAbstract_lbl" xml:lang="en-US">Income Statement [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeStatementAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_GrossProfit_lbl" xml:lang="en-US">Gross profit (loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GrossProfit_lbl0" xml:lang="en-US">Gross profit (loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_GrossProfit_lbl1" xml:lang="en-US">Segment gross (loss) profit:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl" xml:lang="en-US">Income (loss) before income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl0" xml:lang="en-US">(Loss) income before income taxes:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_ProfitLoss_lbl" xml:lang="en-US">Net income (loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProfitLoss_lbl0" xml:lang="en-US">Net (loss) income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ProfitLoss_lbl1" xml:lang="en-US">Net income (loss) including noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetIncomeLoss_lbl" xml:lang="en-US">Net income (loss) attributable to REX common shareholders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLoss_lbl0" xml:lang="en-US">Net income (loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract_lbl" xml:lang="en-US">Statement of Stockholders&apos; Equity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="us-gaap_StatementOfStockholdersEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharesOutstanding_lbl" xml:lang="en-US">Balance (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharesOutstanding_lbl0" xml:lang="en-US">Balance (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementEquityComponentsAxis_lbl" xml:lang="en-US">Equity Components [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_StatementEquityComponentsAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfCashFlowsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementOfCashFlowsAbstract_lbl" xml:lang="en-US">Statement of Cash Flows [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementOfCashFlowsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_OperatingLeaseRightOfUseAssetAmortization" xlink:href="rex-20210731.xsd#rex_OperatingLeaseRightOfUseAssetAmortization"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OperatingLeaseRightOfUseAssetAmortization_lbl" xml:lang="en-US">Amortization of operating lease right-of-use assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OperatingLeaseRightOfUseAssetAmortization" xlink:to="rex_OperatingLeaseRightOfUseAssetAmortization_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl" xml:lang="en-US">Net cash provided by (used in) operating activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl" xml:lang="en-US">Net cash provided by (used in) investing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl" xml:lang="en-US">Cash, cash equivalents and restricted cash, beginning of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl0" xml:lang="en-US">Cash, cash equivalents and restricted cash, end of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_lbl" xml:lang="en-US">Right-of-use assets acquired and liabilities incurred upon lease execution</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:to="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_lbl" xml:lang="en-US">Condensed Financial Information Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountingPoliciesAbstract_lbl" xml:lang="en-US">Accounting Policies [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_AccountingPoliciesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfComponentsOfInventoryAbstract_lbl" xml:lang="en-US">Schedule of Components of Inventory [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfComponentsOfInventoryAbstract" xlink:to="rex_ScheduleOfComponentsOfInventoryAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves_lbl" xml:lang="en-US">Ethanol and other finished goods</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves_lbl" xml:lang="en-US">Work in process</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves_lbl" xml:lang="en-US">Grain and other raw materials</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_InventoryNet_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryNet_lbl0" xml:lang="en-US">Inventory</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract_lbl" xml:lang="en-US">Revenue from Contract with Customer [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisclosureTextBlockAbstract_lbl" xml:lang="en-US">Disclosure Text Block [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_DisclosureTextBlockAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfComponentsOfLeaseExpenseAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfComponentsOfLeaseExpenseAbstract_lbl" xml:lang="en-US">Schedule of Components of Lease Expense [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="rex_ScheduleOfComponentsOfLeaseExpenseAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LeaseCost_lbl" xml:lang="en-US">Total lease expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseCost" xlink:to="us-gaap_LeaseCost_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract_lbl" xml:lang="en-US">Schedule of Future Minimum Rental Payments for Operating Leases [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OperatingLeaseLiability_lbl" xml:lang="en-US">Operating lease liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiability" xlink:to="us-gaap_OperatingLeaseLiability_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueDisclosuresAbstract_lbl" xml:lang="en-US">Fair Value Disclosures [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract_lbl" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:to="rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_FinancialLiabilitiesFairValueDisclosure_lbl" xml:lang="en-US">Total assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:to="us-gaap_FinancialLiabilitiesFairValueDisclosure_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract_lbl" xml:lang="en-US">Property, Plant and Equipment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract_lbl" xml:lang="en-US">Schedule of Property and Equipment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:to="rex_ScheduleOfPropertyAndEquipmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl" xml:lang="en-US"></label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_PropertyPlantAndEquipmentGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl0" xml:lang="en-US">Property and equipment, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract_lbl" xml:lang="en-US">Disclosure Text Block Supplement [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DisclosureTextBlockSupplementAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract_lbl" xml:lang="en-US">Schedule of Accrued Expenses and Other Current Liabilities [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities_lbl" xml:lang="en-US">Accrued transportation related items</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:to="us-gaap_AccruedLiabilitiesAndOtherLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AccruedLiabilitiesCurrent_lbl" xml:lang="en-US">Total</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccruedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_lbl" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract_lbl" xml:lang="en-US">Schedule of Fair Values for Derivative Financial Instruments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:to="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeInstrumentRiskAxis_lbl" xml:lang="en-US">Derivative Instrument [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeInstrumentRiskAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfEquityMethodInvestmentsAbstract_lbl" xml:lang="en-US">Schedule of Equity Method Investments [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="rex_ScheduleOfEquityMethodInvestmentsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract_lbl" xml:lang="en-US">Schedule of Financial Information For Equity Method Investment [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl" xml:lang="en-US">Investment, Name [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract_lbl" xml:lang="en-US">Schedule of Non-Vested Restricted Stock Award Activity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl" xml:lang="en-US">Non-Vested Shares, Beginning of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl0" xml:lang="en-US">Non-Vested Shares, End of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl1"/>
    <loc xlink:type="locator" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:href="rex-20210731.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value, Beginning of Period (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Weighted Average Grant Date Fair Value, End of Period (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureAbstract_lbl" xml:lang="en-US">Income Tax Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract_lbl" xml:lang="en-US">Schedule of Unrecognized Tax Benefits Roll Forward [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20210731.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl" xml:lang="en-US">Unrecognized tax benefits, beginning of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl0" xml:lang="en-US">Unrecognized tax benefits, end of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsAbstract_lbl" xml:lang="en-US">Related Party Transactions [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingAbstract_lbl" xml:lang="en-US">Segment Reporting [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfSegmentResultsAndAssetsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfSegmentResultsAndAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfSegmentResultsAndAssetsAbstract_lbl" xml:lang="en-US">Schedule Of Segment Results And Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfSegmentResultsAndAssetsAbstract" xlink:to="rex_ScheduleOfSegmentResultsAndAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementBusinessSegmentsAxis_lbl" xml:lang="en-US">Segments [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_StatementBusinessSegmentsAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfSegmentAssetsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfSegmentAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfSegmentAssetsAbstract_lbl" xml:lang="en-US">Schedule Of Segment Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfSegmentAssetsAbstract" xlink:to="rex_ScheduleOfSegmentAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentType"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentType_lbl" xml:lang="en-US">Document Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentQuarterlyReport" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentQuarterlyReport"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentQuarterlyReport_lbl" xml:lang="en-US">Document Quarterly Report</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentQuarterlyReport" xlink:to="dei_DocumentQuarterlyReport_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentPeriodEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentPeriodEndDate_lbl" xml:lang="en-US">Document Period End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentFiscalYearFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentFiscalYearFocus_lbl" xml:lang="en-US">Document Fiscal Year Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentTransitionReport" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentTransitionReport"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentTransitionReport_lbl" xml:lang="en-US">Document Transition Report</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentTransitionReport" xlink:to="dei_DocumentTransitionReport_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFileNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityFileNumber"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityFileNumber_lbl" xml:lang="en-US">Entity File Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFileNumber" xlink:to="dei_EntityFileNumber_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityRegistrantName"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityRegistrantName_lbl" xml:lang="en-US">Entity Registrant Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityIncorporationStateCountryCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityIncorporationStateCountryCode"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityIncorporationStateCountryCode_lbl" xml:lang="en-US">Entity Incorporation, State or Country Code</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityIncorporationStateCountryCode" xlink:to="dei_EntityIncorporationStateCountryCode_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityTaxIdentificationNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityTaxIdentificationNumber"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityTaxIdentificationNumber_lbl" xml:lang="en-US">Entity Tax Identification Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityTaxIdentificationNumber" xlink:to="dei_EntityTaxIdentificationNumber_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressAddressLine1" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressAddressLine1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityAddressAddressLine1_lbl" xml:lang="en-US">Entity Address, Address Line One</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressAddressLine1" xlink:to="dei_EntityAddressAddressLine1_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressCityOrTown" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressCityOrTown"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityAddressCityOrTown_lbl" xml:lang="en-US">Entity Address, City or Town</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressCityOrTown" xlink:to="dei_EntityAddressCityOrTown_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressStateOrProvince" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressStateOrProvince"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityAddressStateOrProvince_lbl" xml:lang="en-US">Entity Address, State or Province</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressStateOrProvince" xlink:to="dei_EntityAddressStateOrProvince_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressPostalZipCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressPostalZipCode"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityAddressPostalZipCode_lbl" xml:lang="en-US">Entity Address, Postal Zip Code</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressPostalZipCode" xlink:to="dei_EntityAddressPostalZipCode_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_CityAreaCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_CityAreaCode"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_CityAreaCode_lbl" xml:lang="en-US">City Area Code</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CityAreaCode" xlink:to="dei_CityAreaCode_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_LocalPhoneNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LocalPhoneNumber"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_LocalPhoneNumber_lbl" xml:lang="en-US">Local Phone Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LocalPhoneNumber" xlink:to="dei_LocalPhoneNumber_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_Security12bTitle" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_Security12bTitle"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_Security12bTitle_lbl" xml:lang="en-US">Title of 12(b) Security</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_Security12bTitle" xlink:to="dei_Security12bTitle_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_TradingSymbol"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_TradingSymbol_lbl" xml:lang="en-US">Trading Symbol</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_TradingSymbol" xlink:to="dei_TradingSymbol_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_SecurityExchangeName" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_SecurityExchangeName"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_SecurityExchangeName_lbl" xml:lang="en-US">Security Exchange Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_SecurityExchangeName" xlink:to="dei_SecurityExchangeName_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCurrentReportingStatus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityCurrentReportingStatus_lbl" xml:lang="en-US">Entity Current Reporting Status</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCurrentReportingStatus" xlink:to="dei_EntityCurrentReportingStatus_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityInteractiveDataCurrent" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityInteractiveDataCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityInteractiveDataCurrent_lbl" xml:lang="en-US">Entity Interactive Data Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityInteractiveDataCurrent" xlink:to="dei_EntityInteractiveDataCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityFilerCategory"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityFilerCategory_lbl" xml:lang="en-US">Entity Filer Category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntitySmallBusiness" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntitySmallBusiness"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntitySmallBusiness_lbl" xml:lang="en-US">Entity Small Business</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntitySmallBusiness" xlink:to="dei_EntitySmallBusiness_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityEmergingGrowthCompany" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityEmergingGrowthCompany"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityEmergingGrowthCompany_lbl" xml:lang="en-US">Entity Emerging Growth Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityEmergingGrowthCompany" xlink:to="dei_EntityEmergingGrowthCompany_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityShellCompany" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityShellCompany"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityShellCompany_lbl" xml:lang="en-US">Entity Shell Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityShellCompany" xlink:to="dei_EntityShellCompany_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl" xml:lang="en-US">Entity Common Stock, Shares Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_AmendmentFlag"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_AmendmentFlag_lbl" xml:lang="en-US">Amendment Flag</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_CurrentFiscalYearEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xml:lang="en-US">Current Fiscal Year End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentFiscalPeriodFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xml:lang="en-US">Document Fiscal Period Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCentralIndexKey"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="dei_EntityCentralIndexKey_lbl" xml:lang="en-US">Entity Central Index Key</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsAbstract_lbl" xml:lang="en-US">Assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsCurrentAbstract_lbl" xml:lang="en-US">Current assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US">Cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RestrictedCashCurrent_lbl" xml:lang="en-US">Restricted cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedCashCurrent" xlink:to="us-gaap_RestrictedCashCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl" xml:lang="en-US">Accounts receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableNetCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxesReceivable_lbl" xml:lang="en-US">Refundable income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesReceivable" xlink:to="us-gaap_IncomeTaxesReceivable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl" xml:lang="en-US">Prepaid expenses and other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl" xml:lang="en-US">Deferred taxes and other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl" xml:lang="en-US">Equity method investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl0" xml:lang="en-US">Big River</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_LiabilitiesAndEquityAbstract" xlink:href="rex-20210731.xsd#rex_LiabilitiesAndEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_LiabilitiesAndEquityAbstract_lbl" xml:lang="en-US">Liabilities and equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LiabilitiesAndEquityAbstract" xlink:to="rex_LiabilitiesAndEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl" xml:lang="en-US">Current liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsPayableTradeCurrent_lbl" xml:lang="en-US">Accounts payable, trade (includes $2.5 million and $0.7 million with related parties at July 31, 2021 and January 31, 2021, respectively)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableTradeCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl" xml:lang="en-US">Accounts payable, related parties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl0" xml:lang="en-US">Accounts Payable, Related Parties, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherLiabilitiesCurrent_lbl" xml:lang="en-US">Accrued expenses and other current liabilities (includes $0.1 million with related parties at July 31, 2021 and January 31, 2021)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_AccruedExpensesRelatedParties" xlink:href="rex-20210731.xsd#rex_AccruedExpensesRelatedParties"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_AccruedExpensesRelatedParties_lbl" xml:lang="en-US">Accrued expenses, related parties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AccruedExpensesRelatedParties" xlink:to="rex_AccruedExpensesRelatedParties_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_LongTermLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_LongTermLiabilitiesAbstract_lbl" xml:lang="en-US">Long-term liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="rex_LongTermLiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl" xml:lang="en-US">Deferred taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl" xml:lang="en-US">Other long-term liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityAbstract_lbl" xml:lang="en-US">Equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_EquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersEquityAbstract" xlink:href="rex-20210731.xsd#rex_RexShareholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_RexShareholdersEquityAbstract_lbl" xml:lang="en-US">REX shareholders&#8217; equity:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="rex_RexShareholdersEquityAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockValue_lbl" xml:lang="en-US">Common stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl" xml:lang="en-US">Paid-in capital</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl" xml:lang="en-US">Retained earnings</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MinorityInterest_lbl" xml:lang="en-US">Noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterest" xlink:to="us-gaap_MinorityInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Revenues" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_Revenues_lbl" xml:lang="en-US">Net sales and revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Revenues" xlink:to="us-gaap_Revenues_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl" xml:lang="en-US">Cost of sales (includes $20,650 and $4,887 with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $37,383 and $17,159 with related parties for the six months ended July 31, 2021 and 2020, respectively)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfGoodsAndServicesSold" xlink:to="us-gaap_CostOfGoodsAndServicesSold_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartiesAmountInCostOfSales" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartiesAmountInCostOfSales"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RelatedPartiesAmountInCostOfSales_lbl" xml:lang="en-US">Cost of sales, related parties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartiesAmountInCostOfSales" xlink:to="us-gaap_RelatedPartiesAmountInCostOfSales_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_lbl" xml:lang="en-US">Selling, general and administrative expenses, related parties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl" xml:lang="en-US">Equity in income (loss) of unconsolidated affiliates</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl0" xml:lang="en-US">(Income) loss from equity method investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InterestAndOtherIncome_lbl" xml:lang="en-US">Interest and other income, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestAndOtherIncome" xlink:to="us-gaap_InterestAndOtherIncome_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl" xml:lang="en-US">Weighted average shares outstanding &#8211; basic and diluted (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted_lbl" xml:lang="en-US">Basic and diluted net income (loss) per share attributable to REX common shareholders (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasicAndDiluted" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates_lbl" xml:lang="en-US">Capital contributions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates_lbl0" xml:lang="en-US">Capital contributions from minority investor</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_lbl" xml:lang="en-US">Issuance of equity awards and stock based compensation expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:to="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl" xml:lang="en-US">Treasury stock acquired (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockSharesAcquired" xlink:to="us-gaap_TreasuryStockSharesAcquired_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl" xml:lang="en-US">Issuance of equity awards and stock based compensation expense (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:to="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl" xml:lang="en-US">Stock based compensation expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract_lbl" xml:lang="en-US">Cash flows from operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="rex_CashFlowsFromOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract_lbl" xml:lang="en-US">Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xml:lang="en-US">Depreciation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepreciationDepletionAndAmortization" xlink:to="us-gaap_DepreciationDepletionAndAmortization_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl" xml:lang="en-US">Dividends received from equity method investee</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl0" xml:lang="en-US">Proceeds from Equity Method Investment, Distribution</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl" xml:lang="en-US">Deferred income tax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract_lbl" xml:lang="en-US">Changes in assets and liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="rex_ChangesInAssetsAndLiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl" xml:lang="en-US">Accounts payable, trade</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl" xml:lang="en-US">Other liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract_lbl" xml:lang="en-US">Cash flows from investing activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="rex_CashFlowsFromInvestingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl" xml:lang="en-US">Sale of short-term investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:to="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xml:lang="en-US">Proceeds from sale of real estate and property and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract_lbl" xml:lang="en-US">Cash flows from financing activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="rex_CashFlowsFromFinancingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromPaymentsToMinorityShareholders" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsToMinorityShareholders"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromPaymentsToMinorityShareholders_lbl" xml:lang="en-US">Payments to noncontrolling interests holders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromPaymentsToMinorityShareholders" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl" xml:lang="en-US">Net cash used in financing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl" xml:lang="en-US">Net increase (decrease) in cash, cash equivalents and restricted cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20210731.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl" xml:lang="en-US">Non cash investing activities &#8211; Accrued capital expenditures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20210731.xsd#rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsAccrued_lbl" xml:lang="en-US">Non cash financing activities &#8211; Stock awards accrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsAccrued_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl" xml:lang="en-US">Non cash financing activities &#8211; Stock awards issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:to="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:href="rex-20210731.xsd#rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract_lbl" xml:lang="en-US">Reconciliation of total cash, cash equivalents and restricted cash:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_TreasuryStockValue_lbl" xml:lang="en-US">Treasury stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_TreasuryStockValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl" xml:lang="en-US">Selling, general and administrative expenses (includes $154 and $152 with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $191 and $(145) with related parties for the six months ended July 31, 2021 and 2020, respectively)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl" xml:lang="en-US">Benefit for income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl0" xml:lang="en-US">Benefit (provision) for income taxes:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl1" xml:lang="en-US">Income Tax Expense (Benefit)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Net (income) loss attributable to noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl" xml:lang="en-US">Noncontrolling interests distribution and other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl" xml:lang="en-US">Treasury stock acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromInterestAndDividendsReceived"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_ProceedsFromInterestAndDividendsReceived_lbl" xml:lang="en-US">Interest income from investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:to="us-gaap_ProceedsFromInterestAndDividendsReceived_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20210731.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl" xml:lang="en-US">Gain on sale of property and equipment &#8211; net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl" xml:lang="en-US">Accounts receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl" xml:lang="en-US">Inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInInventories" xlink:to="us-gaap_IncreaseDecreaseInInventories_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_lbl" xml:lang="en-US">Refundable income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl" xml:lang="en-US">Other assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl" xml:lang="en-US">Capital expenditures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments_lbl" xml:lang="en-US">Purchase of short-term investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl" xml:lang="en-US">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl" xml:lang="en-US">Treasury stock acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommonStockMember_lbl" xml:lang="en-US">Common Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockMember" xlink:to="us-gaap_CommonStockMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_TreasuryStockMember_lbl" xml:lang="en-US">Treasury Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockMember" xlink:to="us-gaap_TreasuryStockMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl" xml:lang="en-US">Additional Paid-in Capital [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalMember" xlink:to="us-gaap_AdditionalPaidInCapitalMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsMember_lbl" xml:lang="en-US">Retained Earnings [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsMember" xlink:to="us-gaap_RetainedEarningsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NoncontrollingInterestMember_lbl" xml:lang="en-US">Noncontrolling Interest [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NoncontrollingInterestMember" xlink:to="us-gaap_NoncontrollingInterestMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl" xml:lang="en-US">Condensed Financial Information of Parent Company Only Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock_lbl" xml:lang="en-US">Significant Accounting Policies [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl" xml:lang="en-US">Schedule of Inventory, Current [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl" xml:lang="en-US">Revenue from Contract with Customer [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeasesOfLesseeDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock_lbl" xml:lang="en-US">Leases of Lessee Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCostTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCostTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LeaseCostTableTextBlock_lbl" xml:lang="en-US">Lease, Cost [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseCostTableTextBlock" xlink:to="us-gaap_LeaseCostTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeaseExpense_lbl" xml:lang="en-US">Operating lease expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseExpense" xlink:to="us-gaap_OperatingLeaseExpense_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_VariableLeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_VariableLeaseCost_lbl" xml:lang="en-US">Variable lease expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VariableLeaseCost" xlink:to="us-gaap_VariableLeaseCost_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl" xml:lang="en-US">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl" xml:lang="en-US">2022</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US">2023</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US">2024</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xml:lang="en-US">2025</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl" xml:lang="en-US">2026</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_PresentValueDiscount" xlink:href="rex-20210731.xsd#rex_PresentValueDiscount"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_PresentValueDiscount_lbl" xml:lang="en-US">Less: present value discount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PresentValueDiscount" xlink:to="rex_PresentValueDiscount_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl" xml:lang="en-US">Fair Value Disclosures [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresTextBlock" xlink:to="us-gaap_FairValueDisclosuresTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_lbl" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20210731.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure_lbl" xml:lang="en-US">Investment in cooperative</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentInCooperativeFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractAssetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommodityContractAssetCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommodityContractAssetCurrent_lbl" xml:lang="en-US">Commodity futures asset</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommodityContractAssetCurrent" xlink:to="us-gaap_CommodityContractAssetCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractAsset" xlink:href="rex-20210731.xsd#rex_ForwardPurchaseContractAsset"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ForwardPurchaseContractAsset_lbl" xml:lang="en-US">Forward purchase contracts asset (liabilities)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractAsset" xlink:to="rex_ForwardPurchaseContractAsset_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl" xml:lang="en-US">Commodity futures liability</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl" xml:lang="en-US">Property, Plant and Equipment Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl" xml:lang="en-US">Property, Plant and Equipment [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LandAndLandImprovements_lbl" xml:lang="en-US">Land and improvements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LandAndLandImprovements" xlink:to="us-gaap_LandAndLandImprovements_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BuildingsAndImprovementsGross_lbl" xml:lang="en-US">Buildings and improvements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingsAndImprovementsGross" xlink:to="us-gaap_BuildingsAndImprovementsGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MachineryAndEquipmentGross_lbl" xml:lang="en-US">Machinery, equipment and fixtures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MachineryAndEquipmentGross" xlink:to="us-gaap_MachineryAndEquipmentGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ConstructionInProgressGross_lbl" xml:lang="en-US">Construction in progress</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConstructionInProgressGross" xlink:to="us-gaap_ConstructionInProgressGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl" xml:lang="en-US">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock_lbl" xml:lang="en-US">Schedule of Accrued Liabilities [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" xlink:to="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl" xml:lang="en-US">Accrued payroll and related items</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedUtilitiesCurrent_lbl" xml:lang="en-US">Accrued utility charges</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedUtilitiesCurrent" xlink:to="us-gaap_AccruedUtilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_lbl" xml:lang="en-US">Accrued real estate taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFutures" xlink:href="rex-20210731.xsd#rex_CommodityFutures"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CommodityFutures_lbl" xml:lang="en-US">Commodity futures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommodityFutures" xlink:to="rex_CommodityFutures_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedIncomeTaxes_lbl" xml:lang="en-US">Accrued income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedIncomeTaxes" xlink:to="us-gaap_AccruedIncomeTaxes_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl" xml:lang="en-US">Other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock_lbl" xml:lang="en-US">Schedule of Derivative Assets at Fair Value [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DerivativeAssets_lbl" xml:lang="en-US">Asset Derivatives, Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeAssets" xlink:to="us-gaap_DerivativeAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DerivativeLiabilities_lbl" xml:lang="en-US">Liability Derivatives, Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeLiabilities" xlink:to="us-gaap_DerivativeLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentTextBlock_lbl" xml:lang="en-US">Investment [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentTextBlock" xlink:to="us-gaap_InvestmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock_lbl" xml:lang="en-US">Equity Method Investments [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentsTextBlock" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl" xml:lang="en-US">Big River</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20210731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl" xml:lang="en-US">Schedule of Financial Information for Equity Method Investments [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Income (loss) from continuing operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl" xml:lang="en-US">Compensation and Employee Benefit Plans [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock_lbl" xml:lang="en-US">Nonvested Restricted Stock Shares Activity [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl" xml:lang="en-US">Weighted Average Vesting Term, Beginning of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl" xml:lang="en-US">Non-Vested Shares, Granted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value, Granted (in Dollars per share)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl" xml:lang="en-US">Non-Vested Shares, Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_lbl" xml:lang="en-US">Weighted Average Grant Date Fair Value, Vested (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" xlink:href="rex-20210731.xsd#rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition_lbl" xml:lang="en-US">Weighted Average Vesting Term, End of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" xlink:to="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl" xml:lang="en-US">Income Tax Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock_lbl" xml:lang="en-US">Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_lbl" xml:lang="en-US">Changes for prior years&#8217; tax positions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions_lbl" xml:lang="en-US">Changes for current year tax positions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl" xml:lang="en-US">Related Party Transactions Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl" xml:lang="en-US">Segment Reporting Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20210731.xsd#rex_NetSalesAndRevenueAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NetSalesAndRevenueAbstract_lbl" xml:lang="en-US">Net sales and revenue:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="rex_NetSalesAndRevenueAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_lbl" xml:lang="en-US">Net sales and revenue:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentGrossProfitLossAbstract" xlink:href="rex-20210731.xsd#rex_SegmentGrossProfitLossAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_SegmentGrossProfitLossAbstract_lbl" xml:lang="en-US">Segment gross profit (loss):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentGrossProfitLossAbstract" xlink:to="rex_SegmentGrossProfitLossAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeLossBeforeIncomeTaxesAbstract" xlink:href="rex-20210731.xsd#rex_IncomeLossBeforeIncomeTaxesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_IncomeLossBeforeIncomeTaxesAbstract_lbl" xml:lang="en-US">Income (loss) before income taxes:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeLossBeforeIncomeTaxesAbstract" xlink:to="rex_IncomeLossBeforeIncomeTaxesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ProvisionBenefitForIncomeTaxesAbstract" xlink:href="rex-20210731.xsd#rex_ProvisionBenefitForIncomeTaxesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ProvisionBenefitForIncomeTaxesAbstract_lbl" xml:lang="en-US">(Provision) benefit for income taxes:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProvisionBenefitForIncomeTaxesAbstract" xlink:to="rex_ProvisionBenefitForIncomeTaxesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract" xlink:href="rex-20210731.xsd#rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract_lbl" xml:lang="en-US">Net income (loss) (net of noncontrolling interests):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract" xlink:to="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl" xml:lang="en-US">Segment (loss) profit (net of noncontrolling interests):</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl" xml:lang="en-US">Sales of products, ethanol and by-products segment:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SalesOfProductsRefinedCoalSegmentAbstract" xlink:href="rex-20210731.xsd#rex_SalesOfProductsRefinedCoalSegmentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_SalesOfProductsRefinedCoalSegmentAbstract_lbl" xml:lang="en-US">Sales of products, refined coal segment:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SalesOfProductsRefinedCoalSegmentAbstract" xlink:to="rex_SalesOfProductsRefinedCoalSegmentAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl" xml:lang="en-US">Less: accumulated depreciation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel1Member" xlink:to="us-gaap_FairValueInputsLevel1Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel2Member" xlink:to="us-gaap_FairValueInputsLevel2Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueInputsLevel3Member_lbl" xml:lang="en-US">Fair Value, Inputs, Level 3 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel3Member" xlink:to="us-gaap_FairValueInputsLevel3Member_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommodityContractMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CommodityContractMember_lbl" xml:lang="en-US">Commodity Contract [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommodityContractMember" xlink:to="us-gaap_CommodityContractMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ForwardContractsMember_lbl" xml:lang="en-US">Forward Contracts [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForwardContractsMember" xlink:to="us-gaap_ForwardContractsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20210731.xsd#rex_BigRiverMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_BigRiverMember_lbl" xml:lang="en-US">Big River [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_EthanolMember_lbl" xml:lang="en-US">Ethanol [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EthanolMember" xlink:to="rex_EthanolMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_RefinedCoalMember_lbl" xml:lang="en-US">Refined Coal [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RefinedCoalMember" xlink:to="rex_RefinedCoalMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CorporateAndOtherMember_lbl" xml:lang="en-US">Corporate and Other [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CorporateAndOtherMember" xlink:to="us-gaap_CorporateAndOtherMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20210731.xsd#rex_DriedDistillersGrainsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_DriedDistillersGrainsMember_lbl" xml:lang="en-US">Dried Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DriedDistillersGrainsMember" xlink:to="rex_DriedDistillersGrainsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20210731.xsd#rex_NonFoodGradeCornOilMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NonFoodGradeCornOilMember_lbl" xml:lang="en-US">Non-Food Grade Corn Oil [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonFoodGradeCornOilMember" xlink:to="rex_NonFoodGradeCornOilMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20210731.xsd#rex_ModifiedDistillersGrainsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ModifiedDistillersGrainsMember_lbl" xml:lang="en-US">Modified Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ModifiedDistillersGrainsMember" xlink:to="rex_ModifiedDistillersGrainsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeFinancialInstrumentsAssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeFinancialInstrumentsAssetsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DerivativeFinancialInstrumentsAssetsMember_lbl" xml:lang="en-US">Derivative Financial Instruments, Assets [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeFinancialInstrumentsAssetsMember" xlink:to="us-gaap_DerivativeFinancialInstrumentsAssetsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllOtherSegmentsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AllOtherSegmentsMember_lbl" xml:lang="en-US">Other Segments [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllOtherSegmentsMember" xlink:to="us-gaap_AllOtherSegmentsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsMember_lbl" xml:lang="en-US">Assets [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsMember" xlink:to="us-gaap_AssetsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_lbl" xml:lang="en-US">Related Party [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementLocationAxis_lbl" xml:lang="en-US">Income Statement Location [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_RangeAxis_lbl" xml:lang="en-US">Statistical Measurement [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeAxis" xlink:to="srt_RangeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl" xml:lang="en-US">Long-Lived Tangible Asset [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ContractWithCustomerDurationAxis_lbl" xml:lang="en-US">Contract with Customer, Duration [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TradingActivityByTypeAxis_lbl" xml:lang="en-US">Trading Activity [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AwardTypeAxis_lbl" xml:lang="en-US">Award Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameAxis_lbl" xml:lang="en-US">Plan Name [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TaxCreditCarryforwardAxis_lbl" xml:lang="en-US">Tax Credit Carryforward [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TaxCreditCarryforwardAxis" xlink:to="us-gaap_TaxCreditCarryforwardAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LegalEntityAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_LegalEntityAxis_lbl" xml:lang="en-US">Legal Entity [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LegalEntityAxis" xlink:to="dei_LegalEntityAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfConsolidatedSubsidiaries" xlink:href="rex-20210731.xsd#rex_NumberOfConsolidatedSubsidiaries"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NumberOfConsolidatedSubsidiaries_lbl" xml:lang="en-US">Number of Consolidated Subsidiaries</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfConsolidatedSubsidiaries" xlink:to="rex_NumberOfConsolidatedSubsidiaries_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NumberOfReportableSegments_lbl" xml:lang="en-US">Number of Reportable Segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfReportableSegments" xlink:to="us-gaap_NumberOfReportableSegments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NumberOfOperatingSegments_lbl" xml:lang="en-US">Number of Operating Segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfOperatingSegments" xlink:to="us-gaap_NumberOfOperatingSegments_lbl"/>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+AjS5ahVyBG6fQNVwrtUhTuOjyouViOMQ9TDj/BG4vDTO4QLNuV4Hd1wP8PrOH/DSzjlfBlCxFxCmOQVydpg6k8xcybzFsUtMywpHvL1XZkPFdc+lrWG6pk6RZ1ZKFGQBnYIu11MkHYYuNow777GALf] CSR-->
    <loc xlink:type="locator" xlink:label="rex_OutboundFreightCharges" xlink:href="rex-20210731.xsd#rex_OutboundFreightCharges"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_OutboundFreightCharges_lbl" xml:lang="en-US">Outbound Freight Charges</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OutboundFreightCharges" xlink:to="rex_OutboundFreightCharges_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxesPaid_lbl" xml:lang="en-US">Income Taxes Paid</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesPaid" xlink:to="us-gaap_IncomeTaxesPaid_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds_lbl" xml:lang="en-US">Proceeds from Income Tax Refunds</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl" xml:lang="en-US">Unrecognized Tax Benefits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefits" xlink:to="us-gaap_UnrecognizedTaxBenefits_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_lbl" xml:lang="en-US">Income Tax Examination, Penalties and Interest Accrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWriteDown" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWriteDown"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryWriteDown_lbl" xml:lang="en-US">Inventory Write-down</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryWriteDown" xlink:to="us-gaap_InventoryWriteDown_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_lbl" xml:lang="en-US">Property, Plant and Equipment, Estimated Useful Lives</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20210731.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl" xml:lang="en-US">Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl" xml:lang="en-US">Operating Lease, Weighted Average Remaining Lease Term</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl" xml:lang="en-US">Operating Lease, Weighted Average Discount Rate, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:to="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFuturesQuantity" xlink:href="rex-20210731.xsd#rex_CommodityFuturesQuantity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CommodityFuturesQuantity_lbl" xml:lang="en-US">Commodity Futures, Quantity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommodityFuturesQuantity" xlink:to="rex_CommodityFuturesQuantity_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsQuantity" xlink:href="rex-20210731.xsd#rex_ForwardPurchaseContractsQuantity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ForwardPurchaseContractsQuantity_lbl" xml:lang="en-US">Forward Purchase Contracts, Quantity (in US Bushels)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsQuantity" xlink:to="rex_ForwardPurchaseContractsQuantity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtInstrumentCollateralAmount_lbl" xml:lang="en-US">Debt Instrument, Collateral Amount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentCollateralAmount" xlink:to="us-gaap_DebtInstrumentCollateralAmount_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue" xlink:href="rex-20210731.xsd#rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue_lbl" xml:lang="en-US">Gain (Loss) on Derivative Instruments, Net, Sales and Revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue" xlink:to="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainLossOnDerivativeInstrumentsNetPretax_lbl" xml:lang="en-US">Gain (Loss) on Derivative Instruments, Net, Pretax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:to="us-gaap_GainLossOnDerivativeInstrumentsNetPretax_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl" xml:lang="en-US">Retained Earnings, Undistributed Earnings from Equity Method Investees</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield_lbl" xml:lang="en-US">Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" xlink:to="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_lbl" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount (in Dollars)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_lbl" xml:lang="en-US">Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:to="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20210731.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl" xml:lang="en-US">Quantity of Bushels under Forward Purchase Contract (in US Bushels)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNaturalGasUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfNaturalGasUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_QuantityOfNaturalGasUnderSalesCommitment_lbl" xml:lang="en-US">Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfNaturalGasUnderSalesCommitment" xlink:to="rex_QuantityOfNaturalGasUnderSalesCommitment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment_lbl" xml:lang="en-US">Quantity of Ethanol under Sales Commitment (in US Gallons)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfEthanolUnderSalesCommitment" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl" xml:lang="en-US">Quantity of Distillers Grains Under Sales Commitment (in US Tons)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20210731.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl" xml:lang="en-US">Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:to="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FeesIncurredBySubsidiary" xlink:href="rex-20210731.xsd#rex_FeesIncurredBySubsidiary"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_FeesIncurredBySubsidiary_lbl" xml:lang="en-US">Fees Incurred By Subsidiary</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FeesIncurredBySubsidiary" xlink:to="rex_FeesIncurredBySubsidiary_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CostsAndExpensesRelatedParty_lbl" xml:lang="en-US">Costs and Expenses, Related Party</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpensesRelatedParty" xlink:to="us-gaap_CostsAndExpensesRelatedParty_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes_lbl" xml:lang="en-US">Accrued Liabilities for Commissions, Expense and Taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashAndCashEquivalentsPolicyTextBlock_lbl" xml:lang="en-US">Cash and Cash Equivalents, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:to="us-gaap_CashAndCashEquivalentsPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock_lbl" xml:lang="en-US">Revenue [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CostOfSalesPolicyTextBlock_lbl" xml:lang="en-US">Cost of Goods and Service [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesPolicyTextBlock" xlink:to="us-gaap_CostOfSalesPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_lbl" xml:lang="en-US">Selling, General and Administrative Expenses, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl" xml:lang="en-US">Fair Value of Financial Instruments, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxPolicyTextBlock_lbl" xml:lang="en-US">Income Tax, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxPolicyTextBlock" xlink:to="us-gaap_IncomeTaxPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InventoryPolicyTextBlock_lbl" xml:lang="en-US">Inventory, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryPolicyTextBlock" xlink:to="us-gaap_InventoryPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl" xml:lang="en-US">Property, Plant and Equipment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_InvestmentPolicyTextBlock_lbl" xml:lang="en-US">Investment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentPolicyTextBlock" xlink:to="us-gaap_InvestmentPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_lbl" xml:lang="en-US">Comprehensive Income, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl" xml:lang="en-US">New Accounting Pronouncements, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember_lbl" xml:lang="en-US">Majority-Owned Subsidiary, Unconsolidated [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ProvisionForIncomeTaxesMember" xlink:href="rex-20210731.xsd#rex_ProvisionForIncomeTaxesMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ProvisionForIncomeTaxesMember_lbl" xml:lang="en-US">Provision for Income Taxes [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProvisionForIncomeTaxesMember" xlink:to="rex_ProvisionForIncomeTaxesMember_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_MinimumMember_lbl" xml:lang="en-US">Minimum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MinimumMember" xlink:to="srt_MinimumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember_lbl" xml:lang="en-US">Building and Building Improvements [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingAndBuildingImprovementsMember" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="srt_MaximumMember_lbl" xml:lang="en-US">Maximum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MaximumMember" xlink:to="srt_MaximumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FixturesAndEquipmentMember" xlink:href="rex-20210731.xsd#rex_FixturesAndEquipmentMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_FixturesAndEquipmentMember_lbl" xml:lang="en-US">Fixtures And Equipment [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FixturesAndEquipmentMember" xlink:to="rex_FixturesAndEquipmentMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CostOfSalesMember_lbl" xml:lang="en-US">Cost of Sales [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesMember" xlink:to="us-gaap_CostOfSalesMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ShortSellMember" xlink:href="rex-20210731.xsd#rex_ShortSellMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ShortSellMember_lbl" xml:lang="en-US">Short/Sell [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShortSellMember" xlink:to="rex_ShortSellMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilityMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilityMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilityMember_lbl" xml:lang="en-US">Liability [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityMember" xlink:to="us-gaap_LiabilityMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CornMember" xlink:href="rex-20210731.xsd#rex_CornMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CornMember_lbl" xml:lang="en-US">Corn [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CornMember" xlink:to="rex_CornMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_LongBuyMember" xlink:href="rex-20210731.xsd#rex_LongBuyMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_LongBuyMember_lbl" xml:lang="en-US">Long/Buy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LongBuyMember" xlink:to="rex_LongBuyMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xml:lang="en-US">Share-based Payment Arrangement, Option [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockOptionMember" xlink:to="us-gaap_EmployeeStockOptionMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_StockOptionPlans2015Member" xlink:href="rex-20210731.xsd#rex_StockOptionPlans2015Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_StockOptionPlans2015Member_lbl" xml:lang="en-US">Stock Option Plans 2015 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_StockOptionPlans2015Member" xlink:to="rex_StockOptionPlans2015Member_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersMember" xlink:href="rex-20210731.xsd#rex_RexShareholdersMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_RexShareholdersMember_lbl" xml:lang="en-US">Rex Shareholders [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersMember" xlink:to="rex_RexShareholdersMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CARESActNetOperatingLossCarrybackMember" xlink:href="rex-20210731.xsd#rex_CARESActNetOperatingLossCarrybackMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CARESActNetOperatingLossCarrybackMember_lbl" xml:lang="en-US">CARES Act Net Operating Loss Carryback [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CARESActNetOperatingLossCarrybackMember" xlink:to="rex_CARESActNetOperatingLossCarrybackMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20210731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl" xml:lang="en-US">One Earth Energy And Nu Gen Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityComponentDomain_lbl" xml:lang="en-US">Equity Component [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityComponentDomain" xlink:to="us-gaap_EquityComponentDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentDomain_lbl" xml:lang="en-US">Segments [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentDomain" xlink:to="us-gaap_SegmentDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesTable" xlink:href="rex-20210731.xsd#rex_SegmentReportingTablesTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentReportingTablesTable_lbl" xml:lang="en-US">Segment Reporting (Tables) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentReportingTablesTable" xlink:to="rex_SegmentReportingTablesTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_SegmentReportingTablesLineItems" xlink:href="rex-20210731.xsd#rex_SegmentReportingTablesLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentReportingTablesLineItems_lbl" xml:lang="en-US">Segment Reporting (Tables) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentReportingTablesLineItems" xlink:to="rex_SegmentReportingTablesLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20210731.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable_lbl" xml:lang="en-US">Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20210731.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems_lbl" xml:lang="en-US">Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeContractTypeDomain_lbl" xml:lang="en-US">Derivative Contract [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeContractTypeDomain" xlink:to="us-gaap_DerivativeContractTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable_lbl" xml:lang="en-US">Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems_lbl" xml:lang="en-US">Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_EquityMethodInvesteeNameDomain" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_EquityMethodInvesteeNameDomain_lbl" xml:lang="en-US">Investment, Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_EquityMethodInvesteeNameDomain" xlink:to="srt_EquityMethodInvesteeNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:href="rex-20210731.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable_lbl" xml:lang="en-US">Investments (Details) - Schedule of Financial Information For Equity Method Investment [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:to="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:href="rex-20210731.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems_lbl" xml:lang="en-US">Investments (Details) - Schedule of Financial Information For Equity Method Investment [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_lbl" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingInformationLineItems_lbl" xml:lang="en-US">Segment Reporting Information [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_SegmentReportingInformationLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyDomain_lbl" xml:lang="en-US">Related Party [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="us-gaap_RelatedPartyDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20210731.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable_lbl" xml:lang="en-US">Consolidated Condensed Financial Statements (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="rex_ConsolidatedCondensedFinancialStatementsDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems_lbl" xml:lang="en-US">Consolidated Condensed Financial Statements (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_RangeMember_lbl" xml:lang="en-US">Statistical Measurement [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_RangeMember" xlink:to="srt_RangeMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeStatementLocationDomain_lbl" xml:lang="en-US">Income Statement Location [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeStatementLocationDomain" xlink:to="us-gaap_IncomeStatementLocationDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl" xml:lang="en-US">Long-Lived Tangible Asset [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_AccountingPoliciesDetailsTable" xlink:href="rex-20210731.xsd#rex_AccountingPoliciesDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AccountingPoliciesDetailsTable_lbl" xml:lang="en-US">Accounting Policies (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AccountingPoliciesDetailsTable" xlink:to="rex_AccountingPoliciesDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_AccountingPoliciesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_AccountingPoliciesDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AccountingPoliciesDetailsLineItems_lbl" xml:lang="en-US">Accounting Policies (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AccountingPoliciesDetailsLineItems" xlink:to="rex_AccountingPoliciesDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TradingActivityByTypeDomain_lbl" xml:lang="en-US">Trading Activity, by Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TradingActivityByTypeDomain" xlink:to="us-gaap_TradingActivityByTypeDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ContractWithCustomerDurationDomain_lbl" xml:lang="en-US">Contract with Customer, Duration [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ContractWithCustomerDurationDomain" xlink:to="us-gaap_ContractWithCustomerDurationDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DerivativeFinancialInstrumentsDetailsTable_lbl" xml:lang="en-US">Derivative Financial Instruments (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:to="rex_DerivativeFinancialInstrumentsDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DerivativeFinancialInstrumentsDetailsLineItems_lbl" xml:lang="en-US">Derivative Financial Instruments (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="rex_DerivativeFinancialInstrumentsDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PlanNameDomain_lbl" xml:lang="en-US">Plan Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PlanNameDomain" xlink:to="us-gaap_PlanNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl" xml:lang="en-US">Award Type [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EmployeeBenefitsDetailsTable" xlink:href="rex-20210731.xsd#rex_EmployeeBenefitsDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EmployeeBenefitsDetailsTable_lbl" xml:lang="en-US">Employee Benefits (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EmployeeBenefitsDetailsTable" xlink:to="rex_EmployeeBenefitsDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EmployeeBenefitsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_EmployeeBenefitsDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EmployeeBenefitsDetailsLineItems_lbl" xml:lang="en-US">Employee Benefits (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EmployeeBenefitsDetailsLineItems" xlink:to="rex_EmployeeBenefitsDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TaxCreditCarryforwardNameDomain_lbl" xml:lang="en-US">Tax Credit Carryforward, Name [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TaxCreditCarryforwardNameDomain" xlink:to="us-gaap_TaxCreditCarryforwardNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsTable" xlink:href="rex-20210731.xsd#rex_IncomeTaxesDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IncomeTaxesDetailsTable_lbl" xml:lang="en-US">Income Taxes (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeTaxesDetailsTable" xlink:to="rex_IncomeTaxesDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IncomeTaxesDetailsLineItems_lbl" xml:lang="en-US">Income Taxes (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="rex_IncomeTaxesDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityDomain_lbl" xml:lang="en-US">Entity [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityDomain" xlink:to="dei_EntityDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CommitmentsandContingenciesDetailsTable" xlink:href="rex-20210731.xsd#rex_CommitmentsandContingenciesDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CommitmentsandContingenciesDetailsTable_lbl" xml:lang="en-US">Commitments and Contingencies (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommitmentsandContingenciesDetailsTable" xlink:to="rex_CommitmentsandContingenciesDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CommitmentsandContingenciesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_CommitmentsandContingenciesDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CommitmentsandContingenciesDetailsLineItems_lbl" xml:lang="en-US">Commitments and Contingencies (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommitmentsandContingenciesDetailsLineItems" xlink:to="rex_CommitmentsandContingenciesDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RelatedPartyTransactionsDetailsTable" xlink:href="rex-20210731.xsd#rex_RelatedPartyTransactionsDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RelatedPartyTransactionsDetailsTable_lbl" xml:lang="en-US">Related-Party Transactions (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RelatedPartyTransactionsDetailsTable" xlink:to="rex_RelatedPartyTransactionsDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RelatedPartyTransactionsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_RelatedPartyTransactionsDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RelatedPartyTransactionsDetailsLineItems_lbl" xml:lang="en-US">Related-Party Transactions (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RelatedPartyTransactionsDetailsLineItems" xlink:to="rex_RelatedPartyTransactionsDetailsLineItems_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition_lbl0" xml:lang="en-US">EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" xlink:to="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl0" xml:lang="en-US">The net gain (loss) resulting from sales and other disposals of real estate. Also includes, The difference between the sale price or salvage price and the book value of a property, plant, and equipment asset that was sold or retired during the reporting period. This element refers to the gain (loss).</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure_lbl0" xml:lang="en-US">Fair value of investment in cooperative as of the reporting date.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentInCooperativeFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl0" xml:lang="en-US">Maximum percentage of equity ownership interest which may be considered for equity method of accounting.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl0" xml:lang="en-US">non cash payments to acquire property, plant and equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl0" xml:lang="en-US">Quantity of bushels under forward purchase contract.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl0" xml:lang="en-US">Quantity of distillers grains under sales commitment.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment_lbl0" xml:lang="en-US">Quantity of ethanol under sales commitment.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfEthanolUnderSalesCommitment" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl0" xml:lang="en-US">Tabular disclosure of financial information for equity method investments.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl1" xml:lang="en-US">The Weighted Average Grant Date Fair Value of shares in share based compensation arrangement</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_BigRiverMember_lbl0" xml:lang="en-US">Big River [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_DriedDistillersGrainsMember_lbl0" xml:lang="en-US">Dried Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DriedDistillersGrainsMember" xlink:to="rex_DriedDistillersGrainsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_EthanolMember_lbl0" xml:lang="en-US">Ethanol [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EthanolMember" xlink:to="rex_EthanolMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_FixturesAndEquipmentMember_lbl0" xml:lang="en-US">Fixtures And Equipment [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FixturesAndEquipmentMember" xlink:to="rex_FixturesAndEquipmentMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_ModifiedDistillersGrainsMember_lbl0" xml:lang="en-US">Modified Distillers Grains [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ModifiedDistillersGrainsMember" xlink:to="rex_ModifiedDistillersGrainsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_NonFoodGradeCornOilMember_lbl0" xml:lang="en-US">Non-Food Grade Corn Oil [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonFoodGradeCornOilMember" xlink:to="rex_NonFoodGradeCornOilMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl0" xml:lang="en-US">One Earth Energy And NuGen Energy [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfNaturalGasUnderSalesCommitment_lbl0" xml:lang="en-US">QuantityOfNaturalGasUnderSalesCommitment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfNaturalGasUnderSalesCommitment" xlink:to="rex_QuantityOfNaturalGasUnderSalesCommitment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment_lbl1" xml:lang="en-US">QuantityOfEthanolUnderSalesCommitment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfEthanolUnderSalesCommitment" xlink:to="rex_QuantityOfEthanolUnderSalesCommitment_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RefinedCoalMember_lbl0" xml:lang="en-US">RefinedCoalMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RefinedCoalMember" xlink:to="rex_RefinedCoalMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract_lbl0" xml:lang="en-US">ChangesInAssetsAndLiabilitiesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="rex_ChangesInAssetsAndLiabilitiesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl1" xml:lang="en-US">GainOnDisposalOfRealEstateAndPropertyAndEquipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:to="rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl0" xml:lang="en-US">QuantityOfNonFoodGradeCornOilUnderSalesCommitments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:to="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CARESActNetOperatingLossCarrybackMember_lbl0" xml:lang="en-US">CARESActNetOperatingLossCarrybackMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CARESActNetOperatingLossCarrybackMember" xlink:to="rex_CARESActNetOperatingLossCarrybackMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ShortSellMember_lbl0" xml:lang="en-US">ShortSellMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShortSellMember" xlink:to="rex_ShortSellMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CommodityFutures_lbl0" xml:lang="en-US">CommodityFutures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommodityFutures" xlink:to="rex_CommodityFutures_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RexShareholdersMember_lbl0" xml:lang="en-US">RexShareholdersMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersMember" xlink:to="rex_RexShareholdersMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl1" xml:lang="en-US">ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:to="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EthanolMember_lbl1" xml:lang="en-US">EthanolMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EthanolMember" xlink:to="rex_EthanolMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NumberOfConsolidatedSubsidiaries_lbl0" xml:lang="en-US">NumberOfConsolidatedSubsidiaries</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfConsolidatedSubsidiaries" xlink:to="rex_NumberOfConsolidatedSubsidiaries_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonFoodGradeCornOilMember_lbl1" xml:lang="en-US">NonFoodGradeCornOilMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonFoodGradeCornOilMember" xlink:to="rex_NonFoodGradeCornOilMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl1" xml:lang="en-US">OneEarthEnergyAndNuGenEnergyMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract_lbl0" xml:lang="en-US">CashFlowsFromFinancingActivitiesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="rex_CashFlowsFromFinancingActivitiesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CommodityFuturesQuantity_lbl0" xml:lang="en-US">CommodityFuturesQuantity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CommodityFuturesQuantity" xlink:to="rex_CommodityFuturesQuantity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ProvisionForIncomeTaxesMember_lbl0" xml:lang="en-US">ProvisionForIncomeTaxesMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProvisionForIncomeTaxesMember" xlink:to="rex_ProvisionForIncomeTaxesMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_LiabilitiesAndEquityAbstract_lbl0" xml:lang="en-US">LiabilitiesAndEquityAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LiabilitiesAndEquityAbstract" xlink:to="rex_LiabilitiesAndEquityAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract_lbl0" xml:lang="en-US">CashFlowsFromOperatingActivitiesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="rex_CashFlowsFromOperatingActivitiesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_PresentValueDiscount_lbl0" xml:lang="en-US">PresentValueDiscount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PresentValueDiscount" xlink:to="rex_PresentValueDiscount_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FixturesAndEquipmentMember_lbl1" xml:lang="en-US">FixturesAndEquipmentMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FixturesAndEquipmentMember" xlink:to="rex_FixturesAndEquipmentMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract_lbl0" xml:lang="en-US">AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract_lbl0" xml:lang="en-US">ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:to="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_FeesIncurredBySubsidiary_lbl0" xml:lang="en-US">FeesIncurredBySubsidiary</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_FeesIncurredBySubsidiary" xlink:to="rex_FeesIncurredBySubsidiary_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsAccrued_lbl0" xml:lang="en-US">NonCashFinancingActivitiesEquityAwardsAccrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsAccrued_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_LongBuyMember_lbl0" xml:lang="en-US">LongBuyMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LongBuyMember" xlink:to="rex_LongBuyMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl1" xml:lang="en-US">QuantityOfDistillersGrainsUnderSalesCommitment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:to="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ProvisionBenefitForIncomeTaxesAbstract_lbl0" xml:lang="en-US">ProvisionBenefitForIncomeTaxesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProvisionBenefitForIncomeTaxesAbstract" xlink:to="rex_ProvisionBenefitForIncomeTaxesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractsQuantity_lbl0" xml:lang="en-US">ForwardPurchaseContractsQuantity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsQuantity" xlink:to="rex_ForwardPurchaseContractsQuantity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl1" xml:lang="en-US">NonCashInvestingActivitiesAccruedCapitalExpenditures</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DriedDistillersGrainsMember_lbl1" xml:lang="en-US">DriedDistillersGrainsMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DriedDistillersGrainsMember" xlink:to="rex_DriedDistillersGrainsMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CornMember_lbl0" xml:lang="en-US">CornMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CornMember" xlink:to="rex_CornMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RexShareholdersEquityAbstract_lbl0" xml:lang="en-US">RexShareholdersEquityAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="rex_RexShareholdersEquityAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue_lbl0" xml:lang="en-US">GainLossOnDerivativeInstrumentsNetSalesAndRevenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue" xlink:to="rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_IncomeLossBeforeIncomeTaxesAbstract_lbl0" xml:lang="en-US">IncomeLossBeforeIncomeTaxesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_IncomeLossBeforeIncomeTaxesAbstract" xlink:to="rex_IncomeLossBeforeIncomeTaxesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_LongTermLiabilitiesAbstract_lbl0" xml:lang="en-US">LongTermLiabilitiesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_LongTermLiabilitiesAbstract" xlink:to="rex_LongTermLiabilitiesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract_lbl0" xml:lang="en-US">CashFlowsFromInvestingActivitiesAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="rex_CashFlowsFromInvestingActivitiesAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SegmentGrossProfitLossAbstract_lbl0" xml:lang="en-US">SegmentGrossProfitLossAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SegmentGrossProfitLossAbstract" xlink:to="rex_SegmentGrossProfitLossAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure_lbl1" xml:lang="en-US">InvestmentInCooperativeFairValueDisclosure</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_InvestmentInCooperativeFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SalesOfProductsRefinedCoalSegmentAbstract_lbl0" xml:lang="en-US">SalesOfProductsRefinedCoalSegmentAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SalesOfProductsRefinedCoalSegmentAbstract" xlink:to="rex_SalesOfProductsRefinedCoalSegmentAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ModifiedDistillersGrainsMember_lbl1" xml:lang="en-US">ModifiedDistillersGrainsMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ModifiedDistillersGrainsMember" xlink:to="rex_ModifiedDistillersGrainsMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OutboundFreightCharges_lbl0" xml:lang="en-US">OutboundFreightCharges</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OutboundFreightCharges" xlink:to="rex_OutboundFreightCharges_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl1" xml:lang="en-US">MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:to="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl1" xml:lang="en-US">UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractAsset_lbl0" xml:lang="en-US">ForwardPurchaseContractAsset</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractAsset" xlink:to="rex_ForwardPurchaseContractAsset_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_StockOptionPlans2015Member_lbl0" xml:lang="en-US">StockOptionPlans2015Member</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_StockOptionPlans2015Member" xlink:to="rex_StockOptionPlans2015Member_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl2" xml:lang="en-US">ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:to="rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NetSalesAndRevenueAbstract_lbl0" xml:lang="en-US">NetSalesAndRevenueAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="rex_NetSalesAndRevenueAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_BigRiverMember_lbl1" xml:lang="en-US">BigRiverMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl1" xml:lang="en-US">QuantityOfBushelsUnderForwardPurchaseContract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract_lbl0" xml:lang="en-US">NetIncomeLossNetOfNoncontrollingInterestsAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract" xlink:to="rex_NetIncomeLossNetOfNoncontrollingInterestsAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition_lbl1" xml:lang="en-US">EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" xlink:to="rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AccruedExpensesRelatedParties_lbl0" xml:lang="en-US">AccruedExpensesRelatedParties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AccruedExpensesRelatedParties" xlink:to="rex_AccruedExpensesRelatedParties_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl0" xml:lang="en-US">Payments to Acquire Property, Plant, and Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalMember_lbl0" xml:lang="en-US">Additional Paid-in Capital [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalMember" xlink:to="us-gaap_AdditionalPaidInCapitalMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl0" xml:lang="en-US">Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryPolicyTextBlock_lbl0" xml:lang="en-US">Inventory, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryPolicyTextBlock" xlink:to="us-gaap_InventoryPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl0" xml:lang="en-US">Prepaid Expense and Other Assets, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock_lbl0" xml:lang="en-US">Additional Paid in Capital, Common Stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesReceivable_lbl0" xml:lang="en-US">Income Taxes Receivable, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesReceivable" xlink:to="us-gaap_IncomeTaxesReceivable_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartiesAmountInCostOfSales_lbl0" xml:lang="en-US">Related Parties Amount in Cost of Sales</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartiesAmountInCostOfSales" xlink:to="us-gaap_RelatedPartiesAmountInCostOfSales_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfSalesPolicyTextBlock_lbl0" xml:lang="en-US">Cost of Goods and Service [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesPolicyTextBlock" xlink:to="us-gaap_CostOfSalesPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl0" xml:lang="en-US">Deferred Tax Liabilities, Net, Noncurrent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentTextBlock_lbl0" xml:lang="en-US">Investment [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentTextBlock" xlink:to="us-gaap_InvestmentTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel1Member_lbl0" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel1Member" xlink:to="us-gaap_FairValueInputsLevel1Member_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityFileNumber_lbl0" xml:lang="en-US">Entity File Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFileNumber" xlink:to="dei_EntityFileNumber_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntitySmallBusiness_lbl0" xml:lang="en-US">Entity Small Business</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntitySmallBusiness" xlink:to="dei_EntitySmallBusiness_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ForwardContractsMember_lbl0" xml:lang="en-US">Forward Contracts [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ForwardContractsMember" xlink:to="us-gaap_ForwardContractsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityAddressCityOrTown_lbl0" xml:lang="en-US">Entity Address, City or Town</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressCityOrTown" xlink:to="dei_EntityAddressCityOrTown_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentGross_lbl0" xml:lang="en-US">Property, Plant and Equipment, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentGross" xlink:to="us-gaap_PropertyPlantAndEquipmentGross_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockMember_lbl0" xml:lang="en-US">Common Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockMember" xlink:to="us-gaap_CommonStockMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock_lbl0" xml:lang="en-US">Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl1" xml:lang="en-US">Proceeds from Equity Method Investment, Distribution</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock_lbl0" xml:lang="en-US">Significant Accounting Policies [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl0" xml:lang="en-US">Increase (Decrease) in Accounts Payable, Trade</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_lbl0" xml:lang="en-US">Property, Plant and Equipment, Estimated Useful Lives</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityFilerCategory_lbl0" xml:lang="en-US">Entity Filer Category</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityFilerCategory" xlink:to="dei_EntityFilerCategory_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MachineryAndEquipmentGross_lbl0" xml:lang="en-US">Machinery and Equipment, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MachineryAndEquipmentGross" xlink:to="us-gaap_MachineryAndEquipmentGross_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl0" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_lbl0" xml:lang="en-US">Income Tax Examination, Penalties and Interest Accrued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseLiability_lbl0" xml:lang="en-US">Operating Lease, Liability</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseLiability" xlink:to="us-gaap_OperatingLeaseLiability_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl0" xml:lang="en-US">Excess Tax Benefit from Share-based Compensation, Financing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:to="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl0" xml:lang="en-US">Equity Method Investment, Ownership Percentage</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl0" xml:lang="en-US">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeaseCost_lbl0" xml:lang="en-US">Lease, Cost</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseCost" xlink:to="us-gaap_LeaseCost_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl2" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityAddressStateOrProvince_lbl0" xml:lang="en-US">Entity Address, State or Province</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressStateOrProvince" xlink:to="dei_EntityAddressStateOrProvince_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit_lbl0" xml:lang="en-US">Retained Earnings (Accumulated Deficit)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock_lbl0" xml:lang="en-US">Schedule of Accrued Liabilities [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" xlink:to="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_lbl0" xml:lang="en-US">Selling, General and Administrative Expenses, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted_lbl0" xml:lang="en-US">Earnings Per Share, Basic and Diluted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EarningsPerShareBasicAndDiluted" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInInventories_lbl0" xml:lang="en-US">Increase (Decrease) in Inventories</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInInventories" xlink:to="us-gaap_IncreaseDecreaseInInventories_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_lbl0" xml:lang="en-US">Revenue from Contract with Customer, Including Assessed Tax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_LocalPhoneNumber_lbl0" xml:lang="en-US">Local Phone Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LocalPhoneNumber" xlink:to="dei_LocalPhoneNumber_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl0" xml:lang="en-US">Employee-related Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl0" xml:lang="en-US">Operating Lease, Weighted Average Discount Rate, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:to="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilityMember_lbl0" xml:lang="en-US">Liability [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilityMember" xlink:to="us-gaap_LiabilityMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ConstructionInProgressGross_lbl0" xml:lang="en-US">Construction in Progress, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ConstructionInProgressGross" xlink:to="us-gaap_ConstructionInProgressGross_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl0" xml:lang="en-US">Payments for Repurchase of Common Stock</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxPolicyTextBlock_lbl0" xml:lang="en-US">Income Tax, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxPolicyTextBlock" xlink:to="us-gaap_IncomeTaxPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCommonStockSharesOutstanding_lbl0" xml:lang="en-US">Entity Common Stock, Shares Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCommonStockSharesOutstanding" xlink:to="dei_EntityCommonStockSharesOutstanding_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromPaymentsToMinorityShareholders_lbl0" xml:lang="en-US">Proceeds from (Payments to) Noncontrolling Interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromPaymentsToMinorityShareholders" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel2Member_lbl0" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel2Member" xlink:to="us-gaap_FairValueInputsLevel2Member_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentNet_lbl1" xml:lang="en-US">Property, Plant and Equipment, Net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentNet" xlink:to="us-gaap_PropertyPlantAndEquipmentNet_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentTransitionReport_lbl0" xml:lang="en-US">Document Transition Report</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentTransitionReport" xlink:to="dei_DocumentTransitionReport_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeStockOptionMember_lbl0" xml:lang="en-US">Share-based Payment Arrangement, Option [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EmployeeStockOptionMember" xlink:to="us-gaap_EmployeeStockOptionMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments_lbl1" xml:lang="en-US">Income (Loss) from Equity Method Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl0" xml:lang="en-US">Increase (Decrease) in Prepaid Expense and Other Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl0" xml:lang="en-US">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedUtilitiesCurrent_lbl0" xml:lang="en-US">Accrued Utilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedUtilitiesCurrent" xlink:to="us-gaap_AccruedUtilitiesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommonStockValue_lbl0" xml:lang="en-US">Common Stock, Value, Issued</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommonStockValue" xlink:to="us-gaap_CommonStockValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityShellCompany_lbl0" xml:lang="en-US">Entity Shell Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityShellCompany" xlink:to="dei_EntityShellCompany_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense_lbl0" xml:lang="en-US">Share-based Payment Arrangement, Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllocatedShareBasedCompensationExpense" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromInterestAndDividendsReceived_lbl0" xml:lang="en-US">Proceeds from Interest and Dividends Received</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:to="us-gaap_ProceedsFromInterestAndDividendsReceived_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfSalesMember_lbl0" xml:lang="en-US">Cost of Sales [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfSalesMember" xlink:to="us-gaap_CostOfSalesMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityIncorporationStateCountryCode_lbl0" xml:lang="en-US">Entity Incorporation, State or Country Code</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityIncorporationStateCountryCode" xlink:to="dei_EntityIncorporationStateCountryCode_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_SecurityExchangeName_lbl0" xml:lang="en-US">Security Exchange Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_SecurityExchangeName" xlink:to="dei_SecurityExchangeName_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityAddressAddressLine1_lbl0" xml:lang="en-US">Entity Address, Address Line One</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressAddressLine1" xlink:to="dei_EntityAddressAddressLine1_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsAbstract_lbl0" xml:lang="en-US">Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsAbstract" xlink:to="us-gaap_AssetsAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_lbl0" xml:lang="en-US">Comprehensive Income, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl0" xml:lang="en-US">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentPolicyTextBlock_lbl0" xml:lang="en-US">Investment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentPolicyTextBlock" xlink:to="us-gaap_InvestmentPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_Security12bTitle_lbl0" xml:lang="en-US">Title of 12(b) Security</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_Security12bTitle" xlink:to="dei_Security12bTitle_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl0" xml:lang="en-US">Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates_lbl1" xml:lang="en-US">Proceeds from Contributions from Affiliates</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Three Years</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl0" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueDisclosuresTextBlock_lbl0" xml:lang="en-US">Fair Value Disclosures [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueDisclosuresTextBlock" xlink:to="us-gaap_FairValueDisclosuresTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommodityContractMember_lbl0" xml:lang="en-US">Commodity Contract [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommodityContractMember" xlink:to="us-gaap_CommodityContractMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsMember_lbl0" xml:lang="en-US">Retained Earnings [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsMember" xlink:to="us-gaap_RetainedEarningsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_lbl0" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsNoncurrent_lbl0" xml:lang="en-US">Other Assets, Noncurrent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl0" xml:lang="en-US">Deferred Income Tax Expense (Benefit)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CorporateAndOtherMember_lbl0" xml:lang="en-US">Corporate and Other [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CorporateAndOtherMember" xlink:to="us-gaap_CorporateAndOtherMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Investing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl2" xml:lang="en-US">Income Tax Expense (Benefit)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefit" xlink:to="us-gaap_IncomeTaxExpenseBenefit_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NumberOfOperatingSegments_lbl0" xml:lang="en-US">Number of Operating Segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfOperatingSegments" xlink:to="us-gaap_NumberOfOperatingSegments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_MaximumMember_lbl0" xml:lang="en-US">Maximum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MaximumMember" xlink:to="srt_MaximumMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedCashCurrent_lbl0" xml:lang="en-US">Restricted Cash, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RestrictedCashCurrent" xlink:to="us-gaap_RestrictedCashCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityRegistrantName_lbl0" xml:lang="en-US">Entity Registrant Name</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl0" xml:lang="en-US">Cash and Cash Equivalents, at Carrying Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeAssets_lbl0" xml:lang="en-US">Derivative Asset</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeAssets" xlink:to="us-gaap_DerivativeAssets_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_CityAreaCode_lbl0" xml:lang="en-US">City Area Code</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CityAreaCode" xlink:to="dei_CityAreaCode_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfGoodsAndServicesSold_lbl0" xml:lang="en-US">Cost of Goods and Services Sold</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostOfGoodsAndServicesSold" xlink:to="us-gaap_CostOfGoodsAndServicesSold_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_MinimumMember_lbl0" xml:lang="en-US">Minimum [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_MinimumMember" xlink:to="srt_MinimumMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_AmendmentFlag_lbl0" xml:lang="en-US">Amendment Flag</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Assets_lbl1" xml:lang="en-US">Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Assets" xlink:to="us-gaap_Assets_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValue_lbl0" xml:lang="en-US">Treasury Stock, Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_TreasuryStockValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableTradeCurrent_lbl0" xml:lang="en-US">Accounts Payable, Trade, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableTradeCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCentralIndexKey_lbl0" xml:lang="en-US">Entity Central Index Key</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesNoncurrent_lbl0" xml:lang="en-US">Liabilities, Noncurrent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProfitLoss_lbl2" xml:lang="en-US">Net Income (Loss), Including Portion Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl0" xml:lang="en-US">Schedule of Inventory, Current [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock_lbl0" xml:lang="en-US">Leases of Lessee Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes_lbl0" xml:lang="en-US">Accrued Liabilities for Commissions, Expense and Taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsReceivableNetCurrent_lbl0" xml:lang="en-US">Accounts Receivable, after Allowance for Credit Loss, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsReceivableNetCurrent" xlink:to="us-gaap_AccountsReceivableNetCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Two Years</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl0" xml:lang="en-US">Property, Plant and Equipment Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl0" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield_lbl0" xml:lang="en-US">Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" xlink:to="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedIncomeTaxes_lbl0" xml:lang="en-US">Accrued Income Taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedIncomeTaxes" xlink:to="us-gaap_AccruedIncomeTaxes_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl0" xml:lang="en-US">New Accounting Pronouncements, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeaseCostTableTextBlock_lbl0" xml:lang="en-US">Lease, Cost [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeaseCostTableTextBlock" xlink:to="us-gaap_LeaseCostTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl0" xml:lang="en-US">Fair Value of Financial Instruments, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl0" xml:lang="en-US">Financial Instruments, Owned, Derivatives and Other Contractual Agreements, at Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeLiabilities_lbl0" xml:lang="en-US">Derivative Liability</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeLiabilities" xlink:to="us-gaap_DerivativeLiabilities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl0" xml:lang="en-US">Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsCurrent_lbl0" xml:lang="en-US">Assets, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryNet_lbl1" xml:lang="en-US">Inventory, Net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryNet" xlink:to="us-gaap_InventoryNet_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_lbl0" xml:lang="en-US">Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock_lbl0" xml:lang="en-US">Segment Reporting Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesCurrent_lbl0" xml:lang="en-US">Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments Due, Next Twelve Months</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_lbl0" xml:lang="en-US">Shares Issued, Value, Share-based Payment Arrangement, after Forfeiture</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:to="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember_lbl0" xml:lang="en-US">Building and Building Improvements [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingAndBuildingImprovementsMember" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestments_lbl1" xml:lang="en-US">Equity Method Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BuildingsAndImprovementsGross_lbl0" xml:lang="en-US">Buildings and Improvements, Gross</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BuildingsAndImprovementsGross" xlink:to="us-gaap_BuildingsAndImprovementsGross_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl0" xml:lang="en-US">Property, Plant and Equipment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl2" xml:lang="en-US">Stockholders&apos; Equity, Including Portion Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MinorityInterest_lbl0" xml:lang="en-US">Stockholders&apos; Equity Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterest" xlink:to="us-gaap_MinorityInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity_lbl0" xml:lang="en-US">Liabilities and Equity</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl0" xml:lang="en-US">Proceeds from Sale of Short-term Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:to="us-gaap_ProceedsFromSaleOfShortTermInvestments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Five Years</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockSharesAcquired_lbl0" xml:lang="en-US">Treasury Stock, Shares, Acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockSharesAcquired" xlink:to="us-gaap_TreasuryStockSharesAcquired_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Net Income (Loss) Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NoncontrollingInterestMember_lbl0" xml:lang="en-US">Noncontrolling Interest [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NoncontrollingInterestMember" xlink:to="us-gaap_NoncontrollingInterestMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl0" xml:lang="en-US">Compensation and Employee Benefit Plans [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_VariableLeaseCost_lbl0" xml:lang="en-US">Variable Lease, Cost</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_VariableLeaseCost" xlink:to="us-gaap_VariableLeaseCost_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AllOtherSegmentsMember_lbl0" xml:lang="en-US">Other Segments [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AllOtherSegmentsMember" xlink:to="us-gaap_AllOtherSegmentsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember_lbl0" xml:lang="en-US">Majority-Owned Subsidiary, Unconsolidated [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FairValueInputsLevel3Member_lbl0" xml:lang="en-US">Fair Value, Inputs, Level 3 [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FairValueInputsLevel3Member" xlink:to="us-gaap_FairValueInputsLevel3Member_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialLiabilitiesFairValueDisclosure_lbl0" xml:lang="en-US">Financial Liabilities Fair Value Disclosure</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:to="us-gaap_FinancialLiabilitiesFairValueDisclosure_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl0" xml:lang="en-US">Increase (Decrease) in Accounts Receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsMember_lbl0" xml:lang="en-US">Assets [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsMember" xlink:to="us-gaap_AssetsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseExpense_lbl0" xml:lang="en-US">Operating Lease, Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseExpense" xlink:to="us-gaap_OperatingLeaseExpense_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnDerivativeInstrumentsNetPretax_lbl0" xml:lang="en-US">Gain (Loss) on Derivative Instruments, Net, Pretax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:to="us-gaap_GainLossOnDerivativeInstrumentsNetPretax_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments Due</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl0" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_CurrentFiscalYearEndDate_lbl0" xml:lang="en-US">Current Fiscal Year End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccruedLiabilitiesCurrent_lbl0" xml:lang="en-US">Accrued Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccruedLiabilitiesCurrent" xlink:to="us-gaap_AccruedLiabilitiesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl0" xml:lang="en-US">Proceeds from Sale of Property, Plant, and Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_lbl0" xml:lang="en-US">Increase (Decrease) in Income Taxes Receivable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InventoryWriteDown_lbl0" xml:lang="en-US">Inventory Write-down</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InventoryWriteDown" xlink:to="us-gaap_InventoryWriteDown_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharesOutstanding_lbl1" xml:lang="en-US">Shares, Outstanding</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharesOutstanding" xlink:to="us-gaap_SharesOutstanding_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityAbstract_lbl0" xml:lang="en-US">Equity [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_EquityAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl1" xml:lang="en-US">Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestAndOtherIncome_lbl0" xml:lang="en-US">Interest and Other Income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InterestAndOtherIncome" xlink:to="us-gaap_InterestAndOtherIncome_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl1" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl0" xml:lang="en-US">Property, Plant and Equipment [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl0" xml:lang="en-US">Net Income (Loss) from Continuing Operations Available to Common Shareholders, Basic</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl0" xml:lang="en-US">Retained Earnings, Undistributed Earnings from Equity Method Investees</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_lbl0" xml:lang="en-US">Unrecognized Tax Benefits, Increase Resulting from Prior Period Tax Positions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostsAndExpensesRelatedParty_lbl0" xml:lang="en-US">Costs and Expenses, Related Party</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpensesRelatedParty" xlink:to="us-gaap_CostsAndExpensesRelatedParty_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl0" xml:lang="en-US">Payments for (Proceeds from) Other Investing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxesPaid_lbl0" xml:lang="en-US">Income Taxes Paid</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxesPaid" xlink:to="us-gaap_IncomeTaxesPaid_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLoss_lbl1" xml:lang="en-US">Net Income (Loss) Attributable to Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLoss_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock_lbl0" xml:lang="en-US">Equity Method Investments [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentsTextBlock" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions_lbl0" xml:lang="en-US">Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense_lbl0" xml:lang="en-US">Selling, General and Administrative Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_lbl0" xml:lang="en-US">Accrual for Taxes Other than Income Taxes, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl0" xml:lang="en-US">Revenue from Contract with Customer, Excluding Assessed Tax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LandAndLandImprovements_lbl0" xml:lang="en-US">Land and Land Improvements</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LandAndLandImprovements" xlink:to="us-gaap_LandAndLandImprovements_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl0" xml:lang="en-US">Operating Leases, Future Minimum Payments, Due in Four Years</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock_lbl0" xml:lang="en-US">Income Tax Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl0" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Basic and Diluted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalYearFocus_lbl0" xml:lang="en-US">Document Fiscal Year Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent_lbl0" xml:lang="en-US">Other Accrued Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityEmergingGrowthCompany_lbl0" xml:lang="en-US">Entity Emerging Growth Company</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityEmergingGrowthCompany" xlink:to="dei_EntityEmergingGrowthCompany_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl0" xml:lang="en-US">Increase (Decrease) in Other Operating Liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityTaxIdentificationNumber_lbl0" xml:lang="en-US">Entity Tax Identification Number</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityTaxIdentificationNumber" xlink:to="dei_EntityTaxIdentificationNumber_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityAddressPostalZipCode_lbl0" xml:lang="en-US">Entity Address, Postal Zip Code</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityAddressPostalZipCode" xlink:to="dei_EntityAddressPostalZipCode_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentType_lbl0" xml:lang="en-US">Document Type</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityCurrentReportingStatus_lbl0" xml:lang="en-US">Entity Current Reporting Status</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCurrentReportingStatus" xlink:to="dei_EntityCurrentReportingStatus_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentFiscalPeriodFocus_lbl0" xml:lang="en-US">Document Fiscal Period Focus</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl0" xml:lang="en-US">Depreciation, Depletion and Amortization</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepreciationDepletionAndAmortization" xlink:to="us-gaap_DepreciationDepletionAndAmortization_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock_lbl0" xml:lang="en-US">Nonvested Restricted Stock Shares Activity [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CommodityContractAssetCurrent_lbl0" xml:lang="en-US">Commodity Contract Asset, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CommodityContractAssetCurrent" xlink:to="us-gaap_CommodityContractAssetCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityInteractiveDataCurrent_lbl0" xml:lang="en-US">Entity Interactive Data Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityInteractiveDataCurrent" xlink:to="dei_EntityInteractiveDataCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds_lbl0" xml:lang="en-US">Proceeds from Income Tax Refunds</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock_lbl0" xml:lang="en-US">Schedule of Derivative Assets at Fair Value [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NumberOfReportableSegments_lbl0" xml:lang="en-US">Number of Reportable Segments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NumberOfReportableSegments" xlink:to="us-gaap_NumberOfReportableSegments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesCurrentAbstract_lbl0" xml:lang="en-US">Liabilities, Current [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockMember_lbl0" xml:lang="en-US">Treasury Stock [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockMember" xlink:to="us-gaap_TreasuryStockMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl0" xml:lang="en-US">Related Party Transactions Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilitiesNoncurrent_lbl0" xml:lang="en-US">Other Liabilities, Noncurrent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_OtherLiabilitiesNoncurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments_lbl0" xml:lang="en-US">Payments to Acquire Short-term Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Revenues_lbl0" xml:lang="en-US">Revenues</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_Revenues" xlink:to="us-gaap_Revenues_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentQuarterlyReport_lbl0" xml:lang="en-US">Document Quarterly Report</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentQuarterlyReport" xlink:to="dei_DocumentQuarterlyReport_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentCollateralAmount_lbl0" xml:lang="en-US">Debt Instrument, Collateral Amount</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentCollateralAmount" xlink:to="us-gaap_DebtInstrumentCollateralAmount_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockholdersEquity_lbl0" xml:lang="en-US">Stockholders&apos; Equity Attributable to Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockholdersEquity" xlink:to="us-gaap_StockholdersEquity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GrossProfit_lbl2" xml:lang="en-US">Gross Profit</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_GrossProfit_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_TradingSymbol_lbl0" xml:lang="en-US">Trading Symbol</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_TradingSymbol" xlink:to="dei_TradingSymbol_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilitiesCurrent_lbl0" xml:lang="en-US">Other Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl0" xml:lang="en-US">Revenue from Contract with Customer [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl1" xml:lang="en-US">Accounts Payable, Related Parties, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_lbl0" xml:lang="en-US">Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:to="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl0" xml:lang="en-US">Operating Lease, Weighted Average Remaining Lease Term</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:to="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_DocumentPeriodEndDate_lbl0" xml:lang="en-US">Document Period End Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock_lbl0" xml:lang="en-US">Revenue [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AssetsCurrentAbstract_lbl0" xml:lang="en-US">Assets, Current [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrentAbstract_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeFinancialInstrumentsAssetsMember_lbl0" xml:lang="en-US">Derivative Financial Instruments, Assets [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeFinancialInstrumentsAssetsMember" xlink:to="us-gaap_DerivativeFinancialInstrumentsAssetsMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl0" xml:lang="en-US">Treasury Stock, Value, Acquired, Cost Method</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl0" xml:lang="en-US">Condensed Financial Information of Parent Company Only Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashAndCashEquivalentsPolicyTextBlock_lbl0" xml:lang="en-US">Cash and Cash Equivalents, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:to="us-gaap_CashAndCashEquivalentsPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl0" xml:lang="en-US">Shares Issued, Shares, Share-based Payment Arrangement, after Forfeiture</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:to="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefits_lbl0" xml:lang="en-US">Unrecognized Tax Benefits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefits" xlink:to="us-gaap_UnrecognizedTaxBenefits_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementTable_lbl" xml:lang="en-US">Statement [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_StatementLineItems_lbl" xml:lang="en-US">Statement [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StatementLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="srt_StatementScenarioAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_StatementScenarioAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="srt_StatementScenarioAxis_lbl" xml:lang="en-US">Scenario [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="srt_StatementScenarioAxis" xlink:to="srt_StatementScenarioAxis_lbl"/>
  </labelLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.PRE
<SEQUENCE>8
<FILENAME>rex-20210731_pre.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Sep 03 13:51:26 UTC 2021 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedBalanceSheet_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedIncomeStatement_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCondensedFinancialStatements" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPolicies" roleURI="http://www.rexamerican.com/role/AccountingPolicies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_NetSalesandRevenue" roleURI="http://www.rexamerican.com/role/NetSalesandRevenue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_Leases" roleURI="http://www.rexamerican.com/role/Leases"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_FairValue" roleURI="http://www.rexamerican.com/role/FairValue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_PropertyandEquipment" roleURI="http://www.rexamerican.com/role/PropertyandEquipment"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilities" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_DerivativeFinancialInstruments" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstruments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_Investments" roleURI="http://www.rexamerican.com/role/Investments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_EmployeeBenefits" roleURI="http://www.rexamerican.com/role/EmployeeBenefits"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_IncomeTaxes" roleURI="http://www.rexamerican.com/role/IncomeTaxes"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_CommitmentsandContingencies" roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_RelatedPartyTransactions" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_SegmentReporting" roleURI="http://www.rexamerican.com/role/SegmentReporting"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPoliciesTables" roleURI="http://www.rexamerican.com/role/AccountingPoliciesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_LeasesTables" roleURI="http://www.rexamerican.com/role/LeasesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_FairValueTables" roleURI="http://www.rexamerican.com/role/FairValueTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_PropertyandEquipmentTables" roleURI="http://www.rexamerican.com/role/PropertyandEquipmentTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilitiesTables" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_DerivativeFinancialInstrumentsTables" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_InvestmentsTables" roleURI="http://www.rexamerican.com/role/InvestmentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_EmployeeBenefitsTables" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_IncomeTaxesTables" roleURI="http://www.rexamerican.com/role/IncomeTaxesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_SegmentReportingTables" roleURI="http://www.rexamerican.com/role/SegmentReportingTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofComponentsofLeaseExpenseTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofFinancialInformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleOfSegmentResultsAndAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ScheduleOfSegmentAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_ConsolidatedCondensedFinancialStatementsDetails" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_AccountingPoliciesDetails" roleURI="http://www.rexamerican.com/role/AccountingPoliciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_LeasesDetails" roleURI="http://www.rexamerican.com/role/LeasesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_DerivativeFinancialInstrumentsDetails" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_InvestmentsDetails" roleURI="http://www.rexamerican.com/role/InvestmentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_EmployeeBenefitsDetails" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_IncomeTaxesDetails" roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_CommitmentsandContingenciesDetails" roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_RelatedPartyTransactionsDetails" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#rex_r_SegmentReportingDetails" roleURI="http://www.rexamerican.com/role/SegmentReportingDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20210731.xsd#DocumentAndEntityInformation" roleURI="http://www.rexamerican.com/role/DocumentAndEntityInformation"/>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AssetsCurrentAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_ShortTermInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AccountsReceivableNetCurrent" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_InventoryNet" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_IncomeTaxesReceivable" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:to="us-gaap_AssetsCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseRightOfUseAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_OperatingLeaseRightOfUseAsset" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_EquityMethodInvestments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_Assets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccountsPayableTradeCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_OperatingLeaseLiabilityCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="LongTermLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_LongTermLiabilitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="LongTermLiabilitiesAbstract" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="LongTermLiabilitiesAbstract" xlink:to="us-gaap_DeferredTaxLiabilitiesNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="LongTermLiabilitiesAbstract" xlink:to="us-gaap_OperatingLeaseLiabilityNoncurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="LongTermLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesNoncurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_EquityAbstract" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RexShareholdersEquityAbstract" xlink:href="rex-20210731.xsd#rex_RexShareholdersEquityAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="RexShareholdersEquityAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_CommonStockValue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TreasuryStockValue" xlink:to="us-gaap_StockholdersEquity" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_MinorityInterest" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="AccruedExpensesRelatedParties" xlink:href="rex-20210731.xsd#rex_AccruedExpensesRelatedParties"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="AccruedExpensesRelatedParties" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Revenues" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_Revenues" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_GrossProfit" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_InterestAndOtherIncome" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="7.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_ProfitLoss" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="9.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_NetIncomeLoss" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartiesAmountInCostOfSales" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartiesAmountInCostOfSales"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_RelatedPartiesAmountInCostOfSales" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ShareholdersEquityType2or3">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementEquityComponentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementEquityComponentsAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_CommonStockMember" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_TreasuryStockMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_AdditionalPaidInCapitalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_RetainedEarningsMember" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_NoncontrollingInterestMember" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" order="5.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProfitLoss" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockValueAcquiredCostMethod" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockSharesAcquired" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_TreasuryStockSharesAcquired" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" order="5.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SharesOutstanding_0" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfCashFlowsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="CashFlowsFromOperatingActivitiesAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromOperatingActivitiesAbstract" xlink:to="us-gaap_ProfitLoss" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="OperatingLeaseRightOfUseAssetAmortization" xlink:href="rex-20210731.xsd#rex_OperatingLeaseRightOfUseAssetAmortization"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="OperatingLeaseRightOfUseAssetAmortization" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="2.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromInterestAndDividendsReceived" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromInterestAndDividendsReceived"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromInterestAndDividendsReceived" order="4.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="GainOnDisposalOfRealEstateAndPropertyAndEquipment" xlink:href="rex-20210731.xsd#rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="GainOnDisposalOfRealEstateAndPropertyAndEquipment" order="7.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="ChangesInAssetsAndLiabilitiesAbstract" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInIncomeTaxesReceivable"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" order="2.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20210731.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="CashFlowsFromInvestingActivitiesAbstract" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquireShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsToAcquireShortTermInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfShortTermInvestments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="5.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromPaymentsToMinorityShareholders" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromPaymentsToMinorityShareholders"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromContributionsFromAffiliates"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_ProceedsFromContributionsFromAffiliates" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_0" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20210731.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="NonCashInvestingActivitiesAccruedCapitalExpenditures" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20210731.xsd#rex_NonCashFinancingActivitiesEquityAwardsAccrued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="NonCashFinancingActivitiesEquityAwardsAccrued" order="13.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" order="14.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" order="15.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="16.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCashCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_RestrictedCashCurrent" order="17.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements">
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPolicies">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SignificantAccountingPoliciesTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NetSalesandRevenue">
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_RevenueFromContractWithCustomerTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/Leases">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLesseeDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeasesOfLesseeDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_LeasesOfLesseeDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FairValue">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_FairValueDisclosuresTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PropertyandEquipment">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DerivativeFinancialInstruments">
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/Investments">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_InvestmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EmployeeBenefits">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxes">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CommitmentsandContingencies">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RelatedPartyTransactions">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReporting">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_SegmentReportingDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesByPolicy">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_CashAndCashEquivalentsPolicyTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_RevenueRecognitionPolicyTextBlock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_CostOfSalesPolicyTextBlock" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_FairValueOfFinancialInstrumentsPolicy" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_IncomeTaxPolicyTextBlock" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InventoryPolicyTextBlock" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_InvestmentPolicyTextBlock" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LeasesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCostTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCostTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_LeaseCostTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FairValueTables">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueDisclosuresAbstract" xlink:to="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PropertyandEquipmentTables">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/InvestmentsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20210731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EmployeeBenefitsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxesTables">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReportingTables">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="SegmentReportingTablesTable" xlink:href="rex-20210731.xsd#rex_SegmentReportingTablesTable"/>
    <loc xlink:type="locator" xlink:label="SegmentReportingTablesLineItems" xlink:href="rex-20210731.xsd#rex_SegmentReportingTablesLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="SegmentReportingTablesTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SegmentReportingTablesTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_AssetsMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SegmentReportingTablesTable" xlink:to="SegmentReportingTablesLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="SegmentReportingTablesLineItems" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryFinishedGoodsNetOfReserves" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWorkInProcessNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryWorkInProcessNetOfReserves" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryRawMaterialsNetOfReserves" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryRawMaterialsNetOfReserves" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfInventoryAbstract" xlink:to="us-gaap_InventoryNet" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfComponentsOfLeaseExpenseAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="us-gaap_OperatingLeaseExpense" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_VariableLeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableLeaseCost"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="us-gaap_VariableLeaseCost" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeaseCost" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LeaseCost"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:to="us-gaap_LeaseCost" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="PresentValueDiscount" xlink:href="rex-20210731.xsd#rex_PresentValueDiscount"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="PresentValueDiscount" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeaseLiability" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+AjS5ahVyBG6fQNVwrtUhTuOjyouViOMQ9TDj/BG4vDTO4QLNuV4Hd1wP8PrOH/DSzjlfBlCxFxCmOQVydpg6k8xcybzFsUtMywpHvL1XZkPFdc+lrWG6pk6RZ1ZKFGQBlAGaVnL852DovA7/aPW9eO] CSR-->
    <loc xlink:type="locator" xlink:label="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20210731.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <loc xlink:type="locator" xlink:label="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20210731.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract" xlink:to="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="us-gaap_FairValueByFairValueHierarchyLevelAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel1Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueInputsLevel1Member" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueInputsLevel2Member" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="us-gaap_FairValueInputsLevel3Member" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:to="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20210731.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="InvestmentInCooperativeFairValueDisclosure" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractAssetCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommodityContractAssetCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_CommodityContractAssetCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractAsset" xlink:href="rex-20210731.xsd#rex_ForwardPurchaseContractAsset"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractAsset" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_FinancialLiabilitiesFairValueDisclosure" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_LandAndLandImprovements" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_BuildingsAndImprovementsGross" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_MachineryAndEquipmentGross" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_ConstructionInProgressGross" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentGross" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" order="5.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfPropertyAndEquipmentAbstract" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedLiabilitiesAndOtherLiabilities" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="CommodityFutures" xlink:href="rex-20210731.xsd#rex_CommodityFutures"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="CommodityFutures" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedIncomeTaxes" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_AccruedLiabilitiesCurrent" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:to="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="us-gaap_DerivativeInstrumentRiskAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommodityContractMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommodityContractMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_CommodityContractMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_ForwardContractsMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:to="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeAssets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:to="us-gaap_DerivativeLiabilities" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_EquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <loc xlink:type="locator" xlink:label="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:href="rex-20210731.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
    <loc xlink:type="locator" xlink:label="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:href="rex-20210731.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:to="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:to="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20210731.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:to="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Revenues" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Revenues"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_Revenues" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_GrossProfit" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_NetIncomeLoss" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" xlink:href="rex-20210731.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_0" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_0" xlink:href="rex-20210731.xsd#rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue_0" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" xlink:href="rex-20210731.xsd#rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20210731.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_0" xlink:href="rex-20210731.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract" xlink:to="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_0" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfSegmentResultsAndAssetsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfSegmentResultsAndAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfSegmentResultsAndAssetsAbstract" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_CorporateAndOtherMember" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="DriedDistillersGrainsMember" xlink:href="rex-20210731.xsd#rex_DriedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="DriedDistillersGrainsMember" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonFoodGradeCornOilMember" xlink:href="rex-20210731.xsd#rex_NonFoodGradeCornOilMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="NonFoodGradeCornOilMember" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ModifiedDistillersGrainsMember" xlink:href="rex-20210731.xsd#rex_ModifiedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="ModifiedDistillersGrainsMember" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeFinancialInstrumentsAssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeFinancialInstrumentsAssetsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_DerivativeFinancialInstrumentsAssetsMember" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllOtherSegmentsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_AllOtherSegmentsMember" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_SegmentReportingInformationLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_GrossProfit" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfSegmentAssetsAbstract" xlink:href="rex-20210731.xsd#rex_ScheduleOfSegmentAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingInformationLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfSegmentAssetsAbstract" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CorporateAndOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CorporateAndOtherMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_CorporateAndOtherMember" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="us-gaap_SegmentReportingInformationLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_Assets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails">
    <loc xlink:type="locator" xlink:label="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20210731.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract" xlink:to="ConsolidatedCondensedFinancialStatementsDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="us-gaap_StatementBusinessSegmentsAxis" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="us-gaap_SegmentDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20210731.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="RefinedCoalMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:to="ConsolidatedCondensedFinancialStatementsDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="NumberOfConsolidatedSubsidiaries" xlink:href="rex-20210731.xsd#rex_NumberOfConsolidatedSubsidiaries"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="NumberOfConsolidatedSubsidiaries" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfReportableSegments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:to="us-gaap_NumberOfOperatingSegments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="AccountingPoliciesDetailsTable" xlink:href="rex-20210731.xsd#rex_AccountingPoliciesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="AccountingPoliciesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_AccountingPoliciesDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="AccountingPoliciesDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsTable" xlink:to="us-gaap_IncomeStatementLocationAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_IncomeStatementLocationDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="ProvisionForIncomeTaxesMember" xlink:href="rex-20210731.xsd#rex_ProvisionForIncomeTaxesMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="ProvisionForIncomeTaxesMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementLocationAxis" xlink:to="us-gaap_CostOfSalesMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="srt_RangeAxis" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsTable" xlink:to="srt_RangeAxis" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="srt_RangeMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_RangeMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="srt_MinimumMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_MinimumMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="srt_MaximumMember" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="srt_RangeAxis" xlink:to="srt_MaximumMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsTable" xlink:to="us-gaap_PropertyPlantAndEquipmentByTypeAxis" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_PropertyPlantAndEquipmentTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="us-gaap_BuildingAndBuildingImprovementsMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="FixturesAndEquipmentMember" xlink:href="rex-20210731.xsd#rex_FixturesAndEquipmentMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:to="FixturesAndEquipmentMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsTable" xlink:to="AccountingPoliciesDetailsLineItems" order="4.0"/>
    <loc xlink:type="locator" xlink:label="OutboundFreightCharges" xlink:href="rex-20210731.xsd#rex_OutboundFreightCharges"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="OutboundFreightCharges" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_IncomeTaxesPaid" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_ProceedsFromIncomeTaxRefunds" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefits" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryWriteDown" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWriteDown"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_InventoryWriteDown" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20210731.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AccountingPoliciesDetailsLineItems" xlink:to="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LeasesDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsTable" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_DerivativeFinancialInstrumentsDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="DerivativeFinancialInstrumentsDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsTable" xlink:to="us-gaap_ContractWithCustomerDurationAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ContractWithCustomerDurationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerDurationDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="us-gaap_ContractWithCustomerDurationDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="ShortSellMember" xlink:href="rex-20210731.xsd#rex_ShortSellMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="ShortSellMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="LongBuyMember" xlink:href="rex-20210731.xsd#rex_LongBuyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ContractWithCustomerDurationAxis" xlink:to="LongBuyMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeInstrumentRiskAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsTable" xlink:to="us-gaap_DerivativeInstrumentRiskAxis" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_DerivativeContractTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilityMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilityMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_LiabilityMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DerivativeInstrumentRiskAxis" xlink:to="us-gaap_AssetsMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsTable" xlink:to="us-gaap_TradingActivityByTypeAxis" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TradingActivityByTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TradingActivityByTypeDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="us-gaap_TradingActivityByTypeDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="CornMember" xlink:href="rex-20210731.xsd#rex_CornMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="CornMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsTable" xlink:to="DerivativeFinancialInstrumentsDetailsLineItems" order="4.0"/>
    <loc xlink:type="locator" xlink:label="CommodityFuturesQuantity" xlink:href="rex-20210731.xsd#rex_CommodityFuturesQuantity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="CommodityFuturesQuantity" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractsQuantity" xlink:href="rex-20210731.xsd#rex_ForwardPurchaseContractsQuantity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="ForwardPurchaseContractsQuantity" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="GainLossOnDerivativeInstrumentsNetSalesAndRevenue" xlink:href="rex-20210731.xsd#rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="GainLossOnDerivativeInstrumentsNetSalesAndRevenue" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DerivativeFinancialInstrumentsDetailsLineItems" xlink:to="us-gaap_GainLossOnDerivativeInstrumentsNetPretax" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/InvestmentsDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShortTermInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShortTermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ShortTermInvestments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EmployeeBenefitsDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="EmployeeBenefitsDetailsTable" xlink:href="rex-20210731.xsd#rex_EmployeeBenefitsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="EmployeeBenefitsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_EmployeeBenefitsDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="EmployeeBenefitsDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsTable" xlink:to="us-gaap_PlanNameAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PlanNameAxis" xlink:to="us-gaap_PlanNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="StockOptionPlans2015Member" xlink:href="rex-20210731.xsd#rex_StockOptionPlans2015Member"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_PlanNameAxis" xlink:to="StockOptionPlans2015Member" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsTable" xlink:to="us-gaap_AwardTypeAxis" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_EmployeeStockOptionMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="RexShareholdersMember" xlink:href="rex-20210731.xsd#rex_RexShareholdersMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="RexShareholdersMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsTable" xlink:to="EmployeeBenefitsDetailsLineItems" order="4.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EmployeeBenefitsDetailsLineItems" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/IncomeTaxesDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="IncomeTaxesDetailsTable" xlink:href="rex-20210731.xsd#rex_IncomeTaxesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="IncomeTaxesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="IncomeTaxesDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsTable" xlink:to="us-gaap_TaxCreditCarryforwardAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TaxCreditCarryforwardNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TaxCreditCarryforwardAxis" xlink:to="us-gaap_TaxCreditCarryforwardNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="CARESActNetOperatingLossCarrybackMember" xlink:href="rex-20210731.xsd#rex_CARESActNetOperatingLossCarrybackMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TaxCreditCarryforwardAxis" xlink:to="CARESActNetOperatingLossCarrybackMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsTable" xlink:to="IncomeTaxesDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="CommitmentsandContingenciesDetailsTable" xlink:href="rex-20210731.xsd#rex_CommitmentsandContingenciesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="CommitmentsandContingenciesDetailsLineItems" xlink:href="rex-20210731.xsd#rex_CommitmentsandContingenciesDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="CommitmentsandContingenciesDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LegalEntityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsTable" xlink:to="dei_LegalEntityAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20210731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="OneEarthEnergyAndNuGenEnergyMember" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="RefinedCoalMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsTable" xlink:to="CommitmentsandContingenciesDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20210731.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="QuantityOfBushelsUnderForwardPurchaseContract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="QuantityOfNaturalGasUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfNaturalGasUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="QuantityOfNaturalGasUnderSalesCommitment" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="QuantityOfEthanolUnderSalesCommitment" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20210731.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="QuantityOfDistillersGrainsUnderSalesCommitment" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20210731.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="FeesIncurredBySubsidiary" xlink:href="rex-20210731.xsd#rex_FeesIncurredBySubsidiary"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CommitmentsandContingenciesDetailsLineItems" xlink:to="FeesIncurredBySubsidiary" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="RelatedPartyTransactionsDetailsTable" xlink:href="rex-20210731.xsd#rex_RelatedPartyTransactionsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="RelatedPartyTransactionsDetailsLineItems" xlink:href="rex-20210731.xsd#rex_RelatedPartyTransactionsDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="RelatedPartyTransactionsDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsTable" xlink:to="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="us-gaap_RelatedPartyDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20210731.xsd#rex_RefinedCoalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="RefinedCoalMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LegalEntityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsTable" xlink:to="dei_LegalEntityAxis" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20210731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="OneEarthEnergyAndNuGenEnergyMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsTable" xlink:to="RelatedPartyTransactionsDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_CostsAndExpensesRelatedParty" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_AccountsPayableRelatedPartiesCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RelatedPartyTransactionsDetailsLineItems" xlink:to="us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SegmentReportingDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfReportableSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NumberOfReportableSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingAbstract" xlink:to="us-gaap_NumberOfReportableSegments" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:label="DocumentAndEntityInformationAbstract" xlink:href="rex-20210731.xsd#rex_DocumentAndEntityInformationAbstract"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentInformationTable" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentInformationTable"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentInformationLineItems" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentInformationLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentInformationTable" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationTable" xlink:to="dei_DocumentInformationLineItems" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityRegistrantName"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityRegistrantName" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_TradingSymbol"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_TradingSymbol" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentType"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentType" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_CurrentFiscalYearEndDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_CurrentFiscalYearEndDate" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCommonStockSharesOutstanding" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_AmendmentFlag"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_AmendmentFlag" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCentralIndexKey"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCentralIndexKey" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityCurrentReportingStatus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityCurrentReportingStatus" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityFilerCategory"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityFilerCategory" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentPeriodEndDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentPeriodEndDate" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentFiscalYearFocus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentFiscalYearFocus" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentFiscalPeriodFocus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentFiscalPeriodFocus" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntitySmallBusiness" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntitySmallBusiness"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntitySmallBusiness" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityEmergingGrowthCompany" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityEmergingGrowthCompany"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityEmergingGrowthCompany" order="13.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityShellCompany" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityShellCompany"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityShellCompany" order="14.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentQuarterlyReport" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentQuarterlyReport"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentQuarterlyReport" order="15.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentTransitionReport" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_DocumentTransitionReport"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_DocumentTransitionReport" order="16.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFileNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityFileNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityFileNumber" order="17.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityIncorporationStateCountryCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityIncorporationStateCountryCode"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityIncorporationStateCountryCode" order="18.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityTaxIdentificationNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityTaxIdentificationNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityTaxIdentificationNumber" order="19.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressAddressLine1" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressAddressLine1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressAddressLine1" order="20.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressCityOrTown" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressCityOrTown"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressCityOrTown" order="21.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressStateOrProvince" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressStateOrProvince"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressStateOrProvince" order="22.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityAddressPostalZipCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityAddressPostalZipCode"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityAddressPostalZipCode" order="23.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_CityAreaCode" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_CityAreaCode"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_CityAreaCode" order="24.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_LocalPhoneNumber" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_LocalPhoneNumber"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_LocalPhoneNumber" order="25.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_Security12bTitle" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_Security12bTitle"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_Security12bTitle" order="26.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_SecurityExchangeName" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_SecurityExchangeName"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_SecurityExchangeName" order="27.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="dei_EntityInteractiveDataCurrent" xlink:href="https://xbrl.sec.gov/dei/2021/dei-2021.xsd#dei_EntityInteractiveDataCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityInteractiveDataCurrent" order="28.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>9
<FILENAME>c102240_10q-ixbrl_htm.xml
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<XML>
<?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>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>10
<FILENAME>R1.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986194408">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Document And Entity Information - shares<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Sep. 02, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentInformationLineItems', window );"><strong>Document Information Line Items</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityRegistrantName', window );">Entity Registrant Name</a></td>
<td class="text">REX AMERICAN RESOURCES CORPORATION<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_TradingSymbol', window );">Trading Symbol</a></td>
<td class="text">REX<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentType', window );">Document Type</a></td>
<td class="text">10-Q<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_CurrentFiscalYearEndDate', window );">Current Fiscal Year End Date</a></td>
<td class="text">--01-31<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCommonStockSharesOutstanding', window );">Entity Common Stock, Shares Outstanding</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">5,970,938<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_AmendmentFlag', window );">Amendment Flag</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCentralIndexKey', window );">Entity Central Index Key</a></td>
<td class="text">0000744187<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityCurrentReportingStatus', window );">Entity Current Reporting Status</a></td>
<td class="text">Yes<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityFilerCategory', window );">Entity Filer Category</a></td>
<td class="text">Accelerated Filer<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentPeriodEndDate', window );">Document Period End Date</a></td>
<td class="text">Jul. 31,  2021<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentFiscalYearFocus', window );">Document Fiscal Year Focus</a></td>
<td class="text">2021<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentFiscalPeriodFocus', window );">Document Fiscal Period Focus</a></td>
<td class="text">Q2<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntitySmallBusiness', window );">Entity Small Business</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityEmergingGrowthCompany', window );">Entity Emerging Growth Company</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityShellCompany', window );">Entity Shell Company</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentQuarterlyReport', window );">Document Quarterly Report</a></td>
<td class="text">true<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_DocumentTransitionReport', window );">Document Transition Report</a></td>
<td class="text">false<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityFileNumber', window );">Entity File Number</a></td>
<td class="text">001-09097<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityIncorporationStateCountryCode', window );">Entity Incorporation, State or Country Code</a></td>
<td class="text">DE<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityTaxIdentificationNumber', window );">Entity Tax Identification Number</a></td>
<td class="text">31-1095548<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityAddressAddressLine1', window );">Entity Address, Address Line One</a></td>
<td class="text">7720 Paragon Road<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityAddressCityOrTown', window );">Entity Address, City or Town</a></td>
<td class="text">Dayton<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityAddressStateOrProvince', window );">Entity Address, State or Province</a></td>
<td class="text">OH<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityAddressPostalZipCode', window );">Entity Address, Postal Zip Code</a></td>
<td class="text">45459<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_CityAreaCode', window );">City Area Code</a></td>
<td class="text">937<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_LocalPhoneNumber', window );">Local Phone Number</a></td>
<td class="text">276-3931<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_Security12bTitle', window );">Title of 12(b) Security</a></td>
<td class="text">Common stock, $0.01 par value<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_SecurityExchangeName', window );">Security Exchange Name</a></td>
<td class="text">NYSE<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityInteractiveDataCurrent', window );">Entity Interactive Data Current</a></td>
<td class="text">Yes<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_AmendmentFlag">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_AmendmentFlag</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_CityAreaCode">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Area code of city</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_CityAreaCode</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_CurrentFiscalYearEndDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>End date of current fiscal year in the format --MM-DD.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_CurrentFiscalYearEndDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gMonthDayItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentFiscalPeriodFocus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentFiscalPeriodFocus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:fiscalPeriodItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentFiscalYearFocus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentFiscalYearFocus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:gYearItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentInformationLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentInformationLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentPeriodEndDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentPeriodEndDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:dateItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentQuarterlyReport">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Boolean flag that is true only for a form used as an quarterly report.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Form 10-Q<br> -Number 240<br> -Section 308<br> -Subsection a<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentQuarterlyReport</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentTransitionReport">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Boolean flag that is true only for a form used as a transition report.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Forms 10-K, 10-Q, 20-F<br> -Number 240<br> -Section 13<br> -Subsection a-1<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentTransitionReport</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_DocumentType">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_DocumentType</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:submissionTypeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityAddressAddressLine1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Address Line 1 such as Attn, Building Name, Street Name</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityAddressAddressLine1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityAddressCityOrTown">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Name of the City or Town</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityAddressCityOrTown</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityAddressPostalZipCode">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Code for the postal or zip code</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityAddressPostalZipCode</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityAddressStateOrProvince">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Name of the state or province.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityAddressStateOrProvince</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:stateOrProvinceItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCentralIndexKey">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCentralIndexKey</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:centralIndexKeyItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCommonStockSharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCommonStockSharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityCurrentReportingStatus">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityCurrentReportingStatus</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:yesNoItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityEmergingGrowthCompany">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate if registrant meets the emerging growth company criteria.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityEmergingGrowthCompany</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityFileNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityFileNumber</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:fileNumberItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityFilerCategory">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityFilerCategory</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:filerCategoryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityIncorporationStateCountryCode">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Two-character EDGAR code representing the state or country of incorporation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityIncorporationStateCountryCode</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:edgarStateCountryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityInteractiveDataCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation S-T<br> -Number 232<br> -Section 405<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityInteractiveDataCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:yesNoItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityRegistrantName">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityRegistrantName</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityShellCompany">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityShellCompany</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntitySmallBusiness">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Indicates that the company is a Smaller Reporting Company (SRC).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntitySmallBusiness</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:booleanItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_EntityTaxIdentificationNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Regulation 12B<br> -Number 240<br> -Section 12<br> -Subsection b-2<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_EntityTaxIdentificationNumber</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:employerIdItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LocalPhoneNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Local phone number for entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_LocalPhoneNumber</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:normalizedStringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_Security12bTitle">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Title of a 12(b) registered security.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Exchange Act<br> -Number 240<br> -Section 12<br> -Subsection b<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_Security12bTitle</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:securityTitleItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_SecurityExchangeName">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Name of the Exchange on which a security is registered.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher SEC<br> -Name Exchange Act<br> -Number 240<br> -Section 12<br> -Subsection d1-1<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_SecurityExchangeName</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:edgarExchangeCodeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_TradingSymbol">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Trading symbol of an instrument as listed on an exchange.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_TradingSymbol</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>dei_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dei:tradingSymbolItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>11
<FILENAME>R2.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986231368">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED BALANCE SHEETS - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrentAbstract', window );"><strong>Current assets:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents</a></td>
<td class="nump">$ 154,312<span></span>
</td>
<td class="nump">$ 144,501<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShortTermInvestments', window );">Short-term investments</a></td>
<td class="nump">33,282<span></span>
</td>
<td class="nump">36,194<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestrictedCashCurrent', window );">Restricted cash</a></td>
<td class="nump">6,758<span></span>
</td>
<td class="nump">1,657<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsReceivableNetCurrent', window );">Accounts receivable</a></td>
<td class="nump">29,521<span></span>
</td>
<td class="nump">19,713<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryNet', window );">Inventory</a></td>
<td class="nump">41,759<span></span>
</td>
<td class="nump">37,880<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxesReceivable', window );">Refundable income taxes</a></td>
<td class="nump">6,892<span></span>
</td>
<td class="nump">6,020<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent', window );">Prepaid expenses and other</a></td>
<td class="nump">12,175<span></span>
</td>
<td class="nump">12,785<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrent', window );">Total current assets</a></td>
<td class="nump">284,699<span></span>
</td>
<td class="nump">258,750<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentNet', window );">Property and equipment, net</a></td>
<td class="nump">145,078<span></span>
</td>
<td class="nump">153,186<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseRightOfUseAsset', window );">Operating lease right-of-use assets</a></td>
<td class="nump">13,211<span></span>
</td>
<td class="nump">12,678<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsNoncurrent', window );">Deferred taxes and other assets</a></td>
<td class="nump">30,649<span></span>
</td>
<td class="nump">25,275<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestments', window );">Equity method investment</a></td>
<td class="nump">31,870<span></span>
</td>
<td class="nump">29,456<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Total assets</a></td>
<td class="nump">505,507<span></span>
</td>
<td class="nump">479,345<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrentAbstract', window );"><strong>Current liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableTradeCurrent', window );">Accounts payable, trade (includes $2.5 million and $0.7 million with related parties at July 31, 2021 and January 31, 2021, respectively)</a></td>
<td class="nump">22,041<span></span>
</td>
<td class="nump">16,907<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseLiabilityCurrent', window );">Current operating lease liabilities</a></td>
<td class="nump">5,380<span></span>
</td>
<td class="nump">4,875<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesCurrent', window );">Accrued expenses and other current liabilities (includes $0.1 million with related parties at July 31, 2021 and January 31, 2021)</a></td>
<td class="nump">11,274<span></span>
</td>
<td class="nump">8,955<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrent', window );">Total current liabilities</a></td>
<td class="nump">38,695<span></span>
</td>
<td class="nump">30,737<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_LongTermLiabilitiesAbstract', window );"><strong>Long-term liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxLiabilitiesNoncurrent', window );">Deferred taxes</a></td>
<td class="nump">4,030<span></span>
</td>
<td class="nump">3,713<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseLiabilityNoncurrent', window );">Long-term operating lease liabilities</a></td>
<td class="nump">7,534<span></span>
</td>
<td class="nump">7,439<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesNoncurrent', window );">Other long-term liabilities</a></td>
<td class="nump">1,951<span></span>
</td>
<td class="nump">273<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesNoncurrent', window );">Total long-term liabilities</a></td>
<td class="nump">13,515<span></span>
</td>
<td class="nump">11,425<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RexShareholdersEquityAbstract', window );"><strong>REX shareholders&#8217; equity:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommonStockValue', window );">Common stock</a></td>
<td class="nump">299<span></span>
</td>
<td class="nump">299<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AdditionalPaidInCapitalCommonStock', window );">Paid-in capital</a></td>
<td class="nump">149,263<span></span>
</td>
<td class="nump">149,110<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RetainedEarningsAccumulatedDeficit', window );">Retained earnings</a></td>
<td class="nump">605,646<span></span>
</td>
<td class="nump">589,986<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValue', window );">Treasury stock</a></td>
<td class="num">(355,936)<span></span>
</td>
<td class="num">(354,612)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquity', window );">Total REX shareholders&#8217; equity</a></td>
<td class="nump">399,272<span></span>
</td>
<td class="nump">384,783<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterest', window );">Noncontrolling interests</a></td>
<td class="nump">54,025<span></span>
</td>
<td class="nump">52,400<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Total equity</a></td>
<td class="nump">453,297<span></span>
</td>
<td class="nump">437,183<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesAndStockholdersEquity', window );">Total liabilities and equity</a></td>
<td class="nump">$ 505,507<span></span>
</td>
<td class="nump">$ 479,345<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_LongTermLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_LongTermLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_RexShareholdersEquityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_RexShareholdersEquityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableTradeCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6935-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableTradeCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsReceivableNetCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 310<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=124259787&amp;loc=d3e4428-111522<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 310<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124259787&amp;loc=d3e4531-111522<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsReceivableNetCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AdditionalPaidInCapitalCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30)(a)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AdditionalPaidInCapitalCommonStock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Assets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(11))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (bb)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=116870748&amp;loc=SL6758485-165988<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Assets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6801-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.9)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=116870748&amp;loc=SL6758485-165988<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 15: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (bb)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 20: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3044-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommonStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommonStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredTaxLiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting and classified as noncurrent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123427490&amp;loc=d3e31917-109318<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=123427490&amp;loc=d3e31931-109318<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=123427490&amp;loc=d3e31958-109318<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredTaxLiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109237563&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8813-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.12)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxesReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03.5(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03.10)<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.3(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxesReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesAndStockholdersEquity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(25))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(32))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesAndStockholdersEquity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=116870748&amp;loc=SL6758485-165988<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (bb)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 20: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.21)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of obligation due after one year or beyond the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 201.5-02(25))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(23))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 201.5-02(26))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 6: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 201.5-02(24))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 15: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (bb)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=116870748&amp;loc=SL6758485-165988<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_MinorityInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(24))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.31)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 10: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_MinorityInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseLiabilityCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123391704&amp;loc=SL77918627-209977<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseLiabilityCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseLiabilityNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123391704&amp;loc=SL77918627-209977<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseLiabilityNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseRightOfUseAsset">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of lessee's right to use underlying asset under operating lease.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123391704&amp;loc=SL77918627-209977<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseRightOfUseAsset</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAssetsNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of noncurrent assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.17)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAssetsNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6904-107765<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6911-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherLiabilitiesNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.24)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherLiabilitiesNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PrepaidExpenseAndOtherAssetsCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(7))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PrepaidExpenseAndOtherAssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(14))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 360<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=124429447&amp;loc=SL124453093-239630<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 6: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestrictedCashCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=123431023&amp;loc=SL98516268-108586<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestrictedCashCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RetainedEarningsAccumulatedDeficit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cumulative amount of the reporting entity's undistributed earnings or deficit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30)(a)(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (g)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(23)(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 40<br> -Section 65<br> -Paragraph 2<br> -Subparagraph (h)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124501264&amp;loc=SL117420844-207641<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 40<br> -Section 65<br> -Paragraph 2<br> -Subparagraph (g)(2)(i)<br> -URI http://asc.fasb.org/extlink&amp;oid=124501264&amp;loc=SL117420844-207641<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RetainedEarningsAccumulatedDeficit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShortTermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(1)(g))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShortTermInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 310<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 4.E)<br> -URI http://asc.fasb.org/extlink&amp;oid=122038336&amp;loc=d3e74512-122707<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(31))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(30))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=124436220&amp;loc=d3e21930-107793<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 45<br> -Paragraph 23<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124436220&amp;loc=d3e21914-107793<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22644-107794<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124442411-227067<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 326<br> -SubTopic 10<br> -Section 65<br> -Paragraph 4<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=122640432&amp;loc=SL121648383-210437<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 105<br> -SubTopic 10<br> -Section 65<br> -Paragraph 6<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=124434974&amp;loc=SL124442142-165695<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 105<br> -SubTopic 10<br> -Section 65<br> -Paragraph 6<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=124434974&amp;loc=SL124442142-165695<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4568740-111683<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (e)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124436220&amp;loc=d3e21711-107793<br><br>Reference 13: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 30<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6450520&amp;loc=d3e32583-110901<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 65<br> -Paragraph 8<br> -Subparagraph (d)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123459177&amp;loc=SL121830611-158277<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 30<br> -Section 45<br> -Paragraph 17<br> -URI http://asc.fasb.org/extlink&amp;oid=118261656&amp;loc=d3e32136-110900<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 65<br> -Paragraph 8<br> -Subparagraph (d)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123459177&amp;loc=SL121830611-158277<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 40<br> -Section 65<br> -Paragraph 2<br> -Subparagraph (f)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124501264&amp;loc=SL117420844-207641<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (f)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 21: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4I<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4590271-111686<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 40<br> -Section 65<br> -Paragraph 2<br> -Subparagraph (f)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=124501264&amp;loc=SL117420844-207641<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 30<br> -Section 45<br> -Paragraph 20<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=118261656&amp;loc=d3e32211-110900<br><br>Reference 24: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4568447-111683<br><br>Reference 25: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (f)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Topic 848<br> -SubTopic 10<br> -Name Accounting Standards Codification<br> -Section 65<br> -Paragraph 2<br> -Publisher FASB<br> -Subparagraph (a)(3)(iii)(03)<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=6405834&amp;loc=d3e23315-112656<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.29,30)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>12
<FILENAME>R3.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148990251976">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED BALANCE SHEETS (Parentheticals) - USD ($)<br> $ in Millions</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementOfFinancialPositionAbstract', window );"><strong>Statement of Financial Position [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableRelatedPartiesCurrent', window );">Accounts payable, related parties</a></td>
<td class="nump">$ 2.5<span></span>
</td>
<td class="nump">$ 0.7<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccruedExpensesRelatedParties', window );">Accrued expenses, related parties</a></td>
<td class="nump">$ 0.1<span></span>
</td>
<td class="nump">$ 0.1<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_AccruedExpensesRelatedParties">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_AccruedExpensesRelatedParties</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableRelatedPartiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39603-107864<br><br>Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(k)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableRelatedPartiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementOfFinancialPositionAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementOfFinancialPositionAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>13
<FILENAME>R4.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985980632">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeStatementAbstract', window );"><strong>Income Statement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Revenues', window );">Net sales and revenue</a></td>
<td class="nump">$ 195,843<span></span>
</td>
<td class="nump">$ 39,327<span></span>
</td>
<td class="nump">$ 359,947<span></span>
</td>
<td class="nump">$ 122,577<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostOfGoodsAndServicesSold', window );">Cost of sales (includes $20,650 and $4,887 with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $37,383 and $17,159 with related parties for the six months ended July 31, 2021 and 2020, respectively)</a></td>
<td class="nump">184,769<span></span>
</td>
<td class="nump">40,658<span></span>
</td>
<td class="nump">331,071<span></span>
</td>
<td class="nump">133,238<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Gross profit (loss)</a></td>
<td class="nump">11,074<span></span>
</td>
<td class="num">(1,331)<span></span>
</td>
<td class="nump">28,876<span></span>
</td>
<td class="num">(10,661)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SellingGeneralAndAdministrativeExpense', window );">Selling, general and administrative expenses (includes $154 and $152 with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $191 and $(145) with related parties for the six months ended July 31, 2021 and 2020, respectively)</a></td>
<td class="num">(6,582)<span></span>
</td>
<td class="num">(4,438)<span></span>
</td>
<td class="num">(16,570)<span></span>
</td>
<td class="num">(9,043)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromEquityMethodInvestments', window );">Equity in income (loss) of unconsolidated affiliates</a></td>
<td class="nump">1,844<span></span>
</td>
<td class="num">(507)<span></span>
</td>
<td class="nump">2,414<span></span>
</td>
<td class="num">(984)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InterestAndOtherIncome', window );">Interest and other income, net</a></td>
<td class="nump">39<span></span>
</td>
<td class="nump">197<span></span>
</td>
<td class="nump">82<span></span>
</td>
<td class="nump">866<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income (loss) before income taxes</a></td>
<td class="nump">6,375<span></span>
</td>
<td class="num">(6,079)<span></span>
</td>
<td class="nump">14,802<span></span>
</td>
<td class="num">(19,822)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Benefit for income taxes</a></td>
<td class="nump">3,677<span></span>
</td>
<td class="nump">4,046<span></span>
</td>
<td class="nump">3,648<span></span>
</td>
<td class="nump">9,359<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income (loss)</a></td>
<td class="nump">10,052<span></span>
</td>
<td class="num">(2,033)<span></span>
</td>
<td class="nump">18,450<span></span>
</td>
<td class="num">(10,463)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest', window );">Net (income) loss attributable to noncontrolling interests</a></td>
<td class="num">(2,176)<span></span>
</td>
<td class="nump">285<span></span>
</td>
<td class="num">(2,790)<span></span>
</td>
<td class="nump">1,080<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income (loss) attributable to REX common shareholders</a></td>
<td class="nump">$ 7,876<span></span>
</td>
<td class="num">$ (1,748)<span></span>
</td>
<td class="nump">$ 15,660<span></span>
</td>
<td class="num">$ (9,383)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted', window );">Weighted average shares outstanding &#8211; basic and diluted (in Shares)</a></td>
<td class="nump">6,011<span></span>
</td>
<td class="nump">6,216<span></span>
</td>
<td class="nump">6,010<span></span>
</td>
<td class="nump">6,261<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EarningsPerShareBasicAndDiluted', window );">Basic and diluted net income (loss) per share attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 1.31<span></span>
</td>
<td class="num">$ (0.28)<span></span>
</td>
<td class="nump">$ 2.61<span></span>
</td>
<td class="num">$ (1.50)<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostOfGoodsAndServicesSold">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 924<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 11.L)<br> -URI http://asc.fasb.org/extlink&amp;oid=6472922&amp;loc=d3e499488-122856<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.2(a),(d))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostOfGoodsAndServicesSold</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EarningsPerShareBasicAndDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=125511455&amp;loc=d3e1337-109256<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EarningsPerShareBasicAndDiluted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GrossProfit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 18: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1,2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GrossProfit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 940<br> -SubTopic 20<br> -Section 25<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=123384075&amp;loc=d3e41242-110953<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 9: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 10: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399700&amp;loc=SL114874048-224260<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromEquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) for proportionate share of equity method investee's income (loss).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399700&amp;loc=SL114874048-224260<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109237563&amp;loc=d3e33749-111570<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromEquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeStatementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeStatementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB TOPIC 6.I.7)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32672-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 20<br> -Section 45<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123586238&amp;loc=d3e38679-109324<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(9))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InterestAndOtherIncome">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of interest income and other income recognized during the period. Included in this element is interest derived from investments in debt securities, cash and cash equivalents, and other investments which reflect the time value of money or transactions in which the payments are for the use or forbearance of money and other income from ancillary business-related activities (that is, excluding major activities considered part of the normal operations of the business).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InterestAndOtherIncome</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399700&amp;loc=SL114874048-224260<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22595-107794<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124452729-227067<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22583-107794<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 60B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=125511455&amp;loc=SL5780133-109256<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br><br>Reference 24: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669619-108580<br><br>Reference 25: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 11<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22694-107794<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 11<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22694-107794<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 29: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669625-108580<br><br>Reference 30: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 31: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 32: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 33: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 34: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 35: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of Net Income (Loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669625-108580<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669619-108580<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591551-111686<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124452729-227067<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLossAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669619-108580<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124452729-227067<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3000-108585<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 23: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 24: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669625-108580<br><br>Reference 25: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 29: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 30: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 31: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591551-111686<br><br>Reference 32: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4K<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591552-111686<br><br>Reference 33: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Revenues">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 40<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9031-108599<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 41<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9038-108599<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 42<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9054-108599<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 22: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Revenues</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SellingGeneralAndAdministrativeExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.4)<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SellingGeneralAndAdministrativeExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>14
<FILENAME>R5.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983877640">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeStatementAbstract', window );"><strong>Income Statement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartiesAmountInCostOfSales', window );">Cost of sales, related parties</a></td>
<td class="nump">$ 20,650<span></span>
</td>
<td class="nump">$ 4,887<span></span>
</td>
<td class="nump">$ 37,383<span></span>
</td>
<td class="nump">$ 17,159<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty', window );">Selling, general and administrative expenses, related parties</a></td>
<td class="nump">$ 154<span></span>
</td>
<td class="nump">$ 152<span></span>
</td>
<td class="nump">$ 191<span></span>
</td>
<td class="num">$ (145)<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeStatementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeStatementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartiesAmountInCostOfSales">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount included in cost of sales related to transactions with related parties incurred and recorded in the statement of operations for the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartiesAmountInCostOfSales</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>15
<FILENAME>R6.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149068484392">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th"><div>Common Stock [Member]</div></th>
<th class="th"><div>Treasury Stock [Member]</div></th>
<th class="th"><div>Additional Paid-in Capital [Member]</div></th>
<th class="th"><div>Retained Earnings [Member]</div></th>
<th class="th"><div>Noncontrolling Interest [Member]</div></th>
<th class="th"><div>Total</div></th>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2020</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (335,066)<span></span>
</td>
<td class="nump">$ 148,789<span></span>
</td>
<td class="nump">$ 586,985<span></span>
</td>
<td class="nump">$ 52,599<span></span>
</td>
<td class="nump">$ 453,606<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jan. 31, 2020</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,561<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net (loss) income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(7,635)<span></span>
</td>
<td class="num">(795)<span></span>
</td>
<td class="num">(8,430)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValueAcquiredCostMethod', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (3,923)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(3,923)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">78<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(35)<span></span>
</td>
<td class="num">(35)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10<span></span>
</td>
<td class="nump">10<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 7<span></span>
</td>
<td class="nump">32<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">39<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Apr. 30, 2020</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (338,982)<span></span>
</td>
<td class="nump">148,821<span></span>
</td>
<td class="nump">579,350<span></span>
</td>
<td class="nump">51,779<span></span>
</td>
<td class="nump">441,267<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Apr. 30, 2020</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,639<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2020</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (335,066)<span></span>
</td>
<td class="nump">148,789<span></span>
</td>
<td class="nump">586,985<span></span>
</td>
<td class="nump">52,599<span></span>
</td>
<td class="nump">453,606<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jan. 31, 2020</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,561<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net (loss) income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(10,463)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">23<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">80<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jul. 31, 2020</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (340,591)<span></span>
</td>
<td class="nump">149,044<span></span>
</td>
<td class="nump">577,602<span></span>
</td>
<td class="nump">51,385<span></span>
</td>
<td class="nump">437,739<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jul. 31, 2020</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,655<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Apr. 30, 2020</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (338,982)<span></span>
</td>
<td class="nump">148,821<span></span>
</td>
<td class="nump">579,350<span></span>
</td>
<td class="nump">51,779<span></span>
</td>
<td class="nump">441,267<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Apr. 30, 2020</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,639<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net (loss) income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(1,748)<span></span>
</td>
<td class="num">(285)<span></span>
</td>
<td class="num">(2,033)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValueAcquiredCostMethod', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (1,667)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(1,667)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">31<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(124)<span></span>
</td>
<td class="num">(124)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">15<span></span>
</td>
<td class="nump">15<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 58<span></span>
</td>
<td class="nump">223<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">281<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(15)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jul. 31, 2020</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (340,591)<span></span>
</td>
<td class="nump">149,044<span></span>
</td>
<td class="nump">577,602<span></span>
</td>
<td class="nump">51,385<span></span>
</td>
<td class="nump">437,739<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jul. 31, 2020</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,655<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2021</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (354,612)<span></span>
</td>
<td class="nump">149,110<span></span>
</td>
<td class="nump">589,986<span></span>
</td>
<td class="nump">52,400<span></span>
</td>
<td class="nump">437,183<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jan. 31, 2021</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,861<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net (loss) income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">7,784<span></span>
</td>
<td class="nump">614<span></span>
</td>
<td class="nump">8,398<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(75)<span></span>
</td>
<td class="num">(75)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">68<span></span>
</td>
<td class="nump">68<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 8<span></span>
</td>
<td class="nump">34<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">42<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Apr. 30, 2021</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (354,604)<span></span>
</td>
<td class="nump">149,144<span></span>
</td>
<td class="nump">597,770<span></span>
</td>
<td class="nump">53,007<span></span>
</td>
<td class="nump">445,616<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Apr. 30, 2021</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,861<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2021</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (354,612)<span></span>
</td>
<td class="nump">149,110<span></span>
</td>
<td class="nump">589,986<span></span>
</td>
<td class="nump">52,400<span></span>
</td>
<td class="nump">437,183<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jan. 31, 2021</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,861<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net (loss) income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">18,450<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">139<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">567<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jul. 31, 2021</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (355,936)<span></span>
</td>
<td class="nump">149,263<span></span>
</td>
<td class="nump">605,646<span></span>
</td>
<td class="nump">54,025<span></span>
</td>
<td class="nump">453,297<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jul. 31, 2021</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,866<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Apr. 30, 2021</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (354,604)<span></span>
</td>
<td class="nump">149,144<span></span>
</td>
<td class="nump">597,770<span></span>
</td>
<td class="nump">53,007<span></span>
</td>
<td class="nump">445,616<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Apr. 30, 2021</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,861<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net (loss) income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">7,876<span></span>
</td>
<td class="nump">2,176<span></span>
</td>
<td class="nump">10,052<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValueAcquiredCostMethod', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (1,356)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(1,356)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">17<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(1,229)<span></span>
</td>
<td class="num">(1,229)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">71<span></span>
</td>
<td class="nump">71<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 24<span></span>
</td>
<td class="nump">119<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">143<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(12)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jul. 31, 2021</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (355,936)<span></span>
</td>
<td class="nump">$ 149,263<span></span>
</td>
<td class="nump">$ 605,646<span></span>
</td>
<td class="nump">$ 54,025<span></span>
</td>
<td class="nump">$ 453,297<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharesOutstanding', window );">Balance (in Shares) at Jul. 31, 2021</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,866<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AllocatedShareBasedCompensationExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5047-113901<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 14.F)<br> -URI http://asc.fasb.org/extlink&amp;oid=122041274&amp;loc=d3e301413-122809<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(1)(i)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AllocatedShareBasedCompensationExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromContributionsFromAffiliates">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 14<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3255-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromContributionsFromAffiliates</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669619-108580<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124452729-227067<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3000-108585<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 23: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 24: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669625-108580<br><br>Reference 25: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 29: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 30: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 31: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591551-111686<br><br>Reference 32: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4K<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591552-111686<br><br>Reference 33: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharesOutstanding">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares issued which are neither cancelled nor held in the treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharesOutstanding</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number, after forfeiture, of shares or units issued under share-based payment arrangement. Excludes shares or units issued under employee stock ownership plan (ESOP).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123467817&amp;loc=d3e21463-112644<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5047-113901<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(28))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (d)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=124436220&amp;loc=d3e21930-107793<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 45<br> -Paragraph 23<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124436220&amp;loc=d3e21914-107793<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22644-107794<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124442411-227067<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 326<br> -SubTopic 10<br> -Section 65<br> -Paragraph 4<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=122640432&amp;loc=SL121648383-210437<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 105<br> -SubTopic 10<br> -Section 65<br> -Paragraph 6<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=124434974&amp;loc=SL124442142-165695<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 105<br> -SubTopic 10<br> -Section 65<br> -Paragraph 6<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=124434974&amp;loc=SL124442142-165695<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4568740-111683<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (e)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124436220&amp;loc=d3e21711-107793<br><br>Reference 13: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 30<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6450520&amp;loc=d3e32583-110901<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 65<br> -Paragraph 8<br> -Subparagraph (d)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123459177&amp;loc=SL121830611-158277<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 30<br> -Section 45<br> -Paragraph 17<br> -URI http://asc.fasb.org/extlink&amp;oid=118261656&amp;loc=d3e32136-110900<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 65<br> -Paragraph 8<br> -Subparagraph (d)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123459177&amp;loc=SL121830611-158277<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 40<br> -Section 65<br> -Paragraph 2<br> -Subparagraph (f)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124501264&amp;loc=SL117420844-207641<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (f)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 21: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4I<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4590271-111686<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 40<br> -Section 65<br> -Paragraph 2<br> -Subparagraph (f)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=124501264&amp;loc=SL117420844-207641<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 30<br> -Section 45<br> -Paragraph 20<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=118261656&amp;loc=d3e32211-110900<br><br>Reference 24: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4568447-111683<br><br>Reference 25: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (f)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 65<br> -Paragraph 15<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=121322162&amp;loc=SL121327923-165333<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Topic 848<br> -SubTopic 10<br> -Name Accounting Standards Codification<br> -Section 65<br> -Paragraph 2<br> -Publisher FASB<br> -Subparagraph (a)(3)(iii)(03)<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockSharesAcquired">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares that have been repurchased during the period and are being held in treasury.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123467817&amp;loc=d3e21463-112644<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(29))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockSharesAcquired</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TreasuryStockValueAcquiredCostMethod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123467817&amp;loc=d3e21463-112644<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6405813&amp;loc=d3e23239-112655<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 505<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.3-04)<br> -URI http://asc.fasb.org/extlink&amp;oid=120397183&amp;loc=d3e187085-122770<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TreasuryStockValueAcquiredCostMethod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>16
<FILENAME>R7.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149068731624">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromOperatingActivitiesAbstract', window );"><strong>Cash flows from operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income (loss) including noncontrolling interests</a></td>
<td class="nump">$ 18,450<span></span>
</td>
<td class="num">$ (10,463)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract', window );"><strong>Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DepreciationDepletionAndAmortization', window );">Depreciation</a></td>
<td class="nump">10,451<span></span>
</td>
<td class="nump">10,491<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_OperatingLeaseRightOfUseAssetAmortization', window );">Amortization of operating lease right-of-use assets</a></td>
<td class="nump">2,734<span></span>
</td>
<td class="nump">2,691<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromEquityMethodInvestments', window );">(Income) loss from equity method investments</a></td>
<td class="num">(2,414)<span></span>
</td>
<td class="nump">984<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentDividendsOrDistributions', window );">Dividends received from equity method investee</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,005<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromInterestAndDividendsReceived', window );">Interest income from investments</a></td>
<td class="num">(27)<span></span>
</td>
<td class="num">(179)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredIncomeTaxExpenseBenefit', window );">Deferred income tax</a></td>
<td class="num">(4,741)<span></span>
</td>
<td class="num">(4,784)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="nump">567<span></span>
</td>
<td class="nump">80<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment', window );">Gain on sale of property and equipment &#8211; net</a></td>
<td class="num">(3)<span></span>
</td>
<td class="num">(22)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ChangesInAssetsAndLiabilitiesAbstract', window );"><strong>Changes in assets and liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsReceivable', window );">Accounts receivable</a></td>
<td class="num">(9,808)<span></span>
</td>
<td class="nump">3,225<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInInventories', window );">Inventories</a></td>
<td class="num">(3,879)<span></span>
</td>
<td class="nump">5,251<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable', window );">Refundable income taxes</a></td>
<td class="num">(872)<span></span>
</td>
<td class="num">(4,591)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets', window );">Other assets</a></td>
<td class="nump">293<span></span>
</td>
<td class="num">(481)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsPayableTrade', window );">Accounts payable, trade</a></td>
<td class="nump">5,457<span></span>
</td>
<td class="num">(10,301)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities', window );">Other liabilities</a></td>
<td class="nump">949<span></span>
</td>
<td class="num">(2,940)<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInOperatingActivities', window );">Net cash provided by (used in) operating activities</a></td>
<td class="nump">17,157<span></span>
</td>
<td class="num">(9,034)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromInvestingActivitiesAbstract', window );"><strong>Cash flows from investing activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment', window );">Capital expenditures</a></td>
<td class="num">(2,693)<span></span>
</td>
<td class="num">(5,692)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToAcquireShortTermInvestments', window );">Purchase of short-term investments</a></td>
<td class="num">(49,281)<span></span>
</td>
<td class="num">(45,450)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfShortTermInvestments', window );">Sale of short-term investments</a></td>
<td class="nump">52,220<span></span>
</td>
<td class="nump">39,046<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment', window );">Proceeds from sale of real estate and property and equipment</a></td>
<td class="nump">30<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsForProceedsFromOtherInvestingActivities', window );">Other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(259)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInInvestingActivities', window );">Net cash provided by (used in) investing activities</a></td>
<td class="nump">276<span></span>
</td>
<td class="num">(12,355)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsForRepurchaseOfCommonStock', window );">Treasury stock acquired</a></td>
<td class="num">(1,356)<span></span>
</td>
<td class="num">(5,590)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromPaymentsToMinorityShareholders', window );">Payments to noncontrolling interests holders</a></td>
<td class="num">(1,304)<span></span>
</td>
<td class="num">(157)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromContributionsFromAffiliates', window );">Capital contributions from minority investor</a></td>
<td class="nump">139<span></span>
</td>
<td class="nump">23<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetCashProvidedByUsedInFinancingActivities', window );">Net cash used in financing activities</a></td>
<td class="num">(2,521)<span></span>
</td>
<td class="num">(5,724)<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect', window );">Net increase (decrease) in cash, cash equivalents and restricted cash</a></td>
<td class="nump">14,912<span></span>
</td>
<td class="num">(27,113)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents', window );">Cash, cash equivalents and restricted cash, beginning of period</a></td>
<td class="nump">146,158<span></span>
</td>
<td class="nump">180,771<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents', window );">Cash, cash equivalents and restricted cash, end of period</a></td>
<td class="nump">161,070<span></span>
</td>
<td class="nump">153,658<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NonCashInvestingActivitiesAccruedCapitalExpenditures', window );">Non cash investing activities &#8211; Accrued capital expenditures</a></td>
<td class="nump">67<span></span>
</td>
<td class="nump">22<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NonCashFinancingActivitiesEquityAwardsAccrued', window );">Non cash financing activities &#8211; Stock awards accrued</a></td>
<td class="nump">482<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities', window );">Non cash financing activities &#8211; Stock awards issued</a></td>
<td class="nump">100<span></span>
</td>
<td class="nump">240<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability', window );">Right-of-use assets acquired and liabilities incurred upon lease execution</a></td>
<td class="nump">3,267<span></span>
</td>
<td class="nump">1,863<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents</a></td>
<td class="nump">154,312<span></span>
</td>
<td class="nump">152,708<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestrictedCashCurrent', window );">Restricted cash</a></td>
<td class="nump">$ 6,758<span></span>
</td>
<td class="nump">$ 950<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CashFlowsFromInvestingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CashFlowsFromInvestingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CashFlowsFromOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CashFlowsFromOperatingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ChangesInAssetsAndLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ChangesInAssetsAndLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net gain (loss) resulting from sales and other disposals of real estate. Also includes, The difference between the sale price or salvage price and the book value of a property, plant, and equipment asset that was sold or retired during the reporting period. This element refers to the gain (loss).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NonCashFinancingActivitiesEquityAwardsAccrued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NonCashFinancingActivitiesEquityAwardsAccrued</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NonCashInvestingActivitiesAccruedCapitalExpenditures">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>non cash payments to acquire property, plant and equipment</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NonCashInvestingActivitiesAccruedCapitalExpenditures</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_OperatingLeaseRightOfUseAssetAmortization">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_OperatingLeaseRightOfUseAssetAmortization</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AllocatedShareBasedCompensationExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5047-113901<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 14.F)<br> -URI http://asc.fasb.org/extlink&amp;oid=122041274&amp;loc=d3e301413-122809<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (h)(1)(i)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AllocatedShareBasedCompensationExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3044-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3521-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3044-108585<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=123431023&amp;loc=SL98516268-108586<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 830<br> -SubTopic 230<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=123444420&amp;loc=d3e33268-110906<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3521-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DeferredIncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 6.I.7)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 6.I.Fact.1)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(h)(1)(Note 1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 6.I.Fact.2)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32639-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DeferredIncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DepreciationDepletionAndAmortization">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DepreciationDepletionAndAmortization</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentDividendsOrDistributions">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 21D<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=SL94080555-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentDividendsOrDistributions</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow from realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 20<br> -Section 55<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=122142933&amp;loc=d3e11374-113907<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromEquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) for proportionate share of equity method investee's income (loss).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399700&amp;loc=SL114874048-224260<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109237563&amp;loc=d3e33749-111570<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromEquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccountsPayableTrade">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Change in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccountsPayableTrade</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInAccountsReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInAccountsReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInIncomeTaxesReceivable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in income taxes receivable, which represents the amount due from tax authorities for refunds of overpayments or recoveries of income taxes paid.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInIncomeTaxesReceivable</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInInventories">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInInventories</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in operating liabilities classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInOtherOperatingLiabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase (decrease) in prepaid expenses, and assets classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInFinancingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3521-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInFinancingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInInvestingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3521-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInInvestingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInOperatingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3536-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3521-108585<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInOperatingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForProceedsFromOtherInvestingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash (inflow) outflow from investing activities classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3213-108585<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsForProceedsFromOtherInvestingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForRepurchaseOfCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow to reacquire common stock during the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3291-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsForRepurchaseOfCommonStock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3213-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsToAcquirePropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsToAcquireShortTermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3213-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PaymentsToAcquireShortTermInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromContributionsFromAffiliates">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 14<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3255-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromContributionsFromAffiliates</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromInterestAndDividendsReceived">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Cash received for dividends and interest on the entity's equity and debt investments during the current period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 16<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3337-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromInterestAndDividendsReceived</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromPaymentsToMinorityShareholders">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from (to) a noncontrolling interest. Excludes dividends paid to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromPaymentsToMinorityShareholders</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfShortTermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromSaleOfShortTermInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669619-108580<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 12: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124452729-227067<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3000-108585<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 23: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 24: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669625-108580<br><br>Reference 25: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 29: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 30: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109239629&amp;loc=SL4573702-111684<br><br>Reference 31: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4J<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591551-111686<br><br>Reference 32: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 55<br> -Paragraph 4K<br> -URI http://asc.fasb.org/extlink&amp;oid=120409616&amp;loc=SL4591552-111686<br><br>Reference 33: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RestrictedCashCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=123431023&amp;loc=SL98516268-108586<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RestrictedCashCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase in right-of-use asset obtained in exchange for operating lease liability.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 55<br> -Paragraph 53<br> -URI http://asc.fasb.org/extlink&amp;oid=123414884&amp;loc=SL77918982-209971<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (g)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123408670&amp;loc=SL77918686-209980<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>17
<FILENAME>R8.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983882856">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Consolidated Condensed Financial Statements<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract', window );"><strong>Condensed Financial Information Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock', window );">Condensed Financial Information of Parent Company Only Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">References to the Company &#8211; References
to &#8220;REX&#8221; or the &#8220;Company&#8221; 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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&#8217;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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Basis of Consolidation &#8211; 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 (&#8220;One Earth&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Nature of Operations &#8211; 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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>srt_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 10<br> -Section S99<br> -Paragraph 6<br> -Subparagraph (SX 210.5-04(Schedule I))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391182&amp;loc=d3e5864-122674<br><br>Reference 2: http://www.xbrl.org/2003/role/recommendedDisclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=d3e5283-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 3<br> -Subparagraph (SX 210.12-04(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e24072-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>18
<FILENAME>R9.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985312984">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SignificantAccountingPoliciesTextBlock', window );">Significant Accounting Policies [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 2. <i>Accounting Policies </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cash and Cash Equivalents</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><span style="font-weight: normal">Cash and
cash equivalents includes bank deposits as well as short-term, highly liquid investments with original maturities of three months
or less.</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales </p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Selling, General and Administrative (&#8220;SG&amp;A&#8221;)
Expenses</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company includes non-production related
costs such as professional fees, outbound freight charges, selling charges and certain payroll in SG&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.</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Financial Instruments</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#8220;normal purchases and normal
sales&#8221; scope exemption of Accounting Standards Codification (&#8220;ASC&#8221;) 815, &#8220;<i>Derivatives and Hedging</i>&#8221;
(&#8220;ASC 815&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Income Taxes</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined that small changes
in estimated &#8220;ordinary&#8221; 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Inventories</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">commodity prices at a given point in time. The components of
inventory are as follows as of the dates presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">15,986</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">18,346</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,451</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,374</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">19,322</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">15,160</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">41,759</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">37,880</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Property and Equipment </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In accordance with ASC 360-10 &#8220;<i>Impairment
or Disposal of Long-Lived Assets</i>&#8221;, 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 (&#8221; COVID-19&#8221;) pandemic
on the ethanol industry and the Company&#8217;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.  </p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">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&#8217;s
carrying amount exceeds its fair value, if any.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Investments </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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, &#8220;<i>Investments-Equity Method and Joint Ventures</i>&#8221; 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 (&#8220;Big
River&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Short-term investments are considered held
to maturity, and therefore are carried at amortized historical cost.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In December 2019, the Financial Accounting
Standards Board (&#8220;FASB&#8221;) issued Accounting Standards Update (&#8220;ASU&#8221;) 2019-12, &#8220;<i>Income Taxes (Topic
740): Simplifying the Accounting for Income Taxes</i>&#8221;, 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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SignificantAccountingPoliciesTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for all significant accounting policies of the reporting entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=123372394&amp;loc=d3e18726-107790<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -URI http://asc.fasb.org/topic&amp;trid=2122369<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SignificantAccountingPoliciesTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>19
<FILENAME>R10.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983906664">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Net Sales and Revenue<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerAbstract', window );"><strong>Revenue from Contract with Customer [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerTextBlock', window );">Revenue from Contract with Customer [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 3. <i>Net Sales and Revenue</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The majority of the Company&#8217;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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 14 for disaggregation of net sales
and revenue by operating segment and by product.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RevenueFromContractWithCustomerAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RevenueFromContractWithCustomerAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RevenueFromContractWithCustomerTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -URI http://asc.fasb.org/topic&amp;trid=49130388<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130551-203045<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 13<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130556-203045<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130554-203045<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130550-203045<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130554-203045<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130554-203045<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130554-203045<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130558-203045<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130554-203045<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RevenueFromContractWithCustomerTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>20
<FILENAME>R11.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985320824">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Leases<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockAbstract', window );"><strong>Disclosure Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LeasesOfLesseeDisclosureTextBlock', window );">Leases of Lessee Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 4. <i>Leases</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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&#8217;s sole discretion. The lease term for
all of the Company&#8217;s leases includes the noncancelable period of the lease and any</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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;A expenses on the Consolidated Condensed Statement of Operations
are as follows:</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left; padding-left: 0pt">Operating lease expense</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1,565</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1,548</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">3,115</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">3,234</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 0pt">Variable lease expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">520</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">207</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">564</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">338</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 0pt">Total lease expense</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,085</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,755</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,679</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,572</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table is a summary of future
minimum rentals on such leases at July 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px; text-align: left"><span style="border-bottom: Black 1px solid">Years Ended January 31,</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Minimum<br/>
    Rentals</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 85%; text-align: left">Remainder of 2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">3,015</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2023</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,836</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2024</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,670</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2025</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,221</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">2026</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">49</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,791</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;present value discount</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">877</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">12,914</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table is a summary of future
minimum rentals on such leases at January 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px; text-align: left"><span style="border-bottom: Black 1px solid">Years Ended January 31,</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Minimum<br/>
    Rentals</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 85%; text-align: left">2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,397</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2023</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,690</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2024</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,524</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2025</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,648</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">2026</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">49</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,308</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;present value discount</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">994</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">12,314</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.<b> </b></p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LeasesOfLesseeDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for lessee entity's leasing arrangements including, but not limited to, all of the following: (a.) The basis on which contingent rental payments are determined, (b.) The existence and terms of renewal or purchase options and escalation clauses, (c.) Restrictions imposed by lease agreements, such as those concerning dividends, additional debt, and further leasing.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -URI http://asc.fasb.org/topic&amp;trid=2208923<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LeasesOfLesseeDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>21
<FILENAME>R12.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983926056">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Fair Value<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresAbstract', window );"><strong>Fair Value Disclosures [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresTextBlock', window );">Fair Value Disclosures [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 5. <i>Fair Value</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company applies ASC 820, &#8220;<i>Fair
Value Measurements and Disclosures&#8221;</i> (&#8220;ASC 820&#8221;), 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;s own
credit standing and other specific factors, where appropriate.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Fair&#160;Value</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Investment in cooperative (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-0">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-1">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Commodity futures asset (2)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-2">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">784</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-3">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">784</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-4">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">673</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-5">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">673</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,457</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">354</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,811</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Commodity futures liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-6">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,590</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-7">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,590</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2021 are summarized below (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Fair&#160;Value</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Investment in cooperative (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-8">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-9">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts asset (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-10">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,144</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-11">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,144</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,144</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">354</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,498</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Commodity futures liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-12">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,794</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-13">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,794</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) The investment in cooperative is included
in &#8220;Other assets&#8221; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(2) The forward purchase contracts and commodity
futures assets are included in &#8220;Prepaid expenses and other current assets&#8221; on the accompanying Consolidated Condensed
Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(3) The commodity futures liability is included
in &#8220;Accrued expenses and other current liabilities&#8221; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There were no assets measured at fair value
on a non-recurring basis at July 31, 2021 or January 31, 2021.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueDisclosuresAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueDisclosuresAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueDisclosuresTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123874694&amp;loc=d3e19207-110258<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueDisclosuresTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>22
<FILENAME>R13.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983851304">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Property and Equipment<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentAbstract', window );"><strong>Property, Plant and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock', window );">Property, Plant and Equipment Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 6. <i>Property and Equipment</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of property and equipment
are as follows for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">27,437</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">27,437</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,701</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,701</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">306,514</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">305,640</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,173</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">215</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">358,825</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">356,993</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(213,747)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(203,807)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">145,078</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">153,186</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 958<br> -SubTopic 360<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=120429125&amp;loc=d3e99893-112916<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -URI http://asc.fasb.org/topic&amp;trid=2155823<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 958<br> -SubTopic 360<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=120429125&amp;loc=SL120174063-112916<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 958<br> -SubTopic 360<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=120429125&amp;loc=d3e99779-112916<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>23
<FILENAME>R14.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985331944">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accrued Expenses and Other Current Liabilities<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock', window );">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 7. <i>Accrued Expenses and Other Current Liabilities
</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Accrued payroll and related items</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">1,882</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">690</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued utility charges</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,708</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,515</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Accrued transportation related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">204</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,560</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,220</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,778</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Commodity futures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,590</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,794</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">51</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">55</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">619</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">563</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">11,274</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">8,955</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>24
<FILENAME>R15.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985204104">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Derivative Financial Instruments<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract', window );"><strong>Derivative Instruments and Hedging Activities Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock', window );">Derivative Instruments and Hedging Activities Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 8. <i>Derivative Financial Instruments </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table provides information
about the fair values of the Company&#8217;s derivative financial instruments (that are not accounted for under the &#8220;normal
purchases and normal sales&#8221; scope exemption of ASC 815) and the line items on the Consolidated Condensed Balance Sheets in
which the fair values are reflected (in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Asset Derivatives<br/> Fair Value</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Liability Derivatives<br/> Fair Value</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/>
2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: justify">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">784</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-14">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">4,590</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1,794</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">673</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,144</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-15">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-16">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,457</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,144</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,590</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,794</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">(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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">(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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217;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&#8217;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&#8217;s
derivative position at July 31, 2021 and January 31, 2021, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 5 which contains fair value information
related to derivative financial instruments.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -URI http://asc.fasb.org/topic&amp;trid=2229140<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 50<br> -Paragraph 5<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123477628&amp;loc=d3e90205-114008<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>25
<FILENAME>R16.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983900872">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Investments<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InvestmentTextBlock', window );">Investment [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 9. <i>Investments </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes the Company&#8217;s
equity method investment at July 31, 2021 and January 31, 2021 (dollars in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Carrying Amount</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px"><span style="border-bottom: Black 1px solid">Entity</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-weight: bold; text-align: center">Ownership&#160;Percentage</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">January&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 47%; text-align: left; padding-left: 0pt">Big River</td><td style="width: 3%">&#160;</td>
    <td style="width: 15%; text-align: center">10.3%</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">31,870</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">29,456</td><td style="width: 1%; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Undistributed earnings of the Company&#8217;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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Summarized financial information for the
Company&#8217;s equity method investee is presented in the following table for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-size: 8pt; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">363,383</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">130,126</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">619,799</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">327,758</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit (loss)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">19,357</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3,565</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">20,901</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(2,378)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">17,877</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,914)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">23,412</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(9,540)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income (loss)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">17,877</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,914)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">23,412</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(9,540)</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InvestmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for investment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 321<br> -URI http://asc.fasb.org/topic&amp;trid=75115024<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -URI http://asc.fasb.org/topic&amp;trid=2196928<br><br>Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 325<br> -URI http://asc.fasb.org/topic&amp;trid=2197064<br><br>Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -URI http://asc.fasb.org/topic&amp;trid=2196965<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InvestmentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>26
<FILENAME>R17.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983839608">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Employee Benefits<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CompensationAndEmployeeBenefitPlansTextBlock', window );">Compensation and Employee Benefit Plans [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 10. <i>Employee Benefits</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">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&#8217; 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&#8217;s board of directors has determined that the
grant date will be June 15<sup>th</sup>, or the next business day if June 15<sup>th</sup> is not a business day, for all grants
of restricted stock.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">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:</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font-family: Times New Roman, Times, Serif; margin-left: 36pt">
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="10" style="font-weight: bold; text-align: center">Six Months Ended July 31, 2021</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;">Non-Vested<br/> Shares</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Weighted<br/> Average Grant<br/> Date&#160;Fair&#160;Value<br/> (000&#8217;s)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Weighted<br/> Average&#160;Remaining<br/> Vesting Term<br/> (in years)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 55%; text-align: left">Non-Vested at January 31, 2021</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 10%; text-align: right">19,705</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">1,398</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 10%; text-align: right">1</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,803</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">275</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Forfeited</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">12,447</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">900</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Non-Vested at July 31, 2021</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right">10,061</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">773</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px; text-align: right">2</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>

<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td>
    <td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td>
    <td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center">Six Months Ended July 31, 2020</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/>
    Shares</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/>
    Average Grant<br/> Date&#160;Fair&#160;Value<br/> (000&#8217;s)</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/>
    Average&#160;Remaining<br/> Vesting
    Term<br/> (in years)</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 55%; font: 12pt Times New Roman, Times, Serif">Non-Vested at January 31, 2020</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right">28,576</td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right">2,193</td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right">2</td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 12pt Times New Roman, Times, Serif">Granted</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">6,158</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">416</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 12pt Times New Roman, Times, Serif">Forfeited</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">-</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">-</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right">15,029</td><td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right">1,211</td><td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at July 31, 2020</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right">19,705</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right">1,398</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: right">2</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CompensationAndEmployeeBenefitPlansTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for an entity's employee compensation and benefit plans, including, but not limited to, postemployment and postretirement benefit plans, defined benefit pension plans, defined contribution plans, non-qualified and supplemental benefit plans, deferred compensation, share-based compensation, life insurance, severance, health care, unemployment and other benefit plans.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -URI http://asc.fasb.org/topic&amp;trid=2228938<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 712<br> -URI http://asc.fasb.org/topic&amp;trid=2197446<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 710<br> -URI http://asc.fasb.org/topic&amp;trid=2127225<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 715<br> -URI http://asc.fasb.org/topic&amp;trid=2235017<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CompensationAndEmployeeBenefitPlansTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>27
<FILENAME>R18.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985347928">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureTextBlock', window );">Income Tax Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 11<i>. Income Taxes </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined that small changes
in estimated &#8220;ordinary&#8221; 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company&#8217;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&#8217;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&#8217;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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-size: 8pt">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 74%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">8,400</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">7,370</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#8217; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">10</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(53)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">275</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">8,685</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,317</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 21<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32857-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 11.C)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330215-122817<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 17<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32809-109319<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB TOPIC 6.I.5.Q1)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 14<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32705-109319<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 270<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6424409&amp;loc=d3e44925-109338<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -URI http://asc.fasb.org/topic&amp;trid=2144680<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 30<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6424122&amp;loc=d3e41874-109331<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(h)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>28
<FILENAME>R19.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986056824">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract', window );"><strong>Commitments and Contingencies Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock', window );">Commitments and Contingencies Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 12. <i>Commitments and Contingencies</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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&#8217; evaluations
of any such action(s),</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">management is of the opinion that their outcome will not have
a material adverse effect on the Company&#8217;s Consolidated Condensed Financial Statements.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for commitments and contingencies.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 450<br> -URI http://asc.fasb.org/topic&amp;trid=2127136<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 440<br> -URI http://asc.fasb.org/topic&amp;trid=2144648<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 954<br> -SubTopic 440<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6491277&amp;loc=d3e6429-115629<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 440<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406679&amp;loc=d3e25336-109308<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 440<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406679&amp;loc=d3e25336-109308<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommitmentsAndContingenciesDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>29
<FILENAME>R20.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983751928">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Related-Party Transactions<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsAbstract', window );"><strong>Related Party Transactions [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsDisclosureTextBlock', window );">Related Party Transactions Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 13. <i>Related-Party Transactions</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -URI http://asc.fasb.org/topic&amp;trid=2122745<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39691-107864<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>30
<FILENAME>R21.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983839608">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingAbstract', window );"><strong>Segment Reporting [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingDisclosureTextBlock', window );">Segment Reporting Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 14. Segment Reporting</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net sales and revenue:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">195,678</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">39,242</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">359,720</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">122,477</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px"><span style="font-family: Times New Roman, Times, Serif">Refined coal <sup>1</sup></span></td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">165</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">85</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">227</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">100</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total net sales and revenue</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">195,843</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">39,327</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">359,947</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">122,577</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><sup>1 </sup><span style="font-family: Times New Roman, Times, Serif">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.</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Segment gross profit (loss):</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">14,155</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">553</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">33,631</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(7,670)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(3,081)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,884)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(4,755)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(2,991)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total gross profit (loss)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">11,074</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(1,331)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">28,876</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(10,661)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) before income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">10,732</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(3,259)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">21,820</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(15,610)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(3,455)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,118)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(5,260)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,965)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(902)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(702)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,758)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,247)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">6,375</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(6,079)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">14,802</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(19,822)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">(Provision) benefit for income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(1,985)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">893</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,423)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,054</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,441</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,919</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,639</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,878</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">221</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">234</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">432</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">427</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total benefit for income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,677</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,046</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,648</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">9,359</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Net income (loss) (net of noncontrolling interests):</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">6,418</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(2,178)</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">14,374</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(9,611)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,139</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">898</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,612</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,048</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(681)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(468)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,326)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(820)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,876</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(1,748)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">15,660</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(9,383)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">Assets:</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 71%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">424,470</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 6%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">397,281</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,540</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,861</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">79,497</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">79,203</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">505,507</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">479,345</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">Sales of products, ethanol and by-products segment:</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; padding-left: 0pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">153,990</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">32,524</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">280,059</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">93,121</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">31,573</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,480</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">62,691</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">24,398</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 0pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,813</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,313</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">15,407</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,501</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,934</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">209</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,227</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">666</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 0pt">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,638)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(298)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,764)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(298)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 0pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">6</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">100</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">89</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 0pt">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">195,678</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">39,242</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">359,720</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">122,477</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Sales of products, refined coal segment:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 0pt">Refined coal</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">165</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">85</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">227</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">100</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SegmentReportingAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SegmentReportingAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SegmentReportingDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 34<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8981-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 21<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8721-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 40<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9031-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8844-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 41<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9038-108599<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 42<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9054-108599<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8657-108599<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 21<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8721-108599<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -URI http://asc.fasb.org/topic&amp;trid=2134510<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SegmentReportingDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>31
<FILENAME>R22.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149069275400">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies, by Policy (Policies)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CashAndCashEquivalentsPolicyTextBlock', window );">Cash and Cash Equivalents, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cash and Cash Equivalents</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><span style="font-weight: normal">Cash and
cash equivalents includes bank deposits as well as short-term, highly liquid investments with original maturities of three months
or less.</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueRecognitionPolicyTextBlock', window );">Revenue [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostOfSalesPolicyTextBlock', window );">Cost of Goods and Service [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales </p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock', window );">Selling, General and Administrative Expenses, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Selling, General and Administrative (&#8220;SG&amp;A&#8221;)
Expenses</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company includes non-production related
costs such as professional fees, outbound freight charges, selling charges and certain payroll in SG&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.</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueOfFinancialInstrumentsPolicy', window );">Fair Value of Financial Instruments, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Financial Instruments</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#8220;normal purchases and normal
sales&#8221; scope exemption of Accounting Standards Codification (&#8220;ASC&#8221;) 815, &#8220;<i>Derivatives and Hedging</i>&#8221;
(&#8220;ASC 815&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxPolicyTextBlock', window );">Income Tax, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Income Taxes</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined that small changes
in estimated &#8220;ordinary&#8221; 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryPolicyTextBlock', window );">Inventory, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Inventories</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">commodity prices at a given point in time. The components of
inventory are as follows as of the dates presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">15,986</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">18,346</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,451</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,374</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">19,322</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">15,160</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">41,759</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">37,880</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock', window );">Property, Plant and Equipment, Policy [Policy Text Block]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Property and Equipment </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In accordance with ASC 360-10 &#8220;<i>Impairment
or Disposal of Long-Lived Assets</i>&#8221;, 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 (&#8221; COVID-19&#8221;) pandemic
on the ethanol industry and the Company&#8217;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.  </p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">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&#8217;s
carrying amount exceeds its fair value, if any.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InvestmentPolicyTextBlock', window );">Investment, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Investments </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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, &#8220;<i>Investments-Equity Method and Joint Ventures</i>&#8221; 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 (&#8220;Big
River&#8221;) 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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Short-term investments are considered held
to maturity, and therefore are carried at amortized historical cost.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock', window );">Comprehensive Income, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock', window );">New Accounting Pronouncements, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In December 2019, the Financial Accounting
Standards Board (&#8220;FASB&#8221;) issued Accounting Standards Update (&#8220;ASU&#8221;) 2019-12, &#8220;<i>Income Taxes (Topic
740): Simplifying the Accounting for Income Taxes</i>&#8221;, 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.</p><span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=123431023&amp;loc=d3e4273-108586<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for comprehensive income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ComprehensiveIncomePolicyPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostOfSalesPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for cost of product sold and service rendered.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 705<br> -URI http://asc.fasb.org/topic&amp;trid=2122478<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostOfSalesPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueOfFinancialInstrumentsPolicy">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for determining the fair value of financial instruments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 60<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=7493716&amp;loc=d3e21868-110260<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=123594938&amp;loc=d3e13279-108611<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueOfFinancialInstrumentsPolicy</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=123427490&amp;loc=d3e32247-109318<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 20<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32847-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32840-109319<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL116659661-227067<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32639-109319<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=123427490&amp;loc=d3e32280-109318<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 17<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32809-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=116847112&amp;loc=d3e4556-108314<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6361739&amp;loc=d3e7789-107766<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 912<br> -SubTopic 330<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6471895&amp;loc=d3e55923-109411<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=116847112&amp;loc=d3e4492-108314<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 270<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124437754&amp;loc=d3e543-108305<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -URI http://asc.fasb.org/topic&amp;trid=2126998<br><br>Reference 7: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123372394&amp;loc=d3e18823-107790<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InvestmentPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for investment in financial asset.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(3)(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InvestmentPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 958<br> -SubTopic 360<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=120429125&amp;loc=d3e99779-112916<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.13(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 958<br> -SubTopic 360<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=120429125&amp;loc=d3e99893-112916<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RevenueRecognitionPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=123372394&amp;loc=d3e18823-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123372394&amp;loc=d3e18823-107790<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RevenueRecognitionPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Disclosure of accounting policy for inclusion of significant items in the selling, general and administrative (or similar) expense report caption.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 720<br> -SubTopic 35<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6420018&amp;loc=d3e36677-107848<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>32
<FILENAME>R23.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983905144">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfInventoryCurrentTableTextBlock', window );">Schedule of Inventory, Current [Table Text Block]</a></td>
<td class="text">The components of
inventory are as follows as of the dates presented (amounts in thousands):<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">15,986</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">18,346</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,451</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,374</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">19,322</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">15,160</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">41,759</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">37,880</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&#160;</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountingPoliciesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountingPoliciesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfInventoryCurrentTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(c))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(b))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6361739&amp;loc=d3e7789-107766<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfInventoryCurrentTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>33
<FILENAME>R24.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985720424">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Leases (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockAbstract', window );"><strong>Disclosure Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LeaseCostTableTextBlock', window );">Lease, Cost [Table Text Block]</a></td>
<td class="text">The components of lease expense, classified as SG&amp;A expenses on the Consolidated Condensed Statement of Operations
are as follows:<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left; padding-left: 0pt">Operating lease expense</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1,565</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1,548</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">3,115</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">3,234</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 0pt">Variable lease expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">520</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">207</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">564</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">338</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 0pt">Total lease expense</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,085</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,755</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,679</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,572</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock', window );">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table is a summary of future
minimum rentals on such leases at July 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px; text-align: left"><span style="border-bottom: Black 1px solid">Years Ended January 31,</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Minimum<br/>
    Rentals</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 85%; text-align: left">Remainder of 2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">3,015</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2023</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,836</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2024</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,670</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2025</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,221</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">2026</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">49</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,791</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;present value discount</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">877</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">12,914</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 45%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px; text-align: left"><span style="border-bottom: Black 1px solid">Years Ended January 31,</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Minimum<br/>
    Rentals</b></span></td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 85%; text-align: left">2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">5,397</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2023</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,690</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">2024</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,524</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">2025</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,648</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">2026</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">49</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,308</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;present value discount</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">994</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">12,314</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LeaseCostTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123408670&amp;loc=SL77918686-209980<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LeaseCostTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>34
<FILENAME>R25.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983905144">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Fair Value (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresAbstract', window );"><strong>Fair Value Disclosures [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock', window );">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</a></td>
<td class="text">Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2021 are summarized below (amounts in thousands):<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Fair&#160;Value</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Investment in cooperative (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-0">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-1">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Commodity futures asset (2)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-2">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">784</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-3">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">784</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-4">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">673</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-5">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">673</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,457</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">354</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,811</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Commodity futures liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-6">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,590</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-7">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,590</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 1</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 2</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Level 3</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Fair&#160;Value</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Investment in cooperative (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-8">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-9">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Forward purchase contracts asset (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-10">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,144</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-11">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,144</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">-</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,144</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">354</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,498</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Commodity futures liability (3)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-12">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,794</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right"><div style="-sec-ix-hidden: hidden-fact-13">-</div></td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,794</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) The investment in cooperative is included
in &#8220;Other assets&#8221; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(2) The forward purchase contracts and commodity
futures assets are included in &#8220;Prepaid expenses and other current assets&#8221; on the accompanying Consolidated Condensed
Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(3) The commodity futures liability is included
in &#8220;Accrued expenses and other current liabilities&#8221; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueDisclosuresAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueDisclosuresAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123874694&amp;loc=d3e19207-110258<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123874694&amp;loc=d3e19207-110258<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>35
<FILENAME>R26.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149077239192">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Property and Equipment (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentAbstract', window );"><strong>Property, Plant and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentTextBlock', window );">Property, Plant and Equipment [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of property and equipment
are as follows for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">27,437</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">27,437</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,701</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,701</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">306,514</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">305,640</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,173</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">215</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">358,825</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">356,993</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(213,747)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(203,807)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">145,078</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">153,186</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>36
<FILENAME>R27.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985239112">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accrued Expenses and Other Current Liabilities (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock', window );">Schedule of Accrued Liabilities [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 60%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left">Accrued payroll and related items</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">1,882</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">690</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued utility charges</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,708</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,515</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Accrued transportation related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">204</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,560</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,220</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,778</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Commodity futures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,590</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,794</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">51</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">55</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">619</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">563</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">11,274</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">8,955</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the components of accrued liabilities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>37
<FILENAME>R28.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985486232">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Derivative Financial Instruments (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract', window );"><strong>Derivative Instruments and Hedging Activities Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock', window );">Schedule of Derivative Assets at Fair Value [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table provides information
about the fair values of the Company&#8217;s derivative financial instruments (that are not accounted for under the &#8220;normal
purchases and normal sales&#8221; scope exemption of ASC 815) and the line items on the Consolidated Condensed Balance Sheets in
which the fair values are reflected (in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Asset Derivatives<br/> Fair Value</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Liability Derivatives<br/> Fair Value</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/>
2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: justify">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">784</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-14">-</div></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">4,590</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">1,794</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: justify; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">673</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,144</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-15">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right"><div style="-sec-ix-hidden: hidden-fact-16">-</div></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: justify; padding-bottom: 3px">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,457</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,144</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,590</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">1,794</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify">&#160;</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of derivative assets at fair value.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>38
<FILENAME>R29.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149076252392">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Investments (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentsTextBlock', window );">Equity Method Investments [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes the Company&#8217;s
equity method investment at July 31, 2021 and January 31, 2021 (dollars in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Carrying Amount</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; padding-bottom: 1px"><span style="border-bottom: Black 1px solid">Entity</span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font-weight: bold; text-align: center">Ownership&#160;Percentage</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">July&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">January&#160;31,&#160;2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="width: 47%; text-align: left; padding-left: 0pt">Big River</td><td style="width: 3%">&#160;</td>
    <td style="width: 15%; text-align: center">10.3%</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">31,870</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">29,456</td><td style="width: 1%; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock', window );">Schedule of Financial Information for Equity Method Investments [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Summarized financial information for the
Company&#8217;s equity method investee is presented in the following table for the periods presented (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-size: 8pt; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">363,383</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">130,126</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">619,799</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">327,758</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit (loss)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">19,357</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">3,565</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">20,901</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(2,378)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">17,877</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,914)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">23,412</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(9,540)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income (loss)</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">17,877</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,914)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">23,412</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(9,540)</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of financial information for equity method investments.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentsTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentsTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>39
<FILENAME>R30.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985216360">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Employee Benefits (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock', window );">Nonvested Restricted Stock Shares Activity [Table Text Block]</a></td>
<td class="text">The following tables summarize non-vested restricted stock award activity for the periods presented:<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 85%; font-family: Times New Roman, Times, Serif; margin-left: 36pt">
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="10" style="font-weight: bold; text-align: center">Six Months Ended July 31, 2021</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;">Non-Vested<br/> Shares</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Weighted<br/> Average Grant<br/> Date&#160;Fair&#160;Value<br/> (000&#8217;s)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">Weighted<br/> Average&#160;Remaining<br/> Vesting Term<br/> (in years)</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 55%; text-align: left">Non-Vested at January 31, 2021</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 10%; text-align: right">19,705</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">1,398</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 10%; text-align: right">1</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,803</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">275</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Forfeited</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">12,447</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">900</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Non-Vested at July 31, 2021</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; text-align: right">10,061</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">773</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px; text-align: right">2</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>

<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td>
    <td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td>
    <td colspan="10" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center">Six Months Ended July 31, 2020</td><td style="font: bold 12pt Times New Roman, Times, Serif">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/>
    Shares</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/>
    Average Grant<br/> Date&#160;Fair&#160;Value<br/> (000&#8217;s)</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="font: bold 12pt Times New Roman, Times, Serif; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/>
    Average&#160;Remaining<br/> Vesting
    Term<br/> (in years)</b></span></td><td style="font: bold 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 55%; font: 12pt Times New Roman, Times, Serif">Non-Vested at January 31, 2020</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right">28,576</td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">$</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right">2,193</td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 3%; font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="width: 10%; font: 12pt Times New Roman, Times, Serif; text-align: right">2</td><td style="width: 1%; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 12pt Times New Roman, Times, Serif">Granted</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">6,158</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">416</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 12pt Times New Roman, Times, Serif">Forfeited</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">-</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif">&#160;</td>
    <td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: right">-</td><td style="font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">Vested</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right">15,029</td><td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; font: 12pt Times New Roman, Times, Serif; text-align: right">1,211</td><td style="padding-bottom: 1px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">Non-Vested at July 31, 2020</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right">19,705</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: left">$</td><td style="border-bottom: Black 3px double; font: 12pt Times New Roman, Times, Serif; text-align: right">1,398</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="font: 12pt Times New Roman, Times, Serif; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: right">2</td><td style="padding-bottom: 3px; font: 12pt Times New Roman, Times, Serif; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the changes in outstanding nonvested restricted stock shares.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>40
<FILENAME>R31.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983905144">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock', window );">Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]</a></td>
<td class="text">A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is
as follows (amounts in thousands):<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-size: 8pt">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six&#160;Months&#160;Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 74%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">8,400</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">7,370</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Changes for prior years&#8217; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">10</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(53)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">275</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">8,685</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,317</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the change in unrecognized tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 55<br> -Paragraph 217<br> -URI http://asc.fasb.org/extlink&amp;oid=124434304&amp;loc=d3e36027-109320<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>41
<FILENAME>R32.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149077107480">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_SegmentReportingTablesLineItems', window );"><strong>Segment Reporting (Tables) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock', window );">Schedule of Segment Reporting Information, by Segment [Table Text Block]</a></td>
<td class="text">The following tables
summarize segment and other results and assets (amounts in thousands):<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net sales and revenue:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">195,678</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">39,242</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">359,720</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">122,477</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px"><span style="font-family: Times New Roman, Times, Serif">Refined coal <sup>1</sup></span></td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">165</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">85</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">227</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">100</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total net sales and revenue</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">195,843</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">39,327</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">359,947</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">122,577</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Segment gross profit (loss):</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">14,155</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">553</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">33,631</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(7,670)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Refined coal</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(3,081)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,884)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(4,755)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(2,991)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total gross profit (loss)</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">11,074</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(1,331)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">28,876</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(10,661)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income (loss) before income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">10,732</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(3,259)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">21,820</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(15,610)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(3,455)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,118)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(5,260)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,965)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(902)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(702)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,758)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,247)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Total income (loss) before income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">6,375</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(6,079)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">14,802</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(19,822)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">(Provision) benefit for income taxes:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Ethanol and by-products</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(1,985)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">893</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">(4,423)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">5,054</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,441</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,919</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,639</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,878</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">221</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">234</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">432</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">427</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total benefit for income taxes</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,677</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">4,046</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">3,648</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">9,359</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Net income (loss) (net of noncontrolling interests):</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="width: 48%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">6,418</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(2,178)</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">14,374</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">(9,611)</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,139</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">898</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,612</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,048</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(681)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(468)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(1,326)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(820)</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">7,876</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(1,748)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">15,660</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">(9,383)</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Three Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Six Months Ended<br/> July 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">Sales of products, ethanol and by-products segment:</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2021</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">2020</td><td style="padding-bottom: 1px; font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 48%; padding-left: 0pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">153,990</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">32,524</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">280,059</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">93,121</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">31,573</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,480</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">62,691</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">24,398</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 0pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,813</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,313</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">15,407</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,501</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,934</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">209</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,227</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">666</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 0pt">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,638)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(298)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,764)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(298)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 0pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">6</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">100</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">89</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 0pt">Total</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">195,678</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">39,242</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">359,720</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">122,477</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 0pt">Sales of products, refined coal segment:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 0pt">Refined coal</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">165</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">85</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">227</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">100</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_AssetsMember', window );">Assets [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_SegmentReportingTablesLineItems', window );"><strong>Segment Reporting (Tables) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock', window );">Schedule of Segment Reporting Information, by Segment [Table Text Block]</a></td>
<td class="text"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px">Assets:</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>July
    31,<br/> 2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/>
    2021</b></span></td><td style="font-weight: bold; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 71%; text-align: left">Ethanol and by-products</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">424,470</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 6%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">397,281</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Refined coal</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,540</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,861</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">Corporate and other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">79,497</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">79,203</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">505,507</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">479,345</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&#160;</p><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_SegmentReportingTablesLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_SegmentReportingTablesLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8813-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 350<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=121556970&amp;loc=d3e13816-109267<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:textBlockItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_AssetsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=us-gaap_AssetsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>42
<FILENAME>R33.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148988545416">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Consolidated Condensed Financial Statements (Details)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NumberOfConsolidatedSubsidiaries', window );">Number of Consolidated Subsidiaries</a></td>
<td class="nump">4<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfReportableSegments', window );">Number of Reportable Segments</a></td>
<td class="nump">2<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember', window );">Ethanol [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">3<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember', window );">Majority-Owned Subsidiary, Unconsolidated [Member] | Ethanol [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">2<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember', window );">Majority-Owned Subsidiary, Unconsolidated [Member] | Refined Coal [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems', window );"><strong>Consolidated Condensed Financial Statements (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">1<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NumberOfConsolidatedSubsidiaries">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_NumberOfConsolidatedSubsidiaries</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NumberOfOperatingSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 18<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8672-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NumberOfOperatingSegments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NumberOfReportableSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 18<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8672-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NumberOfReportableSegments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>43
<FILENAME>R34.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986206728">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies (Details) - USD ($)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_OutboundFreightCharges', window );">Outbound Freight Charges</a></td>
<td class="nump">$ 1,561,000<span></span>
</td>
<td class="nump">$ 839,000<span></span>
</td>
<td class="nump">$ 7,156,000<span></span>
</td>
<td class="nump">$ 2,162,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxesPaid', window );">Income Taxes Paid</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1,900,000<span></span>
</td>
<td class="nump">300,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromIncomeTaxRefunds', window );">Proceeds from Income Tax Refunds</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0<span></span>
</td>
<td class="nump">$ 300,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefits', window );">Unrecognized Tax Benefits</a></td>
<td class="nump">8,655,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">8,655,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 8,380,000<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued', window );">Income Tax Examination, Penalties and Interest Accrued</a></td>
<td class="nump">30,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">30,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">20,000<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryWriteDown', window );">Inventory Write-down</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,300,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,000,000.0<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MinimumMember', window );">Minimum [Member] | Building and Building Improvements [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">5<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MinimumMember', window );">Minimum [Member] | Fixtures And Equipment [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">2<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MaximumMember', window );">Maximum [Member] | Building and Building Improvements [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">40 years<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_srt_RangeAxis=srt_MaximumMember', window );">Maximum [Member] | Fixtures And Equipment [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives', window );">Property, Plant and Equipment, Estimated Useful Lives</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">20 years<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeStatementLocationAxis=rex_ProvisionForIncomeTaxesMember', window );">Provision for Income Taxes [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefits', window );">Unrecognized Tax Benefits</a></td>
<td class="num">$ (8,600,000)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (8,600,000)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember', window );">Cost of Sales [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_AccountingPoliciesDetailsLineItems', window );"><strong>Accounting Policies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting', window );">Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">20.00%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_AccountingPoliciesDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_AccountingPoliciesDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Maximum percentage of equity ownership interest which may be considered for equity method of accounting.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_OutboundFreightCharges">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_OutboundFreightCharges</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32718-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxesPaid">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123431023&amp;loc=d3e4297-108586<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3536-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxesPaid</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryWriteDown">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=116847112&amp;loc=d3e4542-108314<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryWriteDown</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromIncomeTaxRefunds">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The amount of cash received during the period as refunds for the overpayment of taxes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3536-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=123431023&amp;loc=d3e4297-108586<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromIncomeTaxRefunds</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 35<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123364984&amp;loc=d3e1205-110223<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefits">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of unrecognized tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 10B<br> -URI http://asc.fasb.org/extlink&amp;oid=123427490&amp;loc=SL37586934-109318<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefits</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_srt_RangeAxis=srt_MinimumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">srt_RangeAxis=srt_MinimumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_srt_RangeAxis=srt_MaximumMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">srt_RangeAxis=srt_MaximumMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeStatementLocationAxis=rex_ProvisionForIncomeTaxesMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeStatementLocationAxis=rex_ProvisionForIncomeTaxesMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>44
<FILENAME>R35.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148989510584">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Accounting Policies (Details) - Schedule of Components of Inventory - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfComponentsOfInventoryAbstract', window );"><strong>Schedule of Components of Inventory [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryFinishedGoodsNetOfReserves', window );">Ethanol and other finished goods</a></td>
<td class="nump">$ 15,986<span></span>
</td>
<td class="nump">$ 18,346<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryWorkInProcessNetOfReserves', window );">Work in process</a></td>
<td class="nump">6,451<span></span>
</td>
<td class="nump">4,374<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryRawMaterialsNetOfReserves', window );">Grain and other raw materials</a></td>
<td class="nump">19,322<span></span>
</td>
<td class="nump">15,160<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryNet', window );">Total</a></td>
<td class="nump">$ 41,759<span></span>
</td>
<td class="nump">$ 37,880<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfComponentsOfInventoryAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfComponentsOfInventoryAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryFinishedGoodsNetOfReserves">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.BB)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100047-122729<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryFinishedGoodsNetOfReserves</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.6(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryRawMaterialsNetOfReserves">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of unprocessed items to be consumed in the manufacturing or production process.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.BB)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100047-122729<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a)(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryRawMaterialsNetOfReserves</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_InventoryWorkInProcessNetOfReserves">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount, net of reserves and adjustments, as of the balance sheet date of merchandise or goods which are partially completed. This inventory is generally comprised of raw materials, labor and factory overhead costs, which require further materials, labor and overhead to be converted into finished goods, and which generally require the use of estimates to determine percentage complete and pricing.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SAB Topic 5.BB)<br> -URI http://asc.fasb.org/extlink&amp;oid=27011343&amp;loc=d3e100047-122729<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(6)(a)(3))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_InventoryWorkInProcessNetOfReserves</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>45
<FILENAME>R36.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148982530392">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Leases (Details)<br></strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockAbstract', window );"><strong>Disclosure Text Block [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1', window );">Operating Lease, Weighted Average Remaining Lease Term</a></td>
<td class="text">2 years 8 months 12 days<span></span>
</td>
<td class="text">3 years<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent', window );">Operating Lease, Weighted Average Discount Rate, Percent</a></td>
<td class="nump">4.88%<span></span>
</td>
<td class="nump">5.26%<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average discount rate for operating lease calculated at point in time.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (g)(4)<br> -URI http://asc.fasb.org/extlink&amp;oid=123408670&amp;loc=SL77918686-209980<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 55<br> -Paragraph 53<br> -URI http://asc.fasb.org/extlink&amp;oid=123414884&amp;loc=SL77918982-209971<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 55<br> -Paragraph 53<br> -URI http://asc.fasb.org/extlink&amp;oid=123414884&amp;loc=SL77918982-209971<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (g)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123408670&amp;loc=SL77918686-209980<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>46
<FILENAME>R37.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149068909768">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Leases (Details) - Schedule of Components of Lease Expense - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfComponentsOfLeaseExpenseAbstract', window );"><strong>Schedule of Components of Lease Expense [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseExpense', window );">Operating lease expense</a></td>
<td class="nump">$ 1,565<span></span>
</td>
<td class="nump">$ 1,548<span></span>
</td>
<td class="nump">$ 3,115<span></span>
</td>
<td class="nump">$ 3,234<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_VariableLeaseCost', window );">Variable lease expense</a></td>
<td class="nump">520<span></span>
</td>
<td class="nump">207<span></span>
</td>
<td class="nump">564<span></span>
</td>
<td class="nump">338<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LeaseCost', window );">Total lease expense</a></td>
<td class="nump">$ 2,085<span></span>
</td>
<td class="nump">$ 1,755<span></span>
</td>
<td class="nump">$ 3,679<span></span>
</td>
<td class="nump">$ 3,572<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfComponentsOfLeaseExpenseAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfComponentsOfLeaseExpenseAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LeaseCost">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of lease cost recognized by lessee for lease contract.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=123408670&amp;loc=SL77918686-209980<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 55<br> -Paragraph 53<br> -URI http://asc.fasb.org/extlink&amp;oid=123414884&amp;loc=SL77918982-209971<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LeaseCost</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of operating lease expense. Excludes sublease income.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123391704&amp;loc=SL77918638-209977<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_VariableLeaseCost">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123408670&amp;loc=SL77918686-209980<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 55<br> -Paragraph 53<br> -URI http://asc.fasb.org/extlink&amp;oid=123414884&amp;loc=SL77918982-209971<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_VariableLeaseCost</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>47
<FILENAME>R38.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148988529688">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract', window );"><strong>Schedule of Future Minimum Rental Payments for Operating Leases [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent', window );">2022</a></td>
<td class="nump">$ 3,015<span></span>
</td>
<td class="nump">$ 5,397<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears', window );">2023</a></td>
<td class="nump">4,836<span></span>
</td>
<td class="nump">3,690<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears', window );">2024</a></td>
<td class="nump">3,670<span></span>
</td>
<td class="nump">2,524<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears', window );">2025</a></td>
<td class="nump">2,221<span></span>
</td>
<td class="nump">1,648<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears', window );">2026</a></td>
<td class="nump">49<span></span>
</td>
<td class="nump">49<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDue', window );">Total</a></td>
<td class="nump">13,791<span></span>
</td>
<td class="nump">13,308<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_PresentValueDiscount', window );">Less: present value discount</a></td>
<td class="nump">877<span></span>
</td>
<td class="nump">994<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeaseLiability', window );">Operating lease liabilities</a></td>
<td class="nump">$ 12,914<span></span>
</td>
<td class="nump">$ 12,314<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_PresentValueDiscount">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_PresentValueDiscount</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeaseLiability">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Present value of lessee's discounted obligation for lease payments from operating lease.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 842<br> -SubTopic 20<br> -Section 45<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123391704&amp;loc=SL77918627-209977<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeaseLiability</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123403562&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123403562&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123403562&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123403562&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123403562&amp;loc=d3e38371-112697<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123406913&amp;loc=d3e41502-112717<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 840<br> -SubTopic 10<br> -Section 55<br> -Paragraph 40<br> -Subparagraph (Note 3)<br> -URI http://asc.fasb.org/extlink&amp;oid=123403562&amp;loc=d3e38371-112697<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>48
<FILENAME>R39.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149068826232">
<tr>
<th class="tl" colspan="2" rowspan="1"><div style="width: 200px;"><strong>Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">$ 354<span></span>
</td>
<td class="nump">$ 354<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommodityContractAssetCurrent', window );">Commodity futures asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">784<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractAsset', window );">Forward purchase contracts asset (liabilities)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">673<span></span>
</td>
<td class="nump">2,144<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialLiabilitiesFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,811<span></span>
</td>
<td class="nump">2,498<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures liability</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">4,590<span></span>
</td>
<td class="nump">1,794<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member', window );">Fair Value, Inputs, Level 1 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommodityContractAssetCurrent', window );">Commodity futures asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractAsset', window );">Forward purchase contracts asset (liabilities)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures liability</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member', window );">Fair Value, Inputs, Level 2 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommodityContractAssetCurrent', window );">Commodity futures asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">784<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractAsset', window );">Forward purchase contracts asset (liabilities)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">673<span></span>
</td>
<td class="nump">2,144<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialLiabilitiesFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,457<span></span>
</td>
<td class="nump">2,144<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures liability</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">4,590<span></span>
</td>
<td class="nump">1,794<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member', window );">Fair Value, Inputs, Level 3 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">354<span></span>
</td>
<td class="nump">354<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommodityContractAssetCurrent', window );">Commodity futures asset</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractAsset', window );">Forward purchase contracts asset (liabilities)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialLiabilitiesFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">354<span></span>
</td>
<td class="nump">354<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures liability</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr><td colspan="3"></td></tr>
<tr><td colspan="3"><table class="outerFootnotes" width="100%">
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[1]</td>
<td style="vertical-align: top;" valign="top">The investment in cooperative is included
in &#8220;Other assets&#8221; on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[2]</td>
<td style="vertical-align: top;" valign="top">The forward purchase contracts and commodity
futures assets are included in &#8220;Prepaid expenses and other current assets&#8221; on the accompanying Consolidated Condensed
Balance Sheets.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[3]</td>
<td style="vertical-align: top;" valign="top">The commodity futures liability is included
in &#8220;Accrued expenses and other current liabilities&#8221; on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
</table></td></tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ForwardPurchaseContractAsset">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ForwardPurchaseContractAsset</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_InvestmentInCooperativeFairValueDisclosure">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value of investment in cooperative as of the reporting date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_InvestmentInCooperativeFairValueDisclosure</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CommodityContractAssetCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount as of the balance sheet date of the asset arising from commodity contracts such as futures contracts tied to the movement of a particular commodity, which are expected to be converted into cash or otherwise disposed of within a year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.2)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CommodityContractAssetCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The fair value as of the balance sheet date of firm holdings in all assets resulting from contracts that meet the criteria of being accounted for as derivative instruments. Their value is derived from the values of one or more underlying assets, reference rates, or indices of asset values. Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4B<br> -Subparagraph c<br> -URI http://asc.fasb.org/extlink&amp;oid=125515794&amp;loc=SL5624163-113959<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FinancialLiabilitiesFairValueDisclosure">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FinancialLiabilitiesFairValueDisclosure</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>49
<FILENAME>R40.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986594632">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Property and Equipment (Details) - Schedule of Property and Equipment - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfPropertyAndEquipmentAbstract', window );"><strong>Schedule of Property and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LandAndLandImprovements', window );">Land and improvements</a></td>
<td class="nump">$ 27,437<span></span>
</td>
<td class="nump">$ 27,437<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_BuildingsAndImprovementsGross', window );">Buildings and improvements</a></td>
<td class="nump">23,701<span></span>
</td>
<td class="nump">23,701<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MachineryAndEquipmentGross', window );">Machinery, equipment and fixtures</a></td>
<td class="nump">306,514<span></span>
</td>
<td class="nump">305,640<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ConstructionInProgressGross', window );">Construction in progress</a></td>
<td class="nump">1,173<span></span>
</td>
<td class="nump">215<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentGross', window );"></a></td>
<td class="nump">358,825<span></span>
</td>
<td class="nump">356,993<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment', window );">Less: accumulated depreciation</a></td>
<td class="num">(213,747)<span></span>
</td>
<td class="num">(203,807)<span></span>
</td>
</tr>
<tr class="rou">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentNet', window );">Total</a></td>
<td class="nump">$ 145,078<span></span>
</td>
<td class="nump">$ 153,186<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfPropertyAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfPropertyAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.14)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_BuildingsAndImprovementsGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated depreciation of building structures held for productive use including addition, improvement, or renovation to the structure, including, but not limited to, interior masonry, interior flooring, electrical, and plumbing.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6812-107765<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BuildingsAndImprovementsGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ConstructionInProgressGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ConstructionInProgressGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_LandAndLandImprovements">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated deprecation and depletion of real estate held for productive use and additions or improvements to real estate held for productive use, examples include, but are not limited to, walkways, driveways, fences, and parking lots. Excludes land held for sale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_LandAndLandImprovements</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_MachineryAndEquipmentGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated depreciation of tangible personal property used to produce goods and services, including, but is not limited to, tools, dies and molds, computer and office equipment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 4<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6812-107765<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_MachineryAndEquipmentGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.13)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(14))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6391035&amp;loc=d3e2868-110229<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 360<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=124429447&amp;loc=SL124453093-239630<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 6: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>50
<FILENAME>R41.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148988881528">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Accrued Expenses and Other Current Liabilities (Details) - Schedule of Accrued Expenses and Other Current Liabilities - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract', window );"><strong>Schedule of Accrued Expenses and Other Current Liabilities [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeRelatedLiabilitiesCurrent', window );">Accrued payroll and related items</a></td>
<td class="nump">$ 1,882<span></span>
</td>
<td class="nump">$ 690<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedUtilitiesCurrent', window );">Accrued utility charges</a></td>
<td class="nump">2,708<span></span>
</td>
<td class="nump">2,515<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedLiabilitiesAndOtherLiabilities', window );">Accrued transportation related items</a></td>
<td class="nump">204<span></span>
</td>
<td class="nump">1,560<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent', window );">Accrued real estate taxes</a></td>
<td class="nump">1,220<span></span>
</td>
<td class="nump">1,778<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CommodityFutures', window );">Commodity futures</a></td>
<td class="nump">4,590<span></span>
</td>
<td class="nump">1,794<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedIncomeTaxes', window );">Accrued income taxes</a></td>
<td class="nump">51<span></span>
</td>
<td class="nump">55<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAccruedLiabilitiesCurrent', window );">Other</a></td>
<td class="nump">619<span></span>
</td>
<td class="nump">563<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedLiabilitiesCurrent', window );">Total</a></td>
<td class="nump">$ 11,274<span></span>
</td>
<td class="nump">$ 8,955<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CommodityFutures">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CommodityFutures</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred and payable for real and property taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 720<br> -SubTopic 30<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6419918&amp;loc=d3e35281-107843<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6935-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedIncomeTaxes">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due.  This amount is the total of current and noncurrent accrued income taxes.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(15)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(24))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32718-109319<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(15)(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedIncomeTaxes</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedLiabilitiesAndOtherLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedLiabilitiesAndOtherLiabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedUtilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Carrying value as of the balance sheet date of obligations incurred through that date and payable for utilities, such as electrical power, heating oil, natural gas, and water. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6935-107765<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6911-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedUtilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeRelatedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeRelatedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OtherAccruedLiabilitiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.20)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6911-107765<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e7018-107765<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124098289&amp;loc=d3e6935-107765<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAccruedLiabilitiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>51
<FILENAME>R42.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986604120">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Derivative Financial Instruments (Details)<br> bu in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th">
<div>Jul. 31, 2021 </div>
<div>USD ($) </div>
<div>bu</div>
</th>
<th class="th">
<div>Jul. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jul. 31, 2021 </div>
<div>USD ($) </div>
<div>bu</div>
</th>
<th class="th">
<div>Jul. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jan. 31, 2021 </div>
<div>USD ($) </div>
<div>bu </div>
<div>l</div>
</th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsLineItems', window );"><strong>Derivative Financial Instruments (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtInstrumentCollateralAmount', window );">Debt Instrument, Collateral Amount</a></td>
<td class="nump">$ 6,758,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 6,758,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,657,000<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue', window );">Gain (Loss) on Derivative Instruments, Net, Sales and Revenue</a></td>
<td class="nump">1,638,000<span></span>
</td>
<td class="nump">$ 298,000<span></span>
</td>
<td class="nump">2,764,000<span></span>
</td>
<td class="nump">$ 298,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnDerivativeInstrumentsNetPretax', window );">Gain (Loss) on Derivative Instruments, Net, Pretax</a></td>
<td class="nump">$ 6,142,000<span></span>
</td>
<td class="nump">$ 4,613,000<span></span>
</td>
<td class="nump">$ 8,036,000<span></span>
</td>
<td class="nump">$ 1,758,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_LiabilityMember', window );">Liability [Member] | Corn [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsLineItems', window );"><strong>Derivative Financial Instruments (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsQuantity', window );">Forward Purchase Contracts, Quantity (in US Bushels) | bu</a></td>
<td class="nump">10.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6.4<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ContractWithCustomerDurationAxis=rex_ShortSellMember', window );">Short/Sell [Member] | Liability [Member] | Corn [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsLineItems', window );"><strong>Derivative Financial Instruments (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CommodityFuturesQuantity', window );">Commodity Futures, Quantity | bu</a></td>
<td class="nump">8.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">8.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6.9<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ContractWithCustomerDurationAxis=rex_LongBuyMember', window );">Long/Buy [Member] | Assets [Member] | Corn [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsLineItems', window );"><strong>Derivative Financial Instruments (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CommodityFuturesQuantity', window );">Commodity Futures, Quantity</a></td>
<td class="nump">5.8<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">5.8<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CommodityFuturesQuantity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CommodityFuturesQuantity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_DerivativeFinancialInstrumentsDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_DerivativeFinancialInstrumentsDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ForwardPurchaseContractsQuantity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ForwardPurchaseContractsQuantity</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtInstrumentCollateralAmount">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of assets pledged to secure a debt instrument.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 470<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123599511&amp;loc=d3e64711-112823<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtInstrumentCollateralAmount</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GainLossOnDerivativeInstrumentsNetPretax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4A<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=125515794&amp;loc=SL5618551-113959<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GainLossOnDerivativeInstrumentsNetPretax</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_LiabilityMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentRiskAxis=us-gaap_LiabilityMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TradingActivityByTypeAxis=rex_CornMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TradingActivityByTypeAxis=rex_CornMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ContractWithCustomerDurationAxis=rex_ShortSellMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ContractWithCustomerDurationAxis=rex_ShortSellMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ContractWithCustomerDurationAxis=rex_LongBuyMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ContractWithCustomerDurationAxis=rex_LongBuyMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_AssetsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentRiskAxis=us-gaap_AssetsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>52
<FILENAME>R43.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149068564600">
<tr>
<th class="tl" colspan="2" rowspan="1"><div style="width: 200px;"><strong>Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 1,457<span></span>
</td>
<td class="nump">$ 2,144<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">4,590<span></span>
</td>
<td class="nump">1,794<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember', window );">Commodity Contract [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">784<span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">4,590<span></span>
</td>
<td class="nump">1,794<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember', window );">Forward Contracts [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">673<span></span>
</td>
<td class="nump">2,144<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeLiabilities', window );">Liability Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr><td colspan="3"></td></tr>
<tr><td colspan="3"><table class="outerFootnotes" width="100%">
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[1]</td>
<td style="vertical-align: top;" valign="top">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.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[2]</td>
<td style="vertical-align: top;" valign="top">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.</td>
</tr>
</table></td></tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=99393222&amp;loc=SL20226008-175313<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 55<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=99393222&amp;loc=SL20226052-175313<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=123594938&amp;loc=d3e13433-108611<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=51824906&amp;loc=SL20225862-175312<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=51824906&amp;loc=SL20225862-175312<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=99393222&amp;loc=SL20226008-175313<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=123594938&amp;loc=d3e13433-108611<br><br>Reference 4: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 20<br> -Section 55<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=99393222&amp;loc=SL20226052-175313<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeLiabilities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForwardContractsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>53
<FILENAME>R44.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148982186024">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Investments (Details) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees', window );">Retained Earnings, Undistributed Earnings from Equity Method Investees</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 11,800<span></span>
</td>
<td class="nump">$ 9,400<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentDividendsOrDistributions', window );">Proceeds from Equity Method Investment, Distribution</a></td>
<td class="nump">$ 2,005<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShortTermInvestments', window );">Short-term Investments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 33,282<span></span>
</td>
<td class="nump">$ 36,194<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield', window );">Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0.10%<span></span>
</td>
<td class="nump">0.20%<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted average yield of investment in debt security measured at amortized cost (held-to-maturity) maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher SEC<br> -Name Regulation S-K (SK)<br> -Number 229<br> -Section 1403<br> -Paragraph (a)<br> -Subparagraph (1)<br><br>Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher SEC<br> -Name Industry Guide<br> -Number 3<br> -Section II<br> -Paragraph B<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_DisclosureTextBlockSupplementAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DisclosureTextBlockSupplementAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentDividendsOrDistributions">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 21D<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=SL94080555-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentDividendsOrDistributions</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of consolidated retained earnings that represent undistributed (not yet received) earnings from 50% or less owned persons accounted for by the equity method (equity method investees).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(e)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 20<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=6462270&amp;loc=d3e57205-112772<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShortTermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(1)(g))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShortTermInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>54
<FILENAME>R45.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149069038488">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Investments (Details) - Schedule of Equity Method Investments - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfEquityMethodInvestmentsAbstract', window );"><strong>Schedule of Equity Method Investments [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentOwnershipPercentage', window );">Big River</a></td>
<td class="nump">10.30%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestments', window );">Big River</a></td>
<td class="nump">$ 31,870<span></span>
</td>
<td class="nump">$ 29,456<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfEquityMethodInvestmentsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfEquityMethodInvestmentsAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestmentOwnershipPercentage">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestmentOwnershipPercentage</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:percentItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109237563&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8813-108599<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.12)<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EquityMethodInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>55
<FILENAME>R46.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149075134024">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Investments (Details) - Schedule of Financial Information For Equity Method Investment - Big River [Member] - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems', window );"><strong>Investments (Details) - Schedule of Financial Information For Equity Method Investment [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Revenues', window );">Net sales and revenue</a></td>
<td class="nump">$ 363,383<span></span>
</td>
<td class="nump">$ 130,126<span></span>
</td>
<td class="nump">$ 619,799<span></span>
</td>
<td class="nump">$ 327,758<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Gross profit (loss)</a></td>
<td class="nump">19,357<span></span>
</td>
<td class="nump">3,565<span></span>
</td>
<td class="nump">20,901<span></span>
</td>
<td class="num">(2,378)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest', window );">Income (loss) from continuing operations</a></td>
<td class="nump">17,877<span></span>
</td>
<td class="num">(4,914)<span></span>
</td>
<td class="nump">23,412<span></span>
</td>
<td class="num">(9,540)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLoss', window );">Net income (loss)</a></td>
<td class="nump">$ 17,877<span></span>
</td>
<td class="num">$ (4,914)<span></span>
</td>
<td class="nump">$ 23,412<span></span>
</td>
<td class="num">$ (9,540)<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GrossProfit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 18: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1,2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GrossProfit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399700&amp;loc=SL114874048-224260<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22595-107794<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 40<br> -Section 65<br> -Paragraph 1<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123482062&amp;loc=SL123482106-238011<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=124431353&amp;loc=SL124452729-227067<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(20))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 28<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3602-108585<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22499-107794<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22583-107794<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 60B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=125511455&amp;loc=SL5780133-109256<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br><br>Reference 24: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1A<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669619-108580<br><br>Reference 25: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 26: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 11<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22694-107794<br><br>Reference 27: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 11<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22694-107794<br><br>Reference 28: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 29: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section 45<br> -Paragraph 1B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124509347&amp;loc=SL7669625-108580<br><br>Reference 30: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 31: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 32: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 33: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 34: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 35: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Revenues">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 40<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9031-108599<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 41<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9038-108599<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 42<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9054-108599<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 22: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Revenues</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>56
<FILENAME>R47.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149089360312">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Employee Benefits (Details) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jan. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EmployeeBenefitsDetailsLineItems', window );"><strong>Employee Benefits (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</a></td>
<td class="nump">10,061,000<span></span>
</td>
<td class="nump">19,705,000<span></span>
</td>
<td class="nump">19,705,000<span></span>
</td>
<td class="nump">28,576,000<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_RexShareholdersMember', window );">Rex Shareholders [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EmployeeBenefitsDetailsLineItems', window );"><strong>Employee Benefits (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized', window );">Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount (in Dollars)</a></td>
<td class="nump">$ 155<span></span>
</td>
<td class="nump">$ 272<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember', window );">Share-based Payment Arrangement, Option [Member] | Rex Shareholders [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EmployeeBenefitsDetailsLineItems', window );"><strong>Employee Benefits (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number</a></td>
<td class="nump">5,714<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">14,777<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PlanNameAxis=rex_StockOptionPlans2015Member', window );">Stock Option Plans 2015 [Member] | Share-based Payment Arrangement, Option [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EmployeeBenefitsDetailsLineItems', window );"><strong>Employee Benefits (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized', window );">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized</a></td>
<td class="nump">550,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant', window );">Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant</a></td>
<td class="nump">471,027<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_EmployeeBenefitsDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_EmployeeBenefitsDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cost not yet recognized for nonvested award under share-based payment arrangement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (i)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(i)-(ii)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of shares authorized for issuance under share-based payment arrangement.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_RexShareholdersMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_RexShareholdersMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PlanNameAxis=rex_StockOptionPlans2015Member">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PlanNameAxis=rex_StockOptionPlans2015Member</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>57
<FILENAME>R48.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985850424">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Employee Benefits (Details) - Schedule of Non-Vested Restricted Stock Award Activity - USD ($)<br> shares in Thousands, $ / shares in Thousands, $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract', window );"><strong>Schedule of Non-Vested Restricted Stock Award Activity [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Non-Vested Shares, Beginning of Period</a></td>
<td class="nump">19,705<span></span>
</td>
<td class="nump">28,576<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value, Beginning of Period (in Dollars)</a></td>
<td class="nump">$ 1,398<span></span>
</td>
<td class="nump">$ 2,193<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1', window );">Weighted Average Vesting Term, Beginning of Period</a></td>
<td class="text">1 year<span></span>
</td>
<td class="text">2 years<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross', window );">Non-Vested Shares, Granted</a></td>
<td class="nump">2,803<span></span>
</td>
<td class="nump">6,158<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value, Granted (in Dollars per share)</a></td>
<td class="nump">$ 275<span></span>
</td>
<td class="nump">$ 416<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod', window );">Non-Vested Shares, Vested</a></td>
<td class="nump">12,447<span></span>
</td>
<td class="nump">15,029<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested', window );">Weighted Average Grant Date Fair Value, Vested (in Dollars)</a></td>
<td class="nump">$ 900<span></span>
</td>
<td class="nump">$ 1,211<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber', window );">Non-Vested Shares, End of Period</a></td>
<td class="nump">10,061<span></span>
</td>
<td class="nump">19,705<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue', window );">Weighted Average Grant Date Fair Value, End of Period (in Dollars)</a></td>
<td class="nump">$ 773<span></span>
</td>
<td class="nump">$ 1,398<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition', window );">Weighted Average Vesting Term, End of Period</a></td>
<td class="text">2 years<span></span>
</td>
<td class="text">2 years<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The Weighted Average Grant Date Fair Value of shares in share based compensation arrangement</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (i)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:durationItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr-types:perShareItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(i)-(ii)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)(2)(iii)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=120381028&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Gross number of share options (or share units) granted during the period.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:sharesItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>58
<FILENAME>R49.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986197064">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes (Details) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_IncomeTaxesDetailsLineItems', window );"><strong>Income Taxes (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Income Tax Expense (Benefit)</a></td>
<td class="num">$ (3,677)<span></span>
</td>
<td class="num">$ (4,046)<span></span>
</td>
<td class="num">$ (3,648)<span></span>
</td>
<td class="num">$ (9,359)<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TaxCreditCarryforwardAxis=rex_CARESActNetOperatingLossCarrybackMember', window );">CARES Act Net Operating Loss Carryback [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_IncomeTaxesDetailsLineItems', window );"><strong>Income Taxes (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability', window );">Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (1,800)<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_IncomeTaxesDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_IncomeTaxesDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB TOPIC 6.I.7)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32672-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 20<br> -Section 45<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123586238&amp;loc=d3e38679-109324<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(9))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income tax expense (benefit) from continuing operations attributable to an adjustment of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32639-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_TaxCreditCarryforwardAxis=rex_CARESActNetOperatingLossCarrybackMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_TaxCreditCarryforwardAxis=rex_CARESActNetOperatingLossCarrybackMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>59
<FILENAME>R50.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148983620360">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract', window );"><strong>Schedule of Unrecognized Tax Benefits Roll Forward [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties', window );">Unrecognized tax benefits, beginning of period</a></td>
<td class="nump">$ 8,400<span></span>
</td>
<td class="nump">$ 7,370<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions', window );">Changes for prior years&#8217; tax positions</a></td>
<td class="nump">10<span></span>
</td>
<td class="num">(53)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions', window );">Changes for current year tax positions</a></td>
<td class="nump">275<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties', window );">Unrecognized tax benefits, end of period</a></td>
<td class="nump">$ 8,685<span></span>
</td>
<td class="nump">$ 7,317<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15A<br> -Subparagraph (a)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=SL6600010-109319<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>60
<FILENAME>R51.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148988834456">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Commitments and Contingencies (Details)<br> lb in Millions, gal in Millions, bu in Millions, $ in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th">
<div>Jul. 31, 2021 </div>
<div>USD ($) </div>
<div>MMBTU </div>
<div>T </div>
<div>lb </div>
<div>bu </div>
<div>gal</div>
</th>
<th class="th">
<div>Jul. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jul. 31, 2021 </div>
<div>USD ($) </div>
<div>MMBTU </div>
<div>T </div>
<div>lb </div>
<div>bu </div>
<div>gal</div>
</th>
<th class="th">
<div>Jul. 31, 2020 </div>
<div>USD ($)</div>
</th>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember', window );">One Earth Energy And Nu Gen Energy [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CommitmentsandContingenciesDetailsLineItems', window );"><strong>Commitments and Contingencies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfBushelsUnderForwardPurchaseContract', window );">Quantity of Bushels under Forward Purchase Contract (in US Bushels) | bu</a></td>
<td class="nump">10.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfNaturalGasUnderSalesCommitment', window );">Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU</a></td>
<td class="nump">639,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">639,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfEthanolUnderSalesCommitment', window );">Quantity of Ethanol under Sales Commitment (in US Gallons) | gal</a></td>
<td class="nump">31.7<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">31.7<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfDistillersGrainsUnderSalesCommitment', window );">Quantity of Distillers Grains Under Sales Commitment (in US Tons) | T</a></td>
<td class="nump">46,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">46,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments', window );">Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb</a></td>
<td class="nump">9.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">9.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_LegalEntityAxis=rex_RefinedCoalMember', window );">Refined Coal [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CommitmentsandContingenciesDetailsLineItems', window );"><strong>Commitments and Contingencies (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FeesIncurredBySubsidiary', window );">Fees Incurred By Subsidiary | $</a></td>
<td class="nump">$ 2.2<span></span>
</td>
<td class="nump">$ 1.1<span></span>
</td>
<td class="nump">$ 3.1<span></span>
</td>
<td class="nump">$ 1.4<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CommitmentsandContingenciesDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CommitmentsandContingenciesDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_FeesIncurredBySubsidiary">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_FeesIncurredBySubsidiary</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfBushelsUnderForwardPurchaseContract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of bushels under forward purchase contract.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfBushelsUnderForwardPurchaseContract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfDistillersGrainsUnderSalesCommitment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of distillers grains under sales commitment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfDistillersGrainsUnderSalesCommitment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:massItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfEthanolUnderSalesCommitment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Quantity of ethanol under sales commitment.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfEthanolUnderSalesCommitment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:volumeItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfNaturalGasUnderSalesCommitment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfNaturalGasUnderSalesCommitment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:energyItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>dtr:massItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LegalEntityAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_LegalEntityAxis=rex_RefinedCoalMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>61
<FILENAME>R52.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140149089346296">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Related-Party Transactions (Details) - USD ($)<br> $ in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RelatedPartyTransactionsDetailsLineItems', window );"><strong>Related-Party Transactions (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableRelatedPartiesCurrent', window );">Accounts Payable, Related Parties, Current</a></td>
<td class="nump">$ 2.5<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 2.5<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.7<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember', window );">One Earth Energy And Nu Gen Energy [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RelatedPartyTransactionsDetailsLineItems', window );"><strong>Related-Party Transactions (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">20.7<span></span>
</td>
<td class="nump">$ 4.9<span></span>
</td>
<td class="nump">37.4<span></span>
</td>
<td class="nump">$ 17.2<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableRelatedPartiesCurrent', window );">Accounts Payable, Related Parties, Current</a></td>
<td class="nump">2.5<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2.5<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0.7<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_RefinedCoalMember', window );">Refined Coal [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RelatedPartyTransactionsDetailsLineItems', window );"><strong>Related-Party Transactions (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">0.2<span></span>
</td>
<td class="nump">$ 0.2<span></span>
</td>
<td class="nump">0.2<span></span>
</td>
<td class="nump">$ 0.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes', window );">Accrued Liabilities for Commissions, Expense and Taxes</a></td>
<td class="nump">$ 0.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.1<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_RelatedPartyTransactionsDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_RelatedPartyTransactionsDetailsLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccountsPayableRelatedPartiesCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.5-02.19(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=120391452&amp;loc=d3e13212-122682<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39549-107864<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39603-107864<br><br>Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(k)(1))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccountsPayableRelatedPartiesCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The carrying amount for commissions, taxes and other expenses that were incurred but unpaid as of the balance sheet date.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03.15)<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CostsAndExpensesRelatedParty">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Costs of sales and operating expenses for the period incurred from transactions with related parties.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CostsAndExpensesRelatedParty</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_RefinedCoalMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>62
<FILENAME>R53.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148985120680">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting (Details)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2021</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingAbstract', window );"><strong>Segment Reporting [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NumberOfReportableSegments', window );">Number of Reportable Segments</a></td>
<td class="nump">2<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NumberOfReportableSegments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 18<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8672-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NumberOfReportableSegments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:integerItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SegmentReportingAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SegmentReportingAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>63
<FILENAME>R54.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148986484424">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Segment Reporting (Details) - Schedule Of Segment Results And Assets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="4">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th" colspan="2"><div>Jul. 31, 2021</div></th>
<th class="th" colspan="2"><div>Jul. 31, 2020</div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jul. 31, 2020</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax', window );">Net sales and revenue:</a></td>
<td class="nump">$ 195,843<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">$ 39,327<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">$ 359,947<span></span>
</td>
<td class="nump">$ 122,577<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Segment gross (loss) profit:</a></td>
<td class="nump">11,074<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(1,331)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">28,876<span></span>
</td>
<td class="num">(10,661)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">(Loss) income before income taxes:</a></td>
<td class="nump">6,375<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(6,079)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">14,802<span></span>
</td>
<td class="num">(19,822)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes:</a></td>
<td class="nump">3,677<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">4,046<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">3,648<span></span>
</td>
<td class="nump">9,359<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment (loss) profit (net of noncontrolling interests):</a></td>
<td class="nump">7,876<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(1,748)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">15,660<span></span>
</td>
<td class="num">(9,383)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">195,678<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">39,242<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">359,720<span></span>
</td>
<td class="nump">122,477<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember', window );">Ethanol [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax', window );">Net sales and revenue:</a></td>
<td class="nump">195,678<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">39,242<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">359,720<span></span>
</td>
<td class="nump">122,477<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Segment gross (loss) profit:</a></td>
<td class="nump">14,155<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">553<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">33,631<span></span>
</td>
<td class="num">(7,670)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">(Loss) income before income taxes:</a></td>
<td class="nump">10,732<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(3,259)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">21,820<span></span>
</td>
<td class="num">(15,610)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes:</a></td>
<td class="num">(1,985)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">893<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(4,423)<span></span>
</td>
<td class="nump">5,054<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment (loss) profit (net of noncontrolling interests):</a></td>
<td class="nump">6,418<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(2,178)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">14,374<span></span>
</td>
<td class="num">(9,611)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">153,990<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">32,524<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">280,059<span></span>
</td>
<td class="nump">93,121<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax', window );">Net sales and revenue:</a></td>
<td class="nump">165<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">85<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">227<span></span>
</td>
<td class="nump">100<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GrossProfit', window );">Segment gross (loss) profit:</a></td>
<td class="num">(3,081)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(1,884)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(4,755)<span></span>
</td>
<td class="num">(2,991)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">(Loss) income before income taxes:</a></td>
<td class="num">(3,455)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(2,118)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(5,260)<span></span>
</td>
<td class="num">(2,965)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes:</a></td>
<td class="nump">5,441<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">2,919<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">7,639<span></span>
</td>
<td class="nump">3,878<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment (loss) profit (net of noncontrolling interests):</a></td>
<td class="nump">2,139<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">898<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">2,612<span></span>
</td>
<td class="nump">1,048<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">165<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">85<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">227<span></span>
</td>
<td class="nump">100<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember', window );">Corporate and Other [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">(Loss) income before income taxes:</a></td>
<td class="num">(902)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(702)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(1,758)<span></span>
</td>
<td class="num">(1,247)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxExpenseBenefit', window );">Benefit (provision) for income taxes:</a></td>
<td class="nump">221<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">234<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">432<span></span>
</td>
<td class="nump">427<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic', window );">Segment (loss) profit (net of noncontrolling interests):</a></td>
<td class="num">(681)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(468)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(1,326)<span></span>
</td>
<td class="num">(820)<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_DriedDistillersGrainsMember', window );">Dried Distillers Grains [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">31,573<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">5,480<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">62,691<span></span>
</td>
<td class="nump">24,398<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_NonFoodGradeCornOilMember', window );">Non-Food Grade Corn Oil [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">9,813<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">1,313<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">15,407<span></span>
</td>
<td class="nump">4,501<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_ModifiedDistillersGrainsMember', window );">Modified Distillers Grains [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">1,934<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">209<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">4,227<span></span>
</td>
<td class="nump">666<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_DerivativeFinancialInstrumentsAssetsMember', window );">Derivative Financial Instruments, Assets [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="num">(1,638)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(298)<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="num">(2,764)<span></span>
</td>
<td class="num">(298)<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_AllOtherSegmentsMember', window );">Other Segments [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax', window );">Sales of products, ethanol and by-products segment:</a></td>
<td class="nump">$ 6<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">$ 14<span></span>
</td>
<td class="fn" style="border-bottom: 0px;"></td>
<td class="nump">$ 100<span></span>
</td>
<td class="nump">$ 89<span></span>
</td>
</tr>
<tr><td colspan="7"></td></tr>
<tr><td colspan="7"><table class="outerFootnotes" width="100%"><tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[1]</td>
<td style="vertical-align: top;" valign="top">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.</td>
</tr></table></td></tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_GrossProfit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 14: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 18: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.1,2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GrossProfit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 940<br> -SubTopic 20<br> -Section 25<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=123384075&amp;loc=d3e41242-110953<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 220<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=123367319&amp;loc=SL114868664-224227<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 235<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-05(b)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399901&amp;loc=d3e537907-122884<br><br>Reference 9: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 31<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8924-108599<br><br>Reference 10: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=120399700&amp;loc=SL114874048-224260<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxExpenseBenefit">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB TOPIC 6.I.7)<br> -URI http://asc.fasb.org/extlink&amp;oid=122134291&amp;loc=d3e330036-122817<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=121826272&amp;loc=d3e32672-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (h)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(h))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22663-107794<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 20<br> -Section 45<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123586238&amp;loc=d3e38679-109324<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(9))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400993&amp;loc=SL114874131-224263<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 250<br> -SubTopic 10<br> -Section 50<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22658-107794<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxExpenseBenefit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) from continuing operations available to common shareholders.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=125511455&amp;loc=d3e1377-109256<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124432515&amp;loc=d3e3550-109257<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 40<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9031-108599<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 41<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9038-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130543-203045<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 42<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9054-108599<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130545-203045<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 924<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 11.L)<br> -URI http://asc.fasb.org/extlink&amp;oid=6472922&amp;loc=d3e499488-122856<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 41<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9038-108599<br><br>Reference 2: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130545-203045<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br><br>Reference 6: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 8: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 606<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=123351226&amp;loc=SL49130543-203045<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 42<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9054-108599<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 40<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e9031-108599<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 924<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 11.L)<br> -URI http://asc.fasb.org/extlink&amp;oid=6472922&amp;loc=d3e499488-122856<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SegmentReportingInformationLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SegmentReportingInformationLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_DriedDistillersGrainsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_DriedDistillersGrainsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_NonFoodGradeCornOilMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_NonFoodGradeCornOilMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_ModifiedDistillersGrainsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_ModifiedDistillersGrainsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_DerivativeFinancialInstrumentsAssetsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=us-gaap_DerivativeFinancialInstrumentsAssetsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_AllOtherSegmentsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=us-gaap_AllOtherSegmentsMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>64
<FILENAME>R55.htm
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="report.css">
<script type="text/javascript" src="Show.js">/* Do Not Remove This Comment */</script><script type="text/javascript">
							function toggleNextSibling (e) {
							if (e.nextSibling.style.display=='none') {
							e.nextSibling.style.display='block';
							} else { e.nextSibling.style.display='none'; }
							}</script>
</head>
<body>
<span style="display: none;">v3.21.2</span><table class="report" border="0" cellspacing="2" id="idm140148988766104">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Segment Reporting (Details) - Schedule Of Segment Assets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Assets</a></td>
<td class="nump">$ 505,507<span></span>
</td>
<td class="nump">$ 479,345<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember', window );">Ethanol [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Assets</a></td>
<td class="nump">424,470<span></span>
</td>
<td class="nump">397,281<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember', window );">Refined Coal [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Assets</a></td>
<td class="nump">1,540<span></span>
</td>
<td class="nump">2,861<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember', window );">Corporate and Other [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_Assets', window );">Assets</a></td>
<td class="nump">$ 79,497<span></span>
</td>
<td class="nump">$ 79,203<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_Assets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(11))<br> -URI http://asc.fasb.org/extlink&amp;oid=120398452&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/exampleRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 55<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=84165509&amp;loc=d3e56426-112766<br><br>Reference 3: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 4: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 22<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8736-108599<br><br>Reference 5: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-03(a)(12))<br> -URI http://asc.fasb.org/extlink&amp;oid=120400017&amp;loc=d3e572229-122910<br><br>Reference 7: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 8: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 852<br> -SubTopic 10<br> -Section 50<br> -Paragraph 7<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124433192&amp;loc=SL2890621-112765<br><br>Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 10: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 11: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii)(A))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 12: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.4-08(g)(1)(ii))<br> -URI http://asc.fasb.org/extlink&amp;oid=120395691&amp;loc=d3e23780-122690<br><br>Reference 13: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(i))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 14: http://www.xbrl.org/2009/role/commonPracticeRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1A<br> -Subparagraph (SX 210.13-01(a)(4)(iii))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442526-122756<br><br>Reference 15: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 28<br> -Subparagraph (f)<br> -URI http://asc.fasb.org/extlink&amp;oid=123596393&amp;loc=d3e14064-108612<br><br>Reference 16: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iii)(B))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 17: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (bb)<br> -URI http://asc.fasb.org/extlink&amp;oid=123419778&amp;loc=d3e5710-111685<br><br>Reference 18: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(5))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 19: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 25<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=116870748&amp;loc=SL6758485-165988<br><br>Reference 20: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 32<br> -Subparagraph (d)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8933-108599<br><br>Reference 21: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1B<br> -Subparagraph (SX 210.13-02(a)(4)(iv))<br> -URI http://asc.fasb.org/extlink&amp;oid=124359900&amp;loc=SL124442552-122756<br><br>Reference 22: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=114001798&amp;loc=d3e33918-111571<br><br>Reference 23: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 280<br> -SubTopic 10<br> -Section 50<br> -Paragraph 30<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=123359005&amp;loc=d3e8906-108599<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_Assets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_SegmentReportingInformationLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SegmentReportingInformationLineItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_EthanolMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=rex_RefinedCoalMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Details</a><div><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_StatementBusinessSegmentsAxis=us-gaap_CorporateAndOtherMember</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td></td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td></td>
</tr>
</table></div>
</div></td></tr>
</table>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EXCEL
<SEQUENCE>65
<FILENAME>Financial_Report.xlsx
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 Financial_Report.xlsx
M4$L#!!0    ( $)G(U,'04UB@0   +$    0    9&]C4')O<',O87!P+GAM
M;$V./0L",1!$_\IQO;=!P4)B0-!2L+(/>QLOD&1#LD)^OCG!CVX>;QA&WPIG
M*N*I#BV&5(_C(I(/ !47BK9.7:=N')=HI6-Y #OGD<Z,STA)8*O4'J@)I9GF
M3?X.CD:?<@X>K7A.YNJQ<&4GPZ4A!0W_<FW>J=0U[R;UEA_6\#MI7E!+ P04
M    " !"9R-3SD#BN^\    K @  $0   &1O8U!R;W!S+V-O<F4N>&ULS9+/
M3L,P#(=?!>7>NG^T(:(N%Q GD)"8!.(6.=X6K6FCQ*C=V].&K1."!^ 8^Y?/
MGR4WZ"7V@5Y"[RFPI7@SNK:+$OU&')B]!(AX(*=C/B6ZJ;GK@],\/<,>O,:C
MWA-41;$&1ZR-9@TS,/,+4:C&H,1 FOMPQAM<\/XSM EF$*@E1QU'*/,2A)HG
M^M/8-G %S#"FX.)W@<Q"3-4_L:D#XIP<HUU2PS#D0YURTPXEO#\_O:9U,]M%
MUAW2]"M:R2=/&W&9_%;?/VP?A:J*JLR*NZRHM^5:KF[EJOJ877_X785=;^S.
M_F/CBZ!JX-==J"]02P,$%     @ 0F<C4YE<G",0!@  G"<  !,   !X;"]T
M:&5M92]T:&5M93$N>&U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WE 1!);
MMJ'P]W7"(+6BJ(A*O1LB8OO=%ULZFV3TMK7D>YNZ:OPX681@'QCS^8)J[5-C
MJ8DC,^-J'>)?-V=6YTL])R8&@R'+31.H"?W0UD@FHR>:Z545>L^;>-N7IADG
MCBJ?]!YW$]NL<:*MK<I<ASC.UDWQ+:6_3TCCRFZ.7Y36W\0)"3N9T([\'+!?
M][HFY\J">E/MPHNNXRRVJ9@/VXI\>K[$B1[-;%;F5)A\5<<EJ;>.=.$71*&N
MTEW1F_/)(>XP[7[YU?E=F7.!<>;4&>OCB3FZ/.YP).WJOHV%R(7R_",>$V/I
MJY^/VM,NJ/AE=MS>#^.6W7EXUEVNW^.O9WRL?V$? J0/"=*' NDC ^EC"-+'
M+4@?=R!]W(/TP0<HC:"(RE%(Y2BF<A14.8JJ'(55CN(J1X&5H\@J4&05*+(*
M%%D%BJP"15:!(JM D56@R"I09!4HLDH4626*K!)%5HDBJT215:+(*E%DE2BR
M2A19)8JL"D56A2*K0I%5H<BJ4&15*+(J%%D5BJP*15:%(FN&(FN&(FN&(FN&
M(FN&(FOVG[*^&[/\ZQ?H[36M==D<\EGWE<+D$U!+ 0(4 Q0    ( $)G(U,'
M04UB@0   +$    0              "  0    !D;V-0<F]P<R]A<' N>&UL
M4$L! A0#%     @ 0F<C4\Y XKOO    *P(  !$              ( !KP
M &1O8U!R;W!S+V-O<F4N>&UL4$L! A0#%     @ 0F<C4YE<G",0!@  G"<
M !,              ( !S0$  'AL+W1H96UE+W1H96UE,2YX;6Q02P$"% ,4
M    " !"9R-3(O^;F3T%  !]%0  &               @($."   >&PO=V]R
M:W-H965T<R]S:&5E=#$N>&UL4$L! A0#%     @ 0F<C4YH2AEL<!@  R!@
M !@              ("!@0T  'AL+W=O<FMS:&5E=',O<VAE970R+GAM;%!+
M 0(4 Q0    ( $)G(U.PV1^D1P(  #8%   8              " @=,3  !X
M;"]W;W)K<VAE971S+W-H965T,RYX;6Q02P$"% ,4    " !#9R-3ZJ*XNK$%
M  #"%   &               @(%0%@  >&PO=V]R:W-H965T<R]S:&5E=#0N
M>&UL4$L! A0#%     @ 0V<C4WGH[RS/ @  OP<  !@              ("!
M-QP  'AL+W=O<FMS:&5E=',O<VAE970U+GAM;%!+ 0(4 Q0    ( $-G(U./
MA*]@:P@  -$Q   8              " @3P?  !X;"]W;W)K<VAE971S+W-H
M965T-BYX;6Q02P$"% ,4    " !#9R-3/70BR&4'  !:'@  &
M    @('=)P  >&PO=V]R:W-H965T<R]S:&5E=#<N>&UL4$L! A0#%     @
M0V<C4RCU]ND+!@  7P\  !@              ("!>"\  'AL+W=O<FMS:&5E
M=',O<VAE970X+GAM;%!+ 0(4 Q0    ( $-G(U-N&J0ZR0\  .@H   8
M          " @;DU  !X;"]W;W)K<VAE971S+W-H965T.2YX;6Q02P$"% ,4
M    " !#9R-3(,0CS?H#  #2"   &0              @(&X10  >&PO=V]R
M:W-H965T<R]S:&5E=#$P+GAM;%!+ 0(4 Q0    ( $-G(U.+TR+U%P4  #<,
M   9              " @>E)  !X;"]W;W)K<VAE971S+W-H965T,3$N>&UL
M4$L! A0#%     @ 0V<C4U<U6W+,!P  'A0  !D              ("!-T\
M 'AL+W=O<FMS:&5E=',O<VAE970Q,BYX;6Q02P$"% ,4    " !#9R-3:#VJ
M@O0"   J!@  &0              @($Z5P  >&PO=V]R:W-H965T<R]S:&5E
M=#$S+GAM;%!+ 0(4 Q0    ( $-G(U/NW##!& ,  *$&   9
M  " @65:  !X;"]W;W)K<VAE971S+W-H965T,30N>&UL4$L! A0#%     @
M0V<C4Y""9X0J!P  D!0  !D              ("!M%T  'AL+W=O<FMS:&5E
M=',O<VAE970Q-2YX;6Q02P$"% ,4    " !#9R-339(AR8\$   M"P  &0
M            @($590  >&PO=V]R:W-H965T<R]S:&5E=#$V+GAM;%!+ 0(4
M Q0    ( $-G(U.E?V-?& 8  #8.   9              " @=MI  !X;"]W
M;W)K<VAE971S+W-H965T,3<N>&UL4$L! A0#%     @ 0V<C4XSTQ-8U!P
M7Q$  !D              ("!*G   'AL+W=O<FMS:&5E=',O<VAE970Q."YX
M;6Q02P$"% ,4    " !#9R-3]QZO&6P$  #["0  &0              @(&6
M=P  >&PO=V]R:W-H965T<R]S:&5E=#$Y+GAM;%!+ 0(4 Q0    ( $-G(U.0
M^VNNI ,  #H)   9              " @3E\  !X;"]W;W)K<VAE971S+W-H
M965T,C N>&UL4$L! A0#%     @ 0V<C4P>[>S5/!@  Y X  !D
M     ("!%(   'AL+W=O<FMS:&5E=',O<VAE970R,2YX;6Q02P$"% ,4
M" !#9R-3;]1R4-P/  #<+0  &0              @(&:A@  >&PO=V]R:W-H
M965T<R]S:&5E=#(R+GAM;%!+ 0(4 Q0    ( $-G(U/\Y <IN@(  (8%   9
M              " @:V6  !X;"]W;W)K<VAE971S+W-H965T,C,N>&UL4$L!
M A0#%     @ 0V<C4V[B=#.B P  AP@  !D              ("!GID  'AL
M+W=O<FMS:&5E=',O<VAE970R-"YX;6Q02P$"% ,4    " !#9R-3(T>."Y\#
M   7"0  &0              @(%WG0  >&PO=V]R:W-H965T<R]S:&5E=#(U
M+GAM;%!+ 0(4 Q0    ( $-G(U,3O=3L[@(   \&   9              "
M@4VA  !X;"]W;W)K<VAE971S+W-H965T,C8N>&UL4$L! A0#%     @ 0V<C
M4YE$%^ + P  2 8  !D              ("!<J0  'AL+W=O<FMS:&5E=',O
M<VAE970R-RYX;6Q02P$"% ,4    " !#9R-3B^N,]6$#  #U!@  &0
M        @(&TIP  >&PO=V]R:W-H965T<R]S:&5E=#(X+GAM;%!+ 0(4 Q0
M   ( $-G(U,MV,2WD ,  "\(   9              " @4RK  !X;"]W;W)K
M<VAE971S+W-H965T,CDN>&UL4$L! A0#%     @ 0V<C4]\1U6WM @  DP8
M !D              ("!$Z\  'AL+W=O<FMS:&5E=',O<VAE970S,"YX;6Q0
M2P$"% ,4    " !#9R-3GA(#<]H"   ?!@  &0              @($WL@
M>&PO=V]R:W-H965T<R]S:&5E=#,Q+GAM;%!+ 0(4 Q0    ( $-G(U-E/\"]
MJ04  &8.   9              " @4BU  !X;"]W;W)K<VAE971S+W-H965T
M,S(N>&UL4$L! A0#%     @ 0V<C4_CW6;Z] @  E D  !D
M ("!*+L  'AL+W=O<FMS:&5E=',O<VAE970S,RYX;6Q02P$"% ,4    " !#
M9R-3LX,.NK0$  "L%   &0              @($<O@  >&PO=V]R:W-H965T
M<R]S:&5E=#,T+GAM;%!+ 0(4 Q0    ( $-G(U-^KAMFBP(  (4&   9
M          " @0?#  !X;"]W;W)K<VAE971S+W-H965T,S4N>&UL4$L! A0#
M%     @ 0V<C4XL7S<<Q @  A04  !D              ("!R<4  'AL+W=O
M<FMS:&5E=',O<VAE970S-BYX;6Q02P$"% ,4    " !#9R-3$\/#T<P"  "2
M"   &0              @($QR   >&PO=V]R:W-H965T<R]S:&5E=#,W+GAM
M;%!+ 0(4 Q0    ( $-G(U.%C>W$XP(  . (   9              " @33+
M  !X;"]W;W)K<VAE971S+W-H965T,S@N>&UL4$L! A0#%     @ 0V<C4PCD
M%<)/!0  0AT  !D              ("!3LX  'AL+W=O<FMS:&5E=',O<VAE
M970S.2YX;6Q02P$"% ,4    " !#9R-3LC=."=P"  !$"   &0
M    @('4TP  >&PO=V]R:W-H965T<R]S:&5E=#0P+GAM;%!+ 0(4 Q0    (
M $-G(U-22WT8]@(  $T)   9              " @>?6  !X;"]W;W)K<VAE
M971S+W-H965T-#$N>&UL4$L! A0#%     @ 0V<C4T<,S%S; P  O@X  !D
M             ("!%-H  'AL+W=O<FMS:&5E=',O<VAE970T,BYX;6Q02P$"
M% ,4    " !#9R-3+OL@@!<$  "T$   &0              @($FW@  >&PO
M=V]R:W-H965T<R]S:&5E=#0S+GAM;%!+ 0(4 Q0    ( $-G(U,@%. 6]0(
M -@'   9              " @73B  !X;"]W;W)K<VAE971S+W-H965T-#0N
M>&UL4$L! A0#%     @ 0V<C4W 9QJ4? @  $@4  !D              ("!
MH.4  'AL+W=O<FMS:&5E=',O<VAE970T-2YX;6Q02P$"% ,4    " !#9R-3
MWYMWXCT#   #"@  &0              @('VYP  >&PO=V]R:W-H965T<R]S
M:&5E=#0V+GAM;%!+ 0(4 Q0    ( $-G(U,H-KC8:0,  &8,   9
M      " @6KK  !X;"]W;W)K<VAE971S+W-H965T-#<N>&UL4$L! A0#%
M  @ 0V<C4T2LVC.4 P  M@P  !D              ("!"N\  'AL+W=O<FMS
M:&5E=',O<VAE970T."YX;6Q02P$"% ,4    " !#9R-3=P="L]8"   W"
M&0              @('5\@  >&PO=V]R:W-H965T<R]S:&5E=#0Y+GAM;%!+
M 0(4 Q0    ( $-G(U,2O=B1Q (  &@'   9              " @>+U  !X
M;"]W;W)K<VAE971S+W-H965T-3 N>&UL4$L! A0#%     @ 0V<C4XBYKW[8
M P  D0P  !D              ("!W?@  'AL+W=O<FMS:&5E=',O<VAE970U
M,2YX;6Q02P$"% ,4    " !#9R-3<PU AE\#  !G#   &0
M@('L_   >&PO=V]R:W-H965T<R]S:&5E=#4R+GAM;%!+ 0(4 Q0    ( $-G
M(U/8<*64^ $  $4$   9              " @8(  0!X;"]W;W)K<VAE971S
M+W-H965T-3,N>&UL4$L! A0#%     @ 0V<C4Z/6U8?W!P  :RD  !D
M         ("!L0(! 'AL+W=O<FMS:&5E=',O<VAE970U-"YX;6Q02P$"% ,4
M    " !#9R-3X0G/QJL"  ";"   &0              @('?"@$ >&PO=V]R
M:W-H965T<R]S:&5E=#4U+GAM;%!+ 0(4 Q0    ( $-G(U.[12UF%0,  &81
M   -              "  <$- 0!X;"]S='EL97,N>&UL4$L! A0#%     @
M0V<C4Y>*NQS     $P(   L              ( ! 1$! %]R96QS+RYR96QS
M4$L! A0#%     @ 0V<C4VG1!^YG!   820   \              ( !ZA$!
M 'AL+W=O<FMB;V]K+GAM;%!+ 0(4 Q0    ( $-G(U.\ =;!X $  .P@   :
M              "  7X6 0!X;"]?<F5L<R]W;W)K8F]O:RYX;6PN<F5L<U!+
M 0(4 Q0    ( $-G(U,4U''DT $  *T@   3              "  988 0!;
H0V]N=&5N=%]4>7!E<UTN>&UL4$L%!@     _ #\ ,!$  )<: 0    $!

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>66
<FILENAME>Show.js
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
// Edgar(tm) Renderer was created by staff of the U.S. Securities and Exchange Commission.  Data and content created by government employees within the scope of their employment are not subject to domestic copyright protection. 17 U.S.C. 105.
var Show={};Show.LastAR=null,Show.showAR=function(a,r,w){if(Show.LastAR)Show.hideAR();var e=a;while(e&&e.nodeName!='TABLE')e=e.nextSibling;if(!e||e.nodeName!='TABLE'){var ref=((window)?w.document:document).getElementById(r);if(ref){e=ref.cloneNode(!0);
e.removeAttribute('id');a.parentNode.appendChild(e)}}
if(e)e.style.display='block';Show.LastAR=e};Show.hideAR=function(){Show.LastAR.style.display='none'};Show.toggleNext=function(a){var e=a;while(e.nodeName!='DIV')e=e.nextSibling;if(!e.style){}else if(!e.style.display){}else{var d,p_;if(e.style.display=='none'){d='block';p='-'}else{d='none';p='+'}
e.style.display=d;if(a.textContent){a.textContent=p+a.textContent.substring(1)}else{a.innerText=p+a.innerText.substring(1)}}}
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>67
<FILENAME>report.css
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
/* Updated 2009-11-04 */
/* v2.2.0.24 */

/* DefRef Styles */
..report table.authRefData{
	background-color: #def;
	border: 2px solid #2F4497;
	font-size: 1em;
	position: absolute;
}

..report table.authRefData a {
	display: block;
	font-weight: bold;
}

..report table.authRefData p {
	margin-top: 0px;
}

..report table.authRefData .hide {
	background-color: #2F4497;
	padding: 1px 3px 0px 0px;
	text-align: right;
}

..report table.authRefData .hide a:hover {
	background-color: #2F4497;
}

..report table.authRefData .body {
	height: 150px;
	overflow: auto;
	width: 400px;
}

..report table.authRefData table{
	font-size: 1em;
}

/* Report Styles */
..pl a, .pl a:visited {
	color: black;
	text-decoration: none;
}

/* table */
..report {
	background-color: white;
	border: 2px solid #acf;
	clear: both;
	color: black;
	font: normal 8pt Helvetica, Arial, san-serif;
	margin-bottom: 2em;
}

..report hr {
	border: 1px solid #acf;
}

/* Top labels */
..report th {
	background-color: #acf;
	color: black;
	font-weight: bold;
	text-align: center;
}

..report th.void	{
	background-color: transparent;
	color: #000000;
	font: bold 10pt Helvetica, Arial, san-serif;
	text-align: left;
}

..report .pl {
	text-align: left;
	vertical-align: top;
	white-space: normal;
	width: 200px;
	white-space: normal; /* word-wrap: break-word; */
}

..report td.pl a.a {
	cursor: pointer;
	display: block;
	width: 200px;
	overflow: hidden;
}

..report td.pl div.a {
	width: 200px;
}

..report td.pl a:hover {
	background-color: #ffc;
}

/* Header rows... */
..report tr.rh {
	background-color: #acf;
	color: black;
	font-weight: bold;
}

/* Calendars... */
..report .rc {
	background-color: #f0f0f0;
}

/* Even rows... */
..report .re, .report .reu {
	background-color: #def;
}

..report .reu td {
	border-bottom: 1px solid black;
}

/* Odd rows... */
..report .ro, .report .rou {
	background-color: white;
}

..report .rou td {
	border-bottom: 1px solid black;
}

..report .rou table td, .report .reu table td {
	border-bottom: 0px solid black;
}

/* styles for footnote marker */
..report .fn {
	white-space: nowrap;
}

/* styles for numeric types */
..report .num, .report .nump {
	text-align: right;
	white-space: nowrap;
}

..report .nump {
	padding-left: 2em;
}

..report .nump {
	padding: 0px 0.4em 0px 2em;
}

/* styles for text types */
..report .text {
	text-align: left;
	white-space: normal;
}

..report .text .big {
	margin-bottom: 1em;
	width: 17em;
}

..report .text .more {
	display: none;
}

..report .text .note {
	font-style: italic;
	font-weight: bold;
}

..report .text .small {
	width: 10em;
}

..report sup {
	font-style: italic;
}

..report .outerFootnotes {
	font-size: 1em;
}
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>68
<FILENAME>FilingSummary.xml
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<XML>
<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>149</ContextCount>
  <ElementCount>298</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>39</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - CONSOLIDATED BALANCE SHEETS (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedCashFlow</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - Consolidated Condensed Financial Statements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements</Role>
      <ShortName>Consolidated Condensed Financial Statements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccountingPolicies</Role>
      <ShortName>Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Net Sales and Revenue</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/NetSalesandRevenue</Role>
      <ShortName>Net Sales and Revenue</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FairValue</Role>
      <ShortName>Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/PropertyandEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EmployeeBenefits</Role>
      <ShortName>Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Related-Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related-Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Segment Reporting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SegmentReporting</Role>
      <ShortName>Segment Reporting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/AccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccountingPoliciesTables</Role>
      <ShortName>Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/AccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/Leases</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FairValueTables</Role>
      <ShortName>Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/FairValue</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/PropertyandEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/PropertyandEquipment</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/Investments</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - Employee Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EmployeeBenefitsTables</Role>
      <ShortName>Employee Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/EmployeeBenefits</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/IncomeTaxes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - Disclosure - Segment Reporting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SegmentReportingTables</Role>
      <ShortName>Segment Reporting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReporting</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - Consolidated Condensed Financial Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails</Role>
      <ShortName>Consolidated Condensed Financial Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - Disclosure - Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/AccountingPoliciesDetails</Role>
      <ShortName>Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/AccountingPoliciesTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - Accounting Policies (Details) - Schedule of Components of Inventory</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable</Role>
      <ShortName>Accounting Policies (Details) - Schedule of Components of Inventory</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/AccountingPoliciesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/LeasesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - Leases (Details) - Schedule of Components of Lease Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable</Role>
      <ShortName>Leases (Details) - Schedule of Components of Lease Expense</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/LeasesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable</Role>
      <ShortName>Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/LeasesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable</Role>
      <ShortName>Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/FairValueTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - Property and Equipment (Details) - Schedule of Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable</Role>
      <ShortName>Property and Equipment (Details) - Schedule of Property and Equipment</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/PropertyandEquipmentTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - Disclosure - Accrued Expenses and Other Current Liabilities (Details) - Schedule of Accrued Expenses and Other Current Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable</Role>
      <ShortName>Accrued Expenses and Other Current Liabilities (Details) - Schedule of Accrued Expenses and Other Current Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - Disclosure - Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - Disclosure - Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable</Role>
      <ShortName>Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>043 - Disclosure - Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/InvestmentsDetails</Role>
      <ShortName>Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/InvestmentsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>044 - Disclosure - Investments (Details) - Schedule of Equity Method Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable</Role>
      <ShortName>Investments (Details) - Schedule of Equity Method Investments</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/InvestmentsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>045 - Disclosure - Investments (Details) - Schedule of Financial Information For Equity Method Investment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable</Role>
      <ShortName>Investments (Details) - Schedule of Financial Information For Equity Method Investment</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/InvestmentsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>046 - Disclosure - Employee Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EmployeeBenefitsDetails</Role>
      <ShortName>Employee Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/EmployeeBenefitsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>047 - Disclosure - Employee Benefits (Details) - Schedule of Non-Vested Restricted Stock Award Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable</Role>
      <ShortName>Employee Benefits (Details) - Schedule of Non-Vested Restricted Stock Award Activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/EmployeeBenefitsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>048 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/IncomeTaxesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>049 - Disclosure - Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/IncomeTaxesTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>050 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/CommitmentsandContingencies</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>051 - Disclosure - Related-Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related-Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/RelatedPartyTransactions</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>052 - Disclosure - Segment Reporting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SegmentReportingDetails</Role>
      <ShortName>Segment Reporting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReportingTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>053 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Results And Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable</Role>
      <ShortName>Segment Reporting (Details) - Schedule Of Segment Results And Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReportingTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="c102240_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>054 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable</Role>
      <ShortName>Segment Reporting (Details) - Schedule Of Segment Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SegmentReportingTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="c102240_10q-ixbrl.htm">c102240_10q-ixbrl.htm</File>
    <File>c102240_ex31.htm</File>
    <File>c102240_ex32.htm</File>
    <File>rex-20210731.xsd</File>
    <File>rex-20210731_cal.xml</File>
    <File>rex-20210731_def.xml</File>
    <File>rex-20210731_lab.xml</File>
    <File>rex-20210731_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2021</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>JSON
<SEQUENCE>71
<FILENAME>MetaLinks.json
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
{
 "instance": {
  "c102240_10q-ixbrl.htm": {
   "axisCustom": 0,
   "axisStandard": 15,
   "contextCount": 149,
   "dts": {
    "calculationLink": {
     "local": [
      "rex-20210731_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "rex-20210731_def.xml"
     ]
    },
    "inline": {
     "local": [
      "c102240_10q-ixbrl.htm"
     ]
    },
    "labelLink": {
     "local": [
      "rex-20210731_lab.xml"
     ],
     "remote": [
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-doc-2021-01-31.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "rex-20210731_pre.xml"
     ]
    },
    "referenceLink": {
     "remote": [
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-ref-2021-01-31.xml"
     ]
    },
    "schema": {
     "local": [
      "rex-20210731.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021.xsd",
      "https://xbrl.sec.gov/sic/2021/sic-2021.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021_doc.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-parts-codification-2021-01-31.xsd",
      "https://xbrl.sec.gov/dei/2021/dei-2021_ref.xsd"
     ]
    }
   },
   "elementCount": 363,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 9,
    "http://www.rexamerican.com/20210731": 8,
    "http://xbrl.sec.gov/dei/2021": 4,
    "total": 21
   },
   "keyCustom": 25,
   "keyStandard": 273,
   "memberCustom": 15,
   "memberStandard": 21,
   "nsprefix": "rex",
   "nsuri": "http://www.rexamerican.com/20210731",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "b",
       "p",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "000 - Document - Document And Entity Information",
     "role": "http://www.rexamerican.com/role/DocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "b",
       "p",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:EntityRegistrantName",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "009 - Disclosure - Net Sales and Revenue",
     "role": "http://www.rexamerican.com/role/NetSalesandRevenue",
     "shortName": "Net Sales and Revenue",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RevenueFromContractWithCustomerTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeasesOfLesseeDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "010 - Disclosure - Leases",
     "role": "http://www.rexamerican.com/role/Leases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeasesOfLesseeDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "011 - Disclosure - Fair Value",
     "role": "http://www.rexamerican.com/role/FairValue",
     "shortName": "Fair Value",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "012 - Disclosure - Property and Equipment",
     "role": "http://www.rexamerican.com/role/PropertyandEquipment",
     "shortName": "Property and Equipment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "013 - Disclosure - Accrued Expenses and Other Current Liabilities",
     "role": "http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities",
     "shortName": "Accrued Expenses and Other Current Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "014 - Disclosure - Derivative Financial Instruments",
     "role": "http://www.rexamerican.com/role/DerivativeFinancialInstruments",
     "shortName": "Derivative Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "015 - Disclosure - Investments",
     "role": "http://www.rexamerican.com/role/Investments",
     "shortName": "Investments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "016 - Disclosure - Employee Benefits",
     "role": "http://www.rexamerican.com/role/EmployeeBenefits",
     "shortName": "Employee Benefits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CompensationAndEmployeeBenefitPlansTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "017 - Disclosure - Income Taxes",
     "role": "http://www.rexamerican.com/role/IncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "018 - Disclosure - Commitments and Contingencies",
     "role": "http://www.rexamerican.com/role/CommitmentsandContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "001 - Statement - CONSOLIDATED BALANCE SHEETS",
     "role": "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
     "shortName": "CONSOLIDATED BALANCE SHEETS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "019 - Disclosure - Related-Party Transactions",
     "role": "http://www.rexamerican.com/role/RelatedPartyTransactions",
     "shortName": "Related-Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "020 - Disclosure - Segment Reporting",
     "role": "http://www.rexamerican.com/role/SegmentReporting",
     "shortName": "Segment Reporting",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SegmentReportingDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "021 - Disclosure - Accounting Policies, by Policy (Policies)",
     "role": "http://www.rexamerican.com/role/AccountingPoliciesByPolicy",
     "shortName": "Accounting Policies, by Policy (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "022 - Disclosure - Accounting Policies (Tables)",
     "role": "http://www.rexamerican.com/role/AccountingPoliciesTables",
     "shortName": "Accounting Policies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfInventoryCurrentTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "023 - Disclosure - Leases (Tables)",
     "role": "http://www.rexamerican.com/role/LeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "024 - Disclosure - Fair Value (Tables)",
     "role": "http://www.rexamerican.com/role/FairValueTables",
     "shortName": "Fair Value (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "025 - Disclosure - Property and Equipment (Tables)",
     "role": "http://www.rexamerican.com/role/PropertyandEquipmentTables",
     "shortName": "Property and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "026 - Disclosure - Accrued Expenses and Other Current Liabilities (Tables)",
     "role": "http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables",
     "shortName": "Accrued Expenses and Other Current Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "027 - Disclosure - Derivative Financial Instruments (Tables)",
     "role": "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables",
     "shortName": "Derivative Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "028 - Disclosure - Investments (Tables)",
     "role": "http://www.rexamerican.com/role/InvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - CONSOLIDATED BALANCE SHEETS (Parentheticals)",
     "role": "http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals",
     "shortName": "CONSOLIDATED BALANCE SHEETS (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-5",
      "lang": null,
      "name": "rex:AccruedExpensesRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "029 - Disclosure - Employee Benefits (Tables)",
     "role": "http://www.rexamerican.com/role/EmployeeBenefitsTables",
     "shortName": "Employee Benefits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "030 - Disclosure - Income Taxes (Tables)",
     "role": "http://www.rexamerican.com/role/IncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "031 - Disclosure - Segment Reporting (Tables)",
     "role": "http://www.rexamerican.com/role/SegmentReportingTables",
     "shortName": "Segment Reporting (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "rex:NumberOfConsolidatedSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Consolidated Condensed Financial Statements (Details)",
     "role": "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
     "shortName": "Consolidated Condensed Financial Statements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "rex:NumberOfConsolidatedSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "rex:OutboundFreightCharges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - Disclosure - Accounting Policies (Details)",
     "role": "http://www.rexamerican.com/role/AccountingPoliciesDetails",
     "shortName": "Accounting Policies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "rex:OutboundFreightCharges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryFinishedGoodsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - Disclosure - Accounting Policies (Details) - Schedule of Components of Inventory",
     "role": "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable",
     "shortName": "Accounting Policies (Details) - Schedule of Components of Inventory",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryFinishedGoodsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "035 - Disclosure - Leases (Details)",
     "role": "http://www.rexamerican.com/role/LeasesDetails",
     "shortName": "Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Leases (Details) - Schedule of Components of Lease Expense",
     "role": "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable",
     "shortName": "Leases (Details) - Schedule of Components of Lease Expense",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "037 - Disclosure - Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases",
     "role": "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable",
     "shortName": "Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "rex:InvestmentInCooperativeFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - Disclosure - Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis",
     "role": "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable",
     "shortName": "Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "rex:InvestmentInCooperativeFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "role": "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LandAndLandImprovements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "039 - Disclosure - Property and Equipment (Details) - Schedule of Property and Equipment",
     "role": "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable",
     "shortName": "Property and Equipment (Details) - Schedule of Property and Equipment",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LandAndLandImprovements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "040 - Disclosure - Accrued Expenses and Other Current Liabilities (Details) - Schedule of Accrued Expenses and Other Current Liabilities",
     "role": "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable",
     "shortName": "Accrued Expenses and Other Current Liabilities (Details) - Schedule of Accrued Expenses and Other Current Liabilities",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtInstrumentCollateralAmount",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "041 - Disclosure - Derivative Financial Instruments (Details)",
     "role": "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails",
     "shortName": "Derivative Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCollateralAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "042 - Disclosure - Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments",
     "role": "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable",
     "shortName": "Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "043 - Disclosure - Investments (Details)",
     "role": "http://www.rexamerican.com/role/InvestmentsDetails",
     "shortName": "Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "044 - Disclosure - Investments (Details) - Schedule of Equity Method Investments",
     "role": "http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable",
     "shortName": "Investments (Details) - Schedule of Equity Method Investments",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c85",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "045 - Disclosure - Investments (Details) - Schedule of Financial Information For Equity Method Investment",
     "role": "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable",
     "shortName": "Investments (Details) - Schedule of Financial Information For Equity Method Investment",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c85",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "046 - Disclosure - Employee Benefits (Details)",
     "role": "http://www.rexamerican.com/role/EmployeeBenefitsDetails",
     "shortName": "Employee Benefits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c90",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - Disclosure - Employee Benefits (Details) - Schedule of Non-Vested Restricted Stock Award Activity",
     "role": "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable",
     "shortName": "Employee Benefits (Details) - Schedule of Non-Vested Restricted Stock Award Activity",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "lang": null,
      "name": "rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "048 - Disclosure - Income Taxes (Details)",
     "role": "http://www.rexamerican.com/role/IncomeTaxesDetails",
     "shortName": "Income Taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c94",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartiesAmountInCostOfSales",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals)",
     "role": "http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RelatedPartiesAmountInCostOfSales",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "049 - Disclosure - Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward",
     "role": "http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable",
     "shortName": "Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c95",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "rex:QuantityOfBushelsUnderForwardPurchaseContract",
      "reportCount": 1,
      "unitRef": "bu",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - Disclosure - Commitments and Contingencies (Details)",
     "role": "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails",
     "shortName": "Commitments and Contingencies (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c96",
      "decimals": "-5",
      "lang": null,
      "name": "rex:FeesIncurredBySubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "051 - Disclosure - Related-Party Transactions (Details)",
     "role": "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails",
     "shortName": "Related-Party Transactions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c100",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:CostsAndExpensesRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Segment Reporting (Details)",
     "role": "http://www.rexamerican.com/role/SegmentReportingDetails",
     "shortName": "Segment Reporting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Results And Assets",
     "role": "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable",
     "shortName": "Segment Reporting (Details) - Schedule Of Segment Results And Assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - Disclosure - Segment Reporting (Details) - Schedule Of Segment Assets",
     "role": "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
     "shortName": "Segment Reporting (Details) - Schedule Of Segment Assets",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c143",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Assets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c32",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY",
     "role": "http://www.rexamerican.com/role/ShareholdersEquityType2or3",
     "shortName": "CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c38",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "role": "http://www.rexamerican.com/role/ConsolidatedCashFlow",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DepreciationDepletionAndAmortization",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "007 - Disclosure - Consolidated Condensed Financial Statements",
     "role": "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements",
     "shortName": "Consolidated Condensed Financial Statements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "008 - Disclosure - Accounting Policies",
     "role": "http://www.rexamerican.com/role/AccountingPolicies",
     "shortName": "Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102240_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 39,
   "tag": {
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r441"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r442"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains.",
        "label": "Entity [Domain]"
       }
      }
     },
     "localname": "EntityDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r446"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r444"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_LegalEntityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The set of legal entities associated with a report.",
        "label": "Legal Entity [Axis]"
       }
      }
     },
     "localname": "LegalEntityAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r439"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r440"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021",
     "presentation": [
      "http://www.rexamerican.com/role/DocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "rex_AccountingPoliciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies (Details) [Line Items]"
       }
      }
     },
     "localname": "AccountingPoliciesDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_AccountingPoliciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies (Details) [Table]"
       }
      }
     },
     "localname": "AccountingPoliciesDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_AccruedExpensesRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "AccruedExpensesRelatedParties",
        "terseLabel": "Accrued expenses, related parties"
       }
      }
     },
     "localname": "AccruedExpensesRelatedParties",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract",
        "terseLabel": "Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_BigRiverMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Big River [Member]",
        "label": "BigRiverMember",
        "terseLabel": "Big River [Member]"
       }
      }
     },
     "localname": "BigRiverMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_CARESActNetOperatingLossCarrybackMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CARESActNetOperatingLossCarrybackMember",
        "terseLabel": "CARES Act Net Operating Loss Carryback [Member]"
       }
      }
     },
     "localname": "CARESActNetOperatingLossCarrybackMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_CashFlowsFromInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowsFromInvestingActivitiesAbstract",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "CashFlowsFromInvestingActivitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CashFlowsFromOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowsFromOperatingActivitiesAbstract",
        "terseLabel": "Cash flows from operating activities:"
       }
      }
     },
     "localname": "CashFlowsFromOperatingActivitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_ChangesInAssetsAndLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ChangesInAssetsAndLiabilitiesAbstract",
        "terseLabel": "Changes in assets and liabilities:"
       }
      }
     },
     "localname": "ChangesInAssetsAndLiabilitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CommitmentsandContingenciesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) [Line Items]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CommitmentsandContingenciesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies (Details) [Table]"
       }
      }
     },
     "localname": "CommitmentsandContingenciesDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CommodityFutures": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 5.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "CommodityFutures",
        "terseLabel": "Commodity futures"
       }
      }
     },
     "localname": "CommodityFutures",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_CommodityFuturesQuantity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CommodityFuturesQuantity",
        "terseLabel": "Commodity Futures, Quantity"
       }
      }
     },
     "localname": "CommodityFuturesQuantity",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "volumeItemType"
    },
    "rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Condensed Financial Statements (Details) [Line Items]"
       }
      }
     },
     "localname": "ConsolidatedCondensedFinancialStatementsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_ConsolidatedCondensedFinancialStatementsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Condensed Financial Statements (Details) [Table]"
       }
      }
     },
     "localname": "ConsolidatedCondensedFinancialStatementsDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CornMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CornMember",
        "terseLabel": "Corn [Member]"
       }
      }
     },
     "localname": "CornMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_DerivativeFinancialInstrumentsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments (Details) [Line Items]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments (Details) - Schedule of Fair Values for Derivative Financial Instruments [Table]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DerivativeFinancialInstrumentsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments (Details) [Table]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_DriedDistillersGrainsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dried Distillers Grains [Member]",
        "label": "DriedDistillersGrainsMember",
        "terseLabel": "Dried Distillers Grains [Member]"
       }
      }
     },
     "localname": "DriedDistillersGrainsMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_EmployeeBenefitsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefits (Details) [Line Items]"
       }
      }
     },
     "localname": "EmployeeBenefitsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_EmployeeBenefitsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefits (Details) [Table]"
       }
      }
     },
     "localname": "EmployeeBenefitsDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition",
        "label": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition",
        "terseLabel": "Weighted Average Vesting Term, End of Period"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "durationItemType"
    },
    "rex_EthanolMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ethanol [Member]",
        "label": "EthanolMember",
        "terseLabel": "Ethanol [Member]"
       }
      }
     },
     "localname": "EthanolMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_FeesIncurredBySubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "FeesIncurredBySubsidiary",
        "terseLabel": "Fees Incurred By Subsidiary"
       }
      }
     },
     "localname": "FeesIncurredBySubsidiary",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_FixturesAndEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixtures And Equipment [Member]",
        "label": "FixturesAndEquipmentMember",
        "terseLabel": "Fixtures And Equipment [Member]"
       }
      }
     },
     "localname": "FixturesAndEquipmentMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_ForwardPurchaseContractAsset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "ForwardPurchaseContractAsset",
        "terseLabel": "Forward purchase contracts asset (liabilities)"
       }
      }
     },
     "localname": "ForwardPurchaseContractAsset",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_ForwardPurchaseContractsQuantity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ForwardPurchaseContractsQuantity",
        "terseLabel": "Forward Purchase Contracts, Quantity (in US Bushels)"
       }
      }
     },
     "localname": "ForwardPurchaseContractsQuantity",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "volumeItemType"
    },
    "rex_GainLossOnDerivativeInstrumentsNetSalesAndRevenue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "GainLossOnDerivativeInstrumentsNetSalesAndRevenue",
        "terseLabel": "Gain (Loss) on Derivative Instruments, Net, Sales and Revenue"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetSalesAndRevenue",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_GainOnDisposalOfRealEstateAndPropertyAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net gain (loss) resulting from sales and other disposals of real estate. Also includes, The difference between the sale price or salvage price and the book value of a property, plant, and equipment asset that was sold or retired during the reporting period. This element refers to the gain (loss).",
        "label": "GainOnDisposalOfRealEstateAndPropertyAndEquipment",
        "negatedLabel": "Gain on sale of property and equipment \u2013 net"
       }
      }
     },
     "localname": "GainOnDisposalOfRealEstateAndPropertyAndEquipment",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_IncomeTaxesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_IncomeTaxesDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Table]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_InvestmentInCooperativeFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in cooperative as of the reporting date.",
        "label": "InvestmentInCooperativeFairValueDisclosure",
        "terseLabel": "Investment in cooperative"
       }
      }
     },
     "localname": "InvestmentInCooperativeFairValueDisclosure",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) - Schedule of Financial Information For Equity Method Investment [Line Items]"
       }
      }
     },
     "localname": "InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments (Details) - Schedule of Financial Information For Equity Method Investment [Table]"
       }
      }
     },
     "localname": "InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_LongBuyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LongBuyMember",
        "terseLabel": "Long/Buy [Member]"
       }
      }
     },
     "localname": "LongBuyMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_LongTermLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "LongTermLiabilitiesAbstract",
        "terseLabel": "Long-term liabilities:"
       }
      }
     },
     "localname": "LongTermLiabilitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maximum percentage of equity ownership interest which may be considered for equity method of accounting.",
        "label": "MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting",
        "terseLabel": "Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting"
       }
      }
     },
     "localname": "MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "rex_ModifiedDistillersGrainsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Modified Distillers Grains [Member]",
        "label": "ModifiedDistillersGrainsMember",
        "terseLabel": "Modified Distillers Grains [Member]"
       }
      }
     },
     "localname": "ModifiedDistillersGrainsMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_NonCashFinancingActivitiesEquityAwardsAccrued": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "NonCashFinancingActivitiesEquityAwardsAccrued",
        "terseLabel": "Non cash financing activities \u2013 Stock awards accrued"
       }
      }
     },
     "localname": "NonCashFinancingActivitiesEquityAwardsAccrued",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_NonCashInvestingActivitiesAccruedCapitalExpenditures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "non cash payments to acquire property, plant and equipment",
        "label": "NonCashInvestingActivitiesAccruedCapitalExpenditures",
        "terseLabel": "Non cash investing activities \u2013 Accrued capital expenditures"
       }
      }
     },
     "localname": "NonCashInvestingActivitiesAccruedCapitalExpenditures",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_NonFoodGradeCornOilMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Food Grade Corn Oil [Member]",
        "label": "NonFoodGradeCornOilMember",
        "terseLabel": "Non-Food Grade Corn Oil [Member]"
       }
      }
     },
     "localname": "NonFoodGradeCornOilMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_NumberOfConsolidatedSubsidiaries": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NumberOfConsolidatedSubsidiaries",
        "terseLabel": "Number of Consolidated Subsidiaries"
       }
      }
     },
     "localname": "NumberOfConsolidatedSubsidiaries",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "rex_OneEarthEnergyAndNuGenEnergyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "One Earth Energy And NuGen Energy [Member]",
        "label": "OneEarthEnergyAndNuGenEnergyMember",
        "terseLabel": "One Earth Energy And Nu Gen Energy [Member]"
       }
      }
     },
     "localname": "OneEarthEnergyAndNuGenEnergyMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_OperatingLeaseRightOfUseAssetAmortization": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization of operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAssetAmortization",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_OutboundFreightCharges": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "OutboundFreightCharges",
        "terseLabel": "Outbound Freight Charges"
       }
      }
     },
     "localname": "OutboundFreightCharges",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_PresentValueDiscount": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "PresentValueDiscount",
        "terseLabel": "Less: present value discount"
       }
      }
     },
     "localname": "PresentValueDiscount",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_ProvisionForIncomeTaxesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ProvisionForIncomeTaxesMember",
        "terseLabel": "Provision for Income Taxes [Member]"
       }
      }
     },
     "localname": "ProvisionForIncomeTaxesMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_QuantityOfBushelsUnderForwardPurchaseContract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quantity of bushels under forward purchase contract.",
        "label": "QuantityOfBushelsUnderForwardPurchaseContract",
        "terseLabel": "Quantity of Bushels under Forward Purchase Contract (in US Bushels)"
       }
      }
     },
     "localname": "QuantityOfBushelsUnderForwardPurchaseContract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "volumeItemType"
    },
    "rex_QuantityOfDistillersGrainsUnderSalesCommitment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quantity of distillers grains under sales commitment.",
        "label": "QuantityOfDistillersGrainsUnderSalesCommitment",
        "terseLabel": "Quantity of Distillers Grains Under Sales Commitment (in US Tons)"
       }
      }
     },
     "localname": "QuantityOfDistillersGrainsUnderSalesCommitment",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "massItemType"
    },
    "rex_QuantityOfEthanolUnderSalesCommitment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quantity of ethanol under sales commitment.",
        "label": "QuantityOfEthanolUnderSalesCommitment",
        "terseLabel": "Quantity of Ethanol under Sales Commitment (in US Gallons)"
       }
      }
     },
     "localname": "QuantityOfEthanolUnderSalesCommitment",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "volumeItemType"
    },
    "rex_QuantityOfNaturalGasUnderSalesCommitment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "QuantityOfNaturalGasUnderSalesCommitment",
        "terseLabel": "Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units)"
       }
      }
     },
     "localname": "QuantityOfNaturalGasUnderSalesCommitment",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "energyItemType"
    },
    "rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "QuantityOfNonFoodGradeCornOilUnderSalesCommitments",
        "terseLabel": "Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds)"
       }
      }
     },
     "localname": "QuantityOfNonFoodGradeCornOilUnderSalesCommitments",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "massItemType"
    },
    "rex_RefinedCoalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RefinedCoalMember",
        "terseLabel": "Refined Coal [Member]"
       }
      }
     },
     "localname": "RefinedCoalMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails",
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails",
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_RelatedPartyTransactionsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related-Party Transactions (Details) [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_RelatedPartyTransactionsDetailsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related-Party Transactions (Details) [Table]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_RexShareholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RexShareholdersEquityAbstract",
        "terseLabel": "REX shareholders\u2019 equity:"
       }
      }
     },
     "localname": "RexShareholdersEquityAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_RexShareholdersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "RexShareholdersMember",
        "terseLabel": "Rex Shareholders [Member]"
       }
      }
     },
     "localname": "RexShareholdersMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Accrued Expenses and Other Current Liabilities [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfComponentsOfInventoryAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Components of Inventory [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfInventoryAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfComponentsOfLeaseExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Components of Lease Expense [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfLeaseExpenseAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfEquityMethodInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Equity Method Investments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Fair Values for Derivative Financial Instruments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Financial Information For Equity Method Investment [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial information for equity method investments.",
        "label": "ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock",
        "terseLabel": "Schedule of Financial Information for Equity Method Investments [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Future Minimum Rental Payments for Operating Leases [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Non-Vested Restricted Stock Award Activity [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfNonVestedRestrictedStockAwardActivityAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfPropertyAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Property and Equipment [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfPropertyAndEquipmentAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfSegmentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Segment Assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfSegmentAssetsAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfSegmentResultsAndAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Segment Results And Assets [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfSegmentResultsAndAssetsAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Unrecognized Tax Benefits Roll Forward [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract",
     "nsuri": "http://www.rexamerican.com/20210731",
     "xbrltype": "stringItemType"
    },
    "rex_SegmentReportingTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting (Tables) [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingTablesLineItems",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/SegmentReportingTables"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_SegmentReportingTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting (Tables) [Table]"
       }
      }
     },
     "localname": "SegmentReportingTablesTable",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/SegmentReportingTables"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Weighted Average Grant Date Fair Value of shares in share based compensation arrangement",
        "label": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue",
        "periodEndLabel": "Weighted Average Grant Date Fair Value, End of Period (in Dollars)",
        "periodStartLabel": "Weighted Average Grant Date Fair Value, Beginning of Period (in Dollars)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_ShortSellMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "ShortSellMember",
        "terseLabel": "Short/Sell [Member]"
       }
      }
     },
     "localname": "ShortSellMember",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_StockOptionPlans2015Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "StockOptionPlans2015Member",
        "terseLabel": "Stock Option Plans 2015 [Member]"
       }
      }
     },
     "localname": "StockOptionPlans2015Member",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties",
        "periodEndLabel": "Unrecognized tax benefits, end of period",
        "periodStartLabel": "Unrecognized tax benefits, beginning of period"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties",
     "nsuri": "http://www.rexamerican.com/20210731",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r210",
      "r214",
      "r245",
      "r246",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r426",
      "r427",
      "r437",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r210",
      "r214",
      "r245",
      "r246",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r426",
      "r427",
      "r437",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r210",
      "r214",
      "r235",
      "r245",
      "r246",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r426",
      "r427",
      "r437",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r210",
      "r214",
      "r235",
      "r245",
      "r246",
      "r376",
      "r377",
      "r378",
      "r379",
      "r380",
      "r381",
      "r382",
      "r426",
      "r427",
      "r437",
      "r438"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis": {
     "auth_ref": [
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Name [Axis]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for accounts payable, accrued expenses, and other liabilities that are classified as current at the end of the reporting period.",
        "label": "Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]",
        "terseLabel": "Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]"
       }
      }
     },
     "localname": "AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AccountsPayableRelatedPartiesCurrent": {
     "auth_ref": [
      "r50",
      "r109",
      "r365",
      "r366"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount for accounts payable to related parties. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Related Parties, Current",
        "terseLabel": "Accounts payable, related parties",
        "verboseLabel": "Accounts Payable, Related Parties, Current"
       }
      }
     },
     "localname": "AccountsPayableRelatedPartiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsPayableTradeCurrent": {
     "auth_ref": [
      "r14",
      "r50"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accounts Payable, Trade, Current",
        "terseLabel": "Accounts payable, trade (includes $2.5 million and $0.7 million with related parties at July 31, 2021 and January 31, 2021, respectively)"
       }
      }
     },
     "localname": "AccountsPayableTradeCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableNetCurrent": {
     "auth_ref": [
      "r7",
      "r30",
      "r166",
      "r167"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
        "label": "Accounts Receivable, after Allowance for Credit Loss, Current",
        "terseLabel": "Accounts receivable"
       }
      }
     },
     "localname": "AccountsReceivableNetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent": {
     "auth_ref": [
      "r14",
      "r52",
      "r270"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 4.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable for real and property taxes. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrual for Taxes Other than Income Taxes, Current",
        "terseLabel": "Accrued real estate taxes"
       }
      }
     },
     "localname": "AccrualForTaxesOtherThanIncomeTaxesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedIncomeTaxes": {
     "auth_ref": [
      "r24",
      "r27",
      "r281",
      "r399",
      "r413"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 6.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the unpaid sum of the known and estimated amounts payable to satisfy all domestic and foreign income tax obligations due.  This amount is the total of current and noncurrent accrued income taxes.",
        "label": "Accrued Income Taxes",
        "terseLabel": "Accrued income taxes"
       }
      }
     },
     "localname": "AccruedIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 3.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
        "label": "Accrued transportation related items"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered. Examples include taxes, interest, rent and utilities. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Liabilities, Current",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes": {
     "auth_ref": [
      "r418"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount for commissions, taxes and other expenses that were incurred but unpaid as of the balance sheet date.",
        "label": "Accrued Liabilities for Commissions, Expense and Taxes",
        "terseLabel": "Accrued Liabilities for Commissions, Expense and Taxes"
       }
      }
     },
     "localname": "AccruedLiabilitiesForCommissionsExpenseAndTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedUtilitiesCurrent": {
     "auth_ref": [
      "r13",
      "r14",
      "r52"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 2.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of obligations incurred through that date and payable for utilities, such as electrical power, heating oil, natural gas, and water. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Accrued Utilities, Current",
        "terseLabel": "Accrued utility charges"
       }
      }
     },
     "localname": "AccruedUtilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r48",
      "r187"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less: accumulated depreciation"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalCommonStock": {
     "auth_ref": [
      "r31"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
        "label": "Additional Paid in Capital, Common Stock",
        "terseLabel": "Paid-in capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r112",
      "r113",
      "r114",
      "r263",
      "r264",
      "r265",
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-in Capital [Member]"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllOtherSegmentsMember": {
     "auth_ref": [
      "r130",
      "r148",
      "r149",
      "r150",
      "r151",
      "r153"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating segments classified as other. Excludes intersegment elimination and reconciling items.",
        "label": "Other Segments [Member]",
        "terseLabel": "Other Segments [Member]"
       }
      }
     },
     "localname": "AllOtherSegmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r249",
      "r260",
      "r267"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Stock based compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow",
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r105",
      "r143",
      "r150",
      "r157",
      "r174",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r312",
      "r317",
      "r340",
      "r369",
      "r371",
      "r398",
      "r412"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "terseLabel": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r8",
      "r9",
      "r61",
      "r105",
      "r174",
      "r199",
      "r200",
      "r201",
      "r202",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r312",
      "r317",
      "r340",
      "r369",
      "r371"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer). Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Current",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "AssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets, Current [Abstract]",
        "terseLabel": "Current assets:"
       }
      }
     },
     "localname": "AssetsCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets [Member]",
        "terseLabel": "Assets [Member]"
       }
      }
     },
     "localname": "AssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails",
      "http://www.rexamerican.com/role/SegmentReportingTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r251",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BuildingAndBuildingImprovementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Facility held for productive use including, but not limited to, office, production, storage and distribution facilities and any addition, improvement, or renovation to the structure, for example, but not limited to, interior masonry, interior flooring, electrical, and plumbing.",
        "label": "Building and Building Improvements [Member]",
        "terseLabel": "Building and Building Improvements [Member]"
       }
      }
     },
     "localname": "BuildingAndBuildingImprovementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BuildingsAndImprovementsGross": {
     "auth_ref": [
      "r10",
      "r186"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation of building structures held for productive use including addition, improvement, or renovation to the structure, including, but not limited to, interior masonry, interior flooring, electrical, and plumbing.",
        "label": "Buildings and Improvements, Gross",
        "terseLabel": "Buildings and improvements"
       }
      }
     },
     "localname": "BuildingsAndImprovementsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r5",
      "r44",
      "r96"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r20",
      "r97"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and Cash Equivalents, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r89",
      "r96",
      "r99"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "Cash, cash equivalents and restricted cash, end of period",
        "periodStartLabel": "Cash, cash equivalents and restricted cash, beginning of period"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r89",
      "r341"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "Net increase (decrease) in cash, cash equivalents and restricted cash"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r195",
      "r196",
      "r197",
      "r198",
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingencies Disclosure [Text Block]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommodityContractAssetCurrent": {
     "auth_ref": [
      "r51"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of the asset arising from commodity contracts such as futures contracts tied to the movement of a particular commodity, which are expected to be converted into cash or otherwise disposed of within a year or the normal operating cycle, if longer.",
        "label": "Commodity Contract Asset, Current",
        "terseLabel": "Commodity futures asset"
       }
      }
     },
     "localname": "CommodityContractAssetCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommodityContractMember": {
     "auth_ref": [
      "r236",
      "r327"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument whose primary underlying risk is tied to commodity prices.",
        "label": "Commodity Contract [Member]",
        "terseLabel": "Commodity Contract [Member]"
       }
      }
     },
     "localname": "CommodityContractMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r112",
      "r113",
      "r331"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock [Member]"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r29",
      "r371"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "terseLabel": "Common stock"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndEmployeeBenefitPlansTextBlock": {
     "auth_ref": [
      "r233",
      "r234",
      "r247",
      "r269"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for an entity's employee compensation and benefit plans, including, but not limited to, postemployment and postretirement benefit plans, defined benefit pension plans, defined contribution plans, non-qualified and supplemental benefit plans, deferred compensation, share-based compensation, life insurance, severance, health care, unemployment and other benefit plans.",
        "label": "Compensation and Employee Benefit Plans [Text Block]",
        "terseLabel": "Compensation and Employee Benefit Plans [Text Block]"
       }
      }
     },
     "localname": "CompensationAndEmployeeBenefitPlansTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for comprehensive income.",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "terseLabel": "Comprehensive Income, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock": {
     "auth_ref": [
      "r2",
      "r110",
      "r308"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.",
        "label": "Condensed Financial Information of Parent Company Only Disclosure [Text Block]",
        "terseLabel": "Condensed Financial Information of Parent Company Only Disclosure [Text Block]"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionInProgressGross": {
     "auth_ref": [
      "r186"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": 4.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress, Gross",
        "terseLabel": "Construction in progress"
       }
      }
     },
     "localname": "ConstructionInProgressGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ContractWithCustomerDurationAxis": {
     "auth_ref": [
      "r228",
      "r230"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by duration of contract with customer. Includes, but is not limited to, short-term and long-term contracts.",
        "label": "Contract with Customer, Duration [Axis]"
       }
      }
     },
     "localname": "ContractWithCustomerDurationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ContractWithCustomerDurationDomain": {
     "auth_ref": [
      "r228",
      "r230"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Duration of contract with customer. Includes, but is not limited to, short-term and long-term contracts.",
        "label": "Contract with Customer, Duration [Domain]"
       }
      }
     },
     "localname": "ContractWithCustomerDurationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateAndOtherMember": {
     "auth_ref": [
      "r130"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Component of an entity that provides financial and operational oversight and administrative support for other segments and other segments not separately reported due to size or nature of business activities. Excludes intersegment elimination and reconciling items.",
        "label": "Corporate and Other [Member]",
        "terseLabel": "Corporate and Other [Member]"
       }
      }
     },
     "localname": "CorporateAndOtherMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r77",
      "r384"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period. This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
        "label": "Cost of Goods and Services Sold",
        "terseLabel": "Cost of sales (includes $20,650 and $4,887 with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $37,383 and $17,159 with related parties for the six months ended July 31, 2021 and 2020, respectively)"
       }
      }
     },
     "localname": "CostOfGoodsAndServicesSold",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CostOfSalesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing cost of sales.",
        "label": "Cost of Sales [Member]",
        "terseLabel": "Cost of Sales [Member]"
       }
      }
     },
     "localname": "CostOfSalesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CostOfSalesPolicyTextBlock": {
     "auth_ref": [
      "r232"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cost of product sold and service rendered.",
        "label": "Cost of Goods and Service [Policy Text Block]",
        "terseLabel": "Cost of Goods and Service [Policy Text Block]"
       }
      }
     },
     "localname": "CostOfSalesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CostsAndExpensesRelatedParty": {
     "auth_ref": [
      "r78"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Costs of sales and operating expenses for the period incurred from transactions with related parties.",
        "label": "Costs and Expenses, Related Party",
        "terseLabel": "Costs and Expenses, Related Party"
       }
      }
     },
     "localname": "CostsAndExpensesRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "auth_ref": [
      "r410"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets pledged to secure a debt instrument.",
        "label": "Debt Instrument, Collateral Amount",
        "terseLabel": "Debt Instrument, Collateral Amount"
       }
      }
     },
     "localname": "DebtInstrumentCollateralAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield": {
     "auth_ref": [
      "r443",
      "r445"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average yield of investment in debt security measured at amortized cost (held-to-maturity) maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One",
        "terseLabel": "Debt Securities, Held-to-Maturity, Weighted Average Yield, Maturity, Year One"
       }
      }
     },
     "localname": "DebtSecuritiesHeldToMaturityMaturityWithinOneYearWeightedAverageYield",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/InvestmentsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r94",
      "r106",
      "r291",
      "r299",
      "r300",
      "r301"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred income tax"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesNoncurrent": {
     "auth_ref": [
      "r275",
      "r276",
      "r277"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences, with jurisdictional netting and classified as noncurrent.",
        "label": "Deferred Tax Liabilities, Net, Noncurrent",
        "terseLabel": "Deferred taxes"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepreciationDepletionAndAmortization": {
     "auth_ref": [
      "r94",
      "r138"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
        "label": "Depreciation, Depletion and Amortization",
        "terseLabel": "Depreciation"
       }
      }
     },
     "localname": "DepreciationDepletionAndAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r62",
      "r63",
      "r64",
      "r339"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Asset Derivatives, Fair Value"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails",
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFinancialInstrumentsAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents types of derivative financial instruments which are financial instruments or other contractual arrangements with all three of the following characteristics: (a) it has (1) one or more underlyings and (2) one or more notional amounts or payment provisions or both. Those terms determine the amount of the settlement or settlements, and, in some cases, whether or not a settlement is required; (b) it requires no initial net investment or an initial net investment that is smaller than would be required for other types of contracts that would be expected to have a similar response to changes in market factors; and (c) its terms require or permit net settlement, it can readily be settled net by a means outside the contract, or it provides for delivery of an asset that puts the recipient in a position not substantially different from net settlement. Notwithstanding the above characteristics, loan commitments that relate to the origination of mortgage loans that will be held for sale are accounted for as derivative instruments by the issuer of the loan commitment (that is, the potential lender).",
        "label": "Derivative Financial Instruments, Assets [Member]",
        "terseLabel": "Derivative Financial Instruments, Assets [Member]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsAssetsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r64",
      "r322",
      "r323",
      "r325",
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails",
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r330",
      "r333"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Instruments and Hedging Activities Disclosure [Text Block]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r62",
      "r63",
      "r64",
      "r339"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "terseLabel": "Liability Derivatives, Fair Value"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisclosureTextBlockAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Text Block [Abstract]"
       }
      }
     },
     "localname": "DisclosureTextBlockAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureTextBlockSupplementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Text Block Supplement [Abstract]"
       }
      }
     },
     "localname": "DisclosureTextBlockSupplementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r126"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income or loss for the period per each share in instances when basic and diluted earnings per share are the same amount and reported as a single line item on the face of the financial statements.  Basic earnings per share is the amount of net income or loss for the period per each share of common stock or unit outstanding during the reporting period.  Diluted earnings per share includes the amount of net income or loss for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic and Diluted",
        "terseLabel": "Basic and diluted net income (loss) per share attributable to REX common shareholders (in Dollars per share)"
       }
      }
     },
     "localname": "EarningsPerShareBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EmployeeRelatedLiabilitiesCurrent": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 1.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits. Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
        "label": "Employee-related Liabilities, Current",
        "terseLabel": "Accrued payroll and related items"
       }
      }
     },
     "localname": "EmployeeRelatedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r261"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount (in Dollars)"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Weighted Average Vesting Term, Beginning of Period"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [
      "r259"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-based Payment Arrangement, Option [Member]",
        "terseLabel": "Share-based Payment Arrangement, Option [Member]"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]",
        "terseLabel": "Equity:"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r0",
      "r68",
      "r69",
      "r70",
      "r112",
      "r113",
      "r114",
      "r116",
      "r121",
      "r123",
      "r129",
      "r178",
      "r215",
      "r216",
      "r263",
      "r264",
      "r265",
      "r295",
      "r296",
      "r331",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r428",
      "r429",
      "r430",
      "r447"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquityMethodInvestmentDividendsOrDistributions": {
     "auth_ref": [
      "r73",
      "r88",
      "r94",
      "r420"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of distribution received from equity method investee for return on investment, classified as operating activities. Excludes distribution for return of investment, classified as investing activities.",
        "label": "Proceeds from Equity Method Investment, Distribution",
        "terseLabel": "Dividends received from equity method investee",
        "verboseLabel": "Proceeds from Equity Method Investment, Distribution"
       }
      }
     },
     "localname": "EquityMethodInvestmentDividendsOrDistributions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow",
      "http://www.rexamerican.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentOwnershipPercentage": {
     "auth_ref": [
      "r172"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of ownership of common stock or equity participation in the investee accounted for under the equity method of accounting.",
        "label": "Equity Method Investment, Ownership Percentage",
        "terseLabel": "Big River"
       }
      }
     },
     "localname": "EquityMethodInvestmentOwnershipPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EquityMethodInvestments": {
     "auth_ref": [
      "r45",
      "r144",
      "r171"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This item represents the carrying amount on the entity's balance sheet of its investment in common stock of an equity method investee. This is not an indicator of the fair value of the investment, rather it is the initial cost adjusted for the entity's share of earnings and losses of the investee, adjusted for any distributions (dividends) and other than temporary impairment (OTTI) losses recognized.",
        "label": "Equity Method Investments",
        "terseLabel": "Equity method investment",
        "verboseLabel": "Big River"
       }
      }
     },
     "localname": "EquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityMethodInvestmentsTextBlock": {
     "auth_ref": [
      "r175"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of equity method investments including, but not limited to, name of each investee or group of investments, percentage ownership, difference between recorded amount of an investment and the value of the underlying equity in the net assets, and summarized financial information.",
        "label": "Equity Method Investments [Table Text Block]",
        "terseLabel": "Equity Method Investments [Table Text Block]"
       }
      }
     },
     "localname": "EquityMethodInvestmentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/InvestmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities": {
     "auth_ref": [
      "r268"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from realized tax benefit related to deductible compensation cost reported on the entity's tax return for equity instruments in excess of the compensation cost for those instruments recognized for financial reporting purposes.",
        "label": "Excess Tax Benefit from Share-based Compensation, Financing Activities",
        "terseLabel": "Non cash financing activities \u2013 Stock awards issued"
       }
      }
     },
     "localname": "ExcessTaxBenefitFromShareBasedCompensationFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r211",
      "r212",
      "r213",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r244",
      "r335",
      "r373",
      "r374",
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r336"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Disclosures [Text Block]"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/FairValue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r211",
      "r236",
      "r237",
      "r242",
      "r244",
      "r335",
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Fair Value, Inputs, Level 1 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r211",
      "r212",
      "r213",
      "r236",
      "r237",
      "r242",
      "r244",
      "r335",
      "r374"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Fair Value, Inputs, Level 2 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r211",
      "r212",
      "r213",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r244",
      "r335",
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Fair Value, Inputs, Level 3 [Member]"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r211",
      "r212",
      "r213",
      "r236",
      "r237",
      "r238",
      "r239",
      "r240",
      "r241",
      "r242",
      "r244",
      "r373",
      "r374",
      "r375"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueOfFinancialInstrumentsPolicy": {
     "auth_ref": [
      "r337",
      "r338"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for determining the fair value of financial instruments.",
        "label": "Fair Value of Financial Instruments, Policy [Policy Text Block]",
        "terseLabel": "Fair Value of Financial Instruments, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "FairValueOfFinancialInstrumentsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue": {
     "auth_ref": [
      "r324"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value as of the balance sheet date of firm holdings in all assets resulting from contracts that meet the criteria of being accounted for as derivative instruments. Their value is derived from the values of one or more underlying assets, reference rates, or indices of asset values. Includes both pledged (to counterparties as collateral for financing transactions) and unpledged holdings.",
        "label": "Financial Instruments, Owned, Derivatives and Other Contractual Agreements, at Fair Value",
        "terseLabel": "Commodity futures liability"
       }
      }
     },
     "localname": "FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancialLiabilitiesFairValueDisclosure": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial obligations, including, but not limited to, debt instruments, derivative liabilities, federal funds purchased and sold under agreements to repurchase, securities loaned or sold under agreements to repurchase, financial instruments sold not yet purchased, guarantees, line of credit, loans and notes payable, servicing liability, and trading liabilities.",
        "label": "Financial Liabilities Fair Value Disclosure",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "FinancialLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForwardContractsMember": {
     "auth_ref": [
      "r326"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contracts negotiated between two parties to purchase and sell a specific quantity of a financial instrument, foreign currency, or commodity at a price specified at origination of the contract, with delivery and settlement at a specified future date.",
        "label": "Forward Contracts [Member]",
        "terseLabel": "Forward Contracts [Member]"
       }
      }
     },
     "localname": "ForwardContractsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_GainLossOnDerivativeInstrumentsNetPretax": {
     "auth_ref": [
      "r322"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate net gain (loss) on all derivative instruments recognized in earnings during the period, before tax effects.",
        "label": "Gain (Loss) on Derivative Instruments, Net, Pretax",
        "terseLabel": "Gain (Loss) on Derivative Instruments, Net, Pretax"
       }
      }
     },
     "localname": "GainLossOnDerivativeInstrumentsNetPretax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r76",
      "r105",
      "r143",
      "r149",
      "r153",
      "r156",
      "r159",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r340"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
        "label": "Gross Profit",
        "terseLabel": "Gross profit (loss)",
        "totalLabel": "Gross profit (loss)",
        "verboseLabel": "Segment gross (loss) profit:"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable",
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r72",
      "r143",
      "r149",
      "r153",
      "r156",
      "r159",
      "r397",
      "r406",
      "r408",
      "r423"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "terseLabel": "(Loss) income before income taxes:",
        "totalLabel": "Income (loss) before income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r105",
      "r115",
      "r143",
      "r149",
      "r153",
      "r156",
      "r159",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r311",
      "r332",
      "r340"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from continuing operations including portion attributable to the noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Income (loss) from continuing operations"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r73",
      "r94",
      "r140",
      "r171",
      "r405",
      "r420"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income (loss) for proportionate share of equity method investee's income (loss).",
        "label": "Income (Loss) from Equity Method Investments",
        "negatedLabel": "(Income) loss from equity method investments",
        "terseLabel": "Equity in income (loss) of unconsolidated affiliates"
       }
      }
     },
     "localname": "IncomeLossFromEquityMethodInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow",
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r189",
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r107",
      "r279",
      "r286",
      "r289",
      "r297",
      "r302",
      "r304",
      "r305",
      "r306"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Tax Disclosure [Text Block]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued": {
     "auth_ref": [
      "r280"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations.",
        "label": "Income Tax Examination, Penalties and Interest Accrued",
        "terseLabel": "Income Tax Examination, Penalties and Interest Accrued"
       }
      }
     },
     "localname": "IncomeTaxExaminationPenaltiesAndInterestAccrued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r108",
      "r122",
      "r123",
      "r141",
      "r278",
      "r298",
      "r303",
      "r424"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_ProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "negatedLabel": "Benefit for income taxes",
        "negatedTerseLabel": "Benefit (provision) for income taxes:",
        "terseLabel": "Income Tax Expense (Benefit)"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/IncomeTaxesDetails",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability": {
     "auth_ref": [
      "r292"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income tax expense (benefit) from continuing operations attributable to an adjustment of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity.",
        "label": "Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability",
        "terseLabel": "Income Tax Expense (Benefit), Continuing Operations, Adjustment of Deferred Tax (Asset) Liability"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r67",
      "r273",
      "r274",
      "r286",
      "r287",
      "r288",
      "r293"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income Tax, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaid": {
     "auth_ref": [
      "r91",
      "r98"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income.",
        "label": "Income Taxes Paid",
        "terseLabel": "Income Taxes Paid"
       }
      }
     },
     "localname": "IncomeTaxesPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesReceivable": {
     "auth_ref": [
      "r57",
      "r404",
      "r419"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount due within one year of the balance sheet date (or one operating cycle, if longer) from tax authorities as of the balance sheet date representing refunds of overpayments or recoveries based on agreed-upon resolutions of disputes.",
        "label": "Income Taxes Receivable, Current",
        "terseLabel": "Refundable income taxes"
       }
      }
     },
     "localname": "IncomeTaxesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsPayableTrade": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Change in recurring obligations of a business that arise from the acquisition of merchandise, materials, supplies and services used in the production and sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Payable, Trade",
        "terseLabel": "Accounts payable, trade"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsPayableTrade",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInAccountsReceivable": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
        "label": "Increase (Decrease) in Accounts Receivable",
        "negatedLabel": "Accounts receivable"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccountsReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInIncomeTaxesReceivable": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in income taxes receivable, which represents the amount due from tax authorities for refunds of overpayments or recoveries of income taxes paid.",
        "label": "Increase (Decrease) in Income Taxes Receivable",
        "negatedLabel": "Refundable income taxes"
       }
      }
     },
     "localname": "IncreaseDecreaseInIncomeTaxesReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInInventories": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
        "label": "Increase (Decrease) in Inventories",
        "negatedLabel": "Inventories"
       }
      }
     },
     "localname": "IncreaseDecreaseInInventories",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingLiabilities": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
        "label": "Increase (Decrease) in Prepaid Expense and Other Assets",
        "negatedLabel": "Other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndOtherIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 3.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest income and other income recognized during the period. Included in this element is interest derived from investments in debt securities, cash and cash equivalents, and other investments which reflect the time value of money or transactions in which the payments are for the use or forbearance of money and other income from ancillary business-related activities (that is, excluding major activities considered part of the normal operations of the business).",
        "label": "Interest and Other Income",
        "terseLabel": "Interest and other income, net"
       }
      }
     },
     "localname": "InterestAndOtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryFinishedGoodsNetOfReserves": {
     "auth_ref": [
      "r36",
      "r182"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable": {
       "order": 1.0,
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of merchandise or goods held by the company that are readily available for sale.",
        "label": "Ethanol and other finished goods"
       }
      }
     },
     "localname": "InventoryFinishedGoodsNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryNet": {
     "auth_ref": [
      "r6",
      "r59",
      "r371"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 5.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
        "label": "Inventory, Net",
        "terseLabel": "Inventory",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InventoryNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryPolicyTextBlock": {
     "auth_ref": [
      "r16",
      "r60",
      "r101",
      "r128",
      "r179",
      "r181",
      "r183",
      "r383"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of inventory accounting policy for inventory classes, including, but not limited to, basis for determining inventory amounts, methods by which amounts are added and removed from inventory classes, loss recognition on impairment of inventories, and situations in which inventories are stated above cost.",
        "label": "Inventory, Policy [Policy Text Block]",
        "terseLabel": "Inventory, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "InventoryPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InventoryRawMaterialsNetOfReserves": {
     "auth_ref": [
      "r38",
      "r182"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable": {
       "order": 3.0,
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of valuation reserves and adjustments, as of the balance sheet date of unprocessed items to be consumed in the manufacturing or production process.",
        "label": "Grain and other raw materials"
       }
      }
     },
     "localname": "InventoryRawMaterialsNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryWorkInProcessNetOfReserves": {
     "auth_ref": [
      "r37",
      "r182"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable": {
       "order": 2.0,
       "parentTag": "us-gaap_InventoryNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount, net of reserves and adjustments, as of the balance sheet date of merchandise or goods which are partially completed. This inventory is generally comprised of raw materials, labor and factory overhead costs, which require further materials, labor and overhead to be converted into finished goods, and which generally require the use of estimates to determine percentage complete and pricing.",
        "label": "Work in process"
       }
      }
     },
     "localname": "InventoryWorkInProcessNetOfReserves",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InventoryWriteDown": {
     "auth_ref": [
      "r180"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels.",
        "label": "Inventory Write-down",
        "terseLabel": "Inventory Write-down"
       }
      }
     },
     "localname": "InventoryWriteDown",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r173",
      "r422"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Investment, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTextBlock": {
     "auth_ref": [
      "r169",
      "r170",
      "r176",
      "r177"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for investment.",
        "label": "Investment [Text Block]",
        "terseLabel": "Investment [Text Block]"
       }
      }
     },
     "localname": "InvestmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/Investments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LandAndLandImprovements": {
     "auth_ref": [
      "r11",
      "r21"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated deprecation and depletion of real estate held for productive use and additions or improvements to real estate held for productive use, examples include, but are not limited to, walkways, driveways, fences, and parking lots. Excludes land held for sale.",
        "label": "Land and Land Improvements",
        "terseLabel": "Land and improvements"
       }
      }
     },
     "localname": "LandAndLandImprovements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r359",
      "r360"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease, Cost",
        "totalLabel": "Total lease expense"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r359"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Lease, Cost [Table Text Block]"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/LeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeasesOfLesseeDisclosureTextBlock": {
     "auth_ref": [
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for lessee entity's leasing arrangements including, but not limited to, all of the following: (a.) The basis on which contingent rental payments are determined, (b.) The existence and terms of renewal or purchase options and escalation clauses, (c.) Restrictions imposed by lease agreements, such as those concerning dividends, additional debt, and further leasing.",
        "label": "Leases of Lessee Disclosure [Text Block]",
        "terseLabel": "Leases of Lessee Disclosure [Text Block]"
       }
      }
     },
     "localname": "LeasesOfLesseeDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/Leases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r35",
      "r105",
      "r174",
      "r340",
      "r371",
      "r401",
      "r416"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrent": {
     "auth_ref": [
      "r53",
      "r105",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r313",
      "r317",
      "r318",
      "r340",
      "r369",
      "r370",
      "r371"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
        "label": "Liabilities, Current",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesCurrentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities, Current [Abstract]",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "LiabilitiesCurrentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesNoncurrent": {
     "auth_ref": [
      "r17",
      "r18",
      "r19",
      "r25",
      "r26",
      "r105",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r313",
      "r317",
      "r318",
      "r340",
      "r369",
      "r370"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of obligation due after one year or beyond the normal operating cycle, if longer.",
        "label": "Liabilities, Noncurrent",
        "totalLabel": "Total long-term liabilities"
       }
      }
     },
     "localname": "LiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liability [Member]",
        "terseLabel": "Liability [Member]"
       }
      }
     },
     "localname": "LiabilityMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MachineryAndEquipmentGross": {
     "auth_ref": [
      "r10",
      "r186"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": 3.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation of tangible personal property used to produce goods and services, including, but is not limited to, tools, dies and molds, computer and office equipment.",
        "label": "Machinery and Equipment, Gross",
        "terseLabel": "Machinery, equipment and fixtures"
       }
      }
     },
     "localname": "MachineryAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MajorityOwnedSubsidiaryUnconsolidatedMember": {
     "auth_ref": [
      "r307"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Company in which the parent entity has a financial interest through direct or indirect ownership of more than 50 percent of the voting interest in an entity but does not have control and therefore does not consolidate.",
        "label": "Majority-Owned Subsidiary, Unconsolidated [Member]",
        "terseLabel": "Majority-Owned Subsidiary, Unconsolidated [Member]"
       }
      }
     },
     "localname": "MajorityOwnedSubsidiaryUnconsolidatedMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MinorityInterest": {
     "auth_ref": [
      "r58",
      "r105",
      "r174",
      "r199",
      "r203",
      "r204",
      "r205",
      "r208",
      "r209",
      "r340",
      "r400",
      "r415"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which is directly or indirectly attributable to that ownership interest in subsidiary equity which is not attributable to the parent (that is, noncontrolling interest, previously referred to as minority interest).",
        "label": "Stockholders' Equity Attributable to Noncontrolling Interest",
        "terseLabel": "Noncontrolling interests"
       }
      }
     },
     "localname": "MinorityInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders": {
     "auth_ref": [
      "r216"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Decrease in noncontrolling interest balance from payment of dividends or other distributions by the non-wholly owned subsidiary or partially owned entity, included in the consolidation of the parent entity, to the noncontrolling interest holders.",
        "label": "Noncontrolling Interest, Decrease from Distributions to Noncontrolling Interest Holders",
        "negatedLabel": "Noncontrolling interests distribution and other"
       }
      }
     },
     "localname": "MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "terseLabel": "Net cash used in financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r89"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash provided by (used in) investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r89",
      "r92",
      "r95"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by (used in) operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r4",
      "r65",
      "r66",
      "r70",
      "r75",
      "r95",
      "r105",
      "r115",
      "r117",
      "r118",
      "r119",
      "r120",
      "r122",
      "r123",
      "r125",
      "r143",
      "r149",
      "r153",
      "r156",
      "r159",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r332",
      "r340",
      "r407",
      "r421"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income (loss)",
        "totalLabel": "Net income (loss) attributable to REX common shareholders"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r65",
      "r66",
      "r70",
      "r122",
      "r123",
      "r315",
      "r320"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Net Income (Loss) attributable to noncontrolling interest.",
        "label": "Net Income (Loss) Attributable to Noncontrolling Interest",
        "negatedLabel": "Net (income) loss attributable to noncontrolling interests"
       }
      }
     },
     "localname": "NetIncomeLossAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic": {
     "auth_ref": [
      "r124",
      "r127"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) from continuing operations available to common shareholders.",
        "label": "Net Income (Loss) from Continuing Operations Available to Common Shareholders, Basic",
        "terseLabel": "Segment (loss) profit (net of noncontrolling interests):"
       }
      }
     },
     "localname": "NetIncomeLossFromContinuingOperationsAvailableToCommonShareholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "New Accounting Pronouncements, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncontrollingInterestMember": {
     "auth_ref": [
      "r112",
      "r113",
      "r114",
      "r216",
      "r309"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents that portion of equity (net assets) in a subsidiary not attributable, directly or indirectly, to the parent. A noncontrolling interest is sometimes called a minority interest.",
        "label": "Noncontrolling Interest [Member]",
        "terseLabel": "Noncontrolling Interest [Member]"
       }
      }
     },
     "localname": "NoncontrollingInterestMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock": {
     "auth_ref": [
      "r254"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the changes in outstanding nonvested restricted stock shares.",
        "label": "Nonvested Restricted Stock Shares Activity [Table Text Block]",
        "terseLabel": "Nonvested Restricted Stock Shares Activity [Table Text Block]"
       }
      }
     },
     "localname": "NonvestedRestrictedStockSharesActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NumberOfOperatingSegments": {
     "auth_ref": [
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of operating segments. An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available. An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
        "label": "Number of Operating Segments",
        "terseLabel": "Number of Operating Segments"
       }
      }
     },
     "localname": "NumberOfOperatingSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of Reportable Segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/SegmentReportingDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingLeaseExpense": {
     "auth_ref": [
      "r354"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable": {
       "order": 1.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating lease expense. Excludes sublease income.",
        "label": "Operating Lease, Expense",
        "terseLabel": "Operating lease expense"
       }
      }
     },
     "localname": "OperatingLeaseExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r353"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "totalLabel": "Operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r353"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Current operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityNoncurrent": {
     "auth_ref": [
      "r353"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
        "label": "Long-term operating lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r352"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating lease right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r358",
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Operating Lease, Weighted Average Discount Rate, Percent"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/LeasesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r357",
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Operating Lease, Weighted Average Remaining Lease Term"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/LeasesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDue": {
     "auth_ref": [
      "r348",
      "r349"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingLeaseLiability",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year.",
        "label": "Operating Leases, Future Minimum Payments Due",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent": {
     "auth_ref": [
      "r348",
      "r349"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 1.0,
       "parentTag": "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments Due, Next Twelve Months",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears": {
     "auth_ref": [
      "r348",
      "r349"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 5.0,
       "parentTag": "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Five Years",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInFiveYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears": {
     "auth_ref": [
      "r348",
      "r349"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 4.0,
       "parentTag": "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Four Years",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInFourYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears": {
     "auth_ref": [
      "r348",
      "r349"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 3.0,
       "parentTag": "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Three Years",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInThreeYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears": {
     "auth_ref": [
      "r348",
      "r349"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable": {
       "order": 2.0,
       "parentTag": "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
        "label": "Operating Leases, Future Minimum Payments, Due in Two Years",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueInTwoYears",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAccruedLiabilitiesCurrent": {
     "auth_ref": [
      "r13",
      "r14",
      "r15",
      "r52"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable": {
       "order": 7.0,
       "parentTag": "us-gaap_AccruedLiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Accrued Liabilities, Current",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "OtherAccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherAssetsNoncurrent": {
     "auth_ref": [
      "r49"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncurrent assets classified as other.",
        "label": "Other Assets, Noncurrent",
        "terseLabel": "Deferred taxes and other assets"
       }
      }
     },
     "localname": "OtherAssetsNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesCurrent": {
     "auth_ref": [
      "r12",
      "r13",
      "r52",
      "r371"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesCurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due within one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Current",
        "terseLabel": "Accrued expenses and other current liabilities (includes $0.1 million with related parties at July 31, 2021 and January 31, 2021)"
       }
      }
     },
     "localname": "OtherLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesNoncurrent": {
     "auth_ref": [
      "r54"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesNoncurrent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
        "label": "Other Liabilities, Noncurrent",
        "terseLabel": "Other long-term liabilities"
       }
      }
     },
     "localname": "OtherLiabilitiesNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromOtherInvestingActivities": {
     "auth_ref": [
      "r81",
      "r83"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash (inflow) outflow from investing activities classified as other.",
        "label": "Payments for (Proceeds from) Other Investing Activities",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "PaymentsForProceedsFromOtherInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r85"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Treasury stock acquired"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r82"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Capital expenditures"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireShortTermInvestments": {
     "auth_ref": [
      "r83"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for securities or other assets acquired, which qualify for treatment as an investing activity and are to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.",
        "label": "Payments to Acquire Short-term Investments",
        "negatedLabel": "Purchase of short-term investments"
       }
      }
     },
     "localname": "PaymentsToAcquireShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r251",
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrepaidExpenseAndOtherAssetsCurrent": {
     "auth_ref": [
      "r8",
      "r42",
      "r43"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 7.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
        "label": "Prepaid Expense and Other Assets, Current",
        "terseLabel": "Prepaid expenses and other"
       }
      }
     },
     "localname": "PrepaidExpenseAndOtherAssetsCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromContributionsFromAffiliates": {
     "auth_ref": [
      "r84"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from an entity that is affiliated with the entity by means of direct or indirect ownership.",
        "label": "Proceeds from Contributions from Affiliates",
        "terseLabel": "Capital contributions",
        "verboseLabel": "Capital contributions from minority investor"
       }
      }
     },
     "localname": "ProceedsFromContributionsFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow",
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIncomeTaxRefunds": {
     "auth_ref": [
      "r92",
      "r98"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash received during the period as refunds for the overpayment of taxes.",
        "label": "Proceeds from Income Tax Refunds",
        "terseLabel": "Proceeds from Income Tax Refunds"
       }
      }
     },
     "localname": "ProceedsFromIncomeTaxRefunds",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromInterestAndDividendsReceived": {
     "auth_ref": [
      "r86",
      "r90"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash received for dividends and interest on the entity's equity and debt investments during the current period.",
        "label": "Proceeds from Interest and Dividends Received",
        "negatedLabel": "Interest income from investments"
       }
      }
     },
     "localname": "ProceedsFromInterestAndDividendsReceived",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsToMinorityShareholders": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from (to) a noncontrolling interest. Excludes dividends paid to the noncontrolling interest.",
        "label": "Proceeds from (Payments to) Noncontrolling Interests",
        "terseLabel": "Payments to noncontrolling interests holders"
       }
      }
     },
     "localname": "ProceedsFromPaymentsToMinorityShareholders",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r80"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "terseLabel": "Proceeds from sale of real estate and property and equipment"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfShortTermInvestments": {
     "auth_ref": [
      "r81"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from sales of all investments, including securities and other assets, having ready marketability and intended by management to be liquidated, if necessary, within the current operating cycle. Includes cash flows from securities classified as trading securities that were acquired for reasons other than sale in the short-term.",
        "label": "Proceeds from Sale of Short-term Investments",
        "terseLabel": "Sale of short-term investments"
       }
      }
     },
     "localname": "ProceedsFromSaleOfShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProfitLoss": {
     "auth_ref": [
      "r4",
      "r65",
      "r66",
      "r70",
      "r87",
      "r105",
      "r115",
      "r122",
      "r123",
      "r143",
      "r149",
      "r153",
      "r156",
      "r159",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r311",
      "r314",
      "r316",
      "r320",
      "r321",
      "r332",
      "r340",
      "r408"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
        "label": "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net (loss) income",
        "totalLabel": "Net income (loss)",
        "verboseLabel": "Net income (loss) including noncontrolling interests"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow",
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r48",
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r191",
      "r434",
      "r435",
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Property, Plant and Equipment Disclosure [Text Block]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/PropertyandEquipment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives": {
     "auth_ref": [
      "r185"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Describes the periods of time over which an entity anticipates to receive utility from its property, plant and equipment (that is, the periods of time over which an entity allocates the initial cost of its property, plant and equipment).",
        "label": "Property, Plant and Equipment, Estimated Useful Lives",
        "terseLabel": "Property, Plant and Equipment, Estimated Useful Lives"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentEstimatedUsefulLives",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r47",
      "r186"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "totalLabel": ""
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r21",
      "r22",
      "r188",
      "r371",
      "r409",
      "r417"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Net",
        "terseLabel": "Property and equipment, net",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r46",
      "r188",
      "r434",
      "r435"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Property, Plant and Equipment, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r21",
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Property, Plant and Equipment [Table Text Block]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/PropertyandEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r21",
      "r186"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartiesAmountInCostOfSales": {
     "auth_ref": [
      "r74"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount included in cost of sales related to transactions with related parties incurred and recorded in the statement of operations for the period.",
        "label": "Related Parties Amount in Cost of Sales",
        "terseLabel": "Cost of sales, related parties"
       }
      }
     },
     "localname": "RelatedPartiesAmountInCostOfSales",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyDomain": {
     "auth_ref": [
      "r243",
      "r363",
      "r364"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Domain]"
       }
      }
     },
     "localname": "RelatedPartyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of selling, general and administrative expenses resulting from transactions, excluding transactions that are eliminated in consolidated or combined financial statements, with related party.",
        "label": "Related Party Transaction, Selling, General and Administrative Expenses from Transactions with Related Party",
        "terseLabel": "Selling, general and administrative expenses, related parties"
       }
      }
     },
     "localname": "RelatedPartyTransactionSellingGeneralAndAdministrativeExpensesFromTransactionsWithRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis": {
     "auth_ref": [
      "r243",
      "r363",
      "r366",
      "r385",
      "r386",
      "r387",
      "r388",
      "r389",
      "r390",
      "r391",
      "r392",
      "r393",
      "r394",
      "r395",
      "r396"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of related party. Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families. It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
        "label": "Related Party [Axis]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsByRelatedPartyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r361",
      "r362",
      "r364",
      "r367",
      "r368"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Transactions Disclosure [Text Block]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/RelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RestrictedCashCurrent": {
     "auth_ref": [
      "r5",
      "r20",
      "r99"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash restricted as to withdrawal or usage, classified as current. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
        "label": "Restricted Cash, Current",
        "terseLabel": "Restricted cash"
       }
      }
     },
     "localname": "RestrictedCashCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r32",
      "r216",
      "r266",
      "r371",
      "r414",
      "r431",
      "r432"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r0",
      "r112",
      "r113",
      "r114",
      "r116",
      "r121",
      "r123",
      "r178",
      "r263",
      "r264",
      "r265",
      "r295",
      "r296",
      "r331",
      "r428",
      "r430"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings [Member]"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsUndistributedEarningsFromEquityMethodInvestees": {
     "auth_ref": [
      "r104",
      "r372"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of consolidated retained earnings that represent undistributed (not yet received) earnings from 50% or less owned persons accounted for by the equity method (equity method investees).",
        "label": "Retained Earnings, Undistributed Earnings from Equity Method Investees",
        "terseLabel": "Retained Earnings, Undistributed Earnings from Equity Method Investees"
       }
      }
     },
     "localname": "RetainedEarningsUndistributedEarningsFromEquityMethodInvestees",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from Contract with Customer [Abstract]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax": {
     "auth_ref": [
      "r134",
      "r135",
      "r148",
      "r154",
      "r155",
      "r161",
      "r162",
      "r164",
      "r227",
      "r228",
      "r384"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
        "label": "Revenue from Contract with Customer, Excluding Assessed Tax",
        "terseLabel": "Sales of products, ethanol and by-products segment:"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerExcludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r134",
      "r135",
      "r148",
      "r154",
      "r155",
      "r161",
      "r162",
      "r164",
      "r227",
      "r228",
      "r384"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, including tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer. Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value-added and excise.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "terseLabel": "Net sales and revenue:"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerTextBlock": {
     "auth_ref": [
      "r219",
      "r220",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r229",
      "r231"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts.",
        "label": "Revenue from Contract with Customer [Text Block]",
        "terseLabel": "Revenue from Contract with Customer [Text Block]"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/NetSalesandRevenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RevenueRecognitionPolicyTextBlock": {
     "auth_ref": [
      "r102",
      "r103"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for revenue. Includes revenue from contract with customer and from other sources.",
        "label": "Revenue [Policy Text Block]",
        "terseLabel": "Revenue [Policy Text Block]"
       }
      }
     },
     "localname": "RevenueRecognitionPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r71",
      "r105",
      "r134",
      "r135",
      "r148",
      "r154",
      "r155",
      "r161",
      "r162",
      "r164",
      "r174",
      "r199",
      "r200",
      "r201",
      "r203",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208",
      "r209",
      "r340",
      "r408"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "terseLabel": "Net sales and revenue"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r356",
      "r360"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
        "label": "Right-of-use assets acquired and liabilities incurred upon lease execution"
       }
      }
     },
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accrued liabilities.",
        "label": "Schedule of Accrued Liabilities [Table Text Block]",
        "terseLabel": "Schedule of Accrued Liabilities [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfAccruedLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of derivative assets at fair value.",
        "label": "Schedule of Derivative Assets at Fair Value [Table Text Block]",
        "terseLabel": "Schedule of Derivative Assets at Fair Value [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDerivativeAssetsAtFairValueTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r334",
      "r335"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/FairValueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock": {
     "auth_ref": [
      "r350"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date.",
        "label": "Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]",
        "terseLabel": "Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/LeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfInventoryCurrentTableTextBlock": {
     "auth_ref": [
      "r16",
      "r39",
      "r40",
      "r41"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the carrying amount as of the balance sheet date of merchandise, goods, commodities, or supplies held for future sale or to be used in manufacturing, servicing or production process.",
        "label": "Schedule of Inventory, Current [Table Text Block]",
        "terseLabel": "Schedule of Inventory, Current [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfInventoryCurrentTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable": {
     "auth_ref": [
      "r143",
      "r146",
      "r152",
      "r184"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the profit or loss and total assets for each reportable segment of the entity. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r143",
      "r146",
      "r152",
      "r184"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the profit or loss and total assets for each reportable segment. An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
        "label": "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
        "terseLabel": "Schedule of Segment Reporting Information, by Segment [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/SegmentReportingTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock": {
     "auth_ref": [
      "r285",
      "r294"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the change in unrecognized tax benefits.",
        "label": "Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]",
        "terseLabel": "Schedule of Unrecognized Tax Benefits Roll Forward [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentDomain": {
     "auth_ref": [
      "r130",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r144",
      "r145",
      "r148",
      "r149",
      "r150",
      "r151",
      "r153",
      "r154",
      "r155",
      "r156",
      "r157",
      "r159",
      "r164",
      "r193",
      "r194",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
        "label": "Segments [Domain]"
       }
      }
     },
     "localname": "SegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable",
      "http://www.rexamerican.com/role/SegmentReportingTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SegmentReportingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment Reporting [Abstract]"
       }
      }
     },
     "localname": "SegmentReportingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_SegmentReportingDisclosureTextBlock": {
     "auth_ref": [
      "r130",
      "r132",
      "r133",
      "r143",
      "r147",
      "r153",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r163",
      "r164",
      "r165"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for reporting segments including data and tables. Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
        "label": "Segment Reporting Disclosure [Text Block]",
        "terseLabel": "Segment Reporting Disclosure [Text Block]"
       }
      }
     },
     "localname": "SegmentReportingDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/SegmentReporting"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SegmentReportingInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Segment Reporting Information [Line Items]"
       }
      }
     },
     "localname": "SegmentReportingInformationLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r79"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 4.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses. Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products. Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges. General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
        "label": "Selling, General and Administrative Expense",
        "negatedLabel": "Selling, general and administrative expenses (includes $154 and $152 with related parties for the quarters ended July 31, 2021 and 2020, respectively, and $191 and $(145) with related parties for the six months ended July 31, 2021 and 2020, respectively)"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock": {
     "auth_ref": [
      "r271"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for inclusion of significant items in the selling, general and administrative (or similar) expense report caption.",
        "label": "Selling, General and Administrative Expenses, Policy [Policy Text Block]",
        "terseLabel": "Selling, General and Administrative Expenses, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpensesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r256"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted Average Grant Date Fair Value, Granted (in Dollars per share)"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r255"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Non-Vested Shares, End of Period",
        "periodStartLabel": "Non-Vested Shares, Beginning of Period",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails",
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "terseLabel": "Non-Vested Shares, Vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares authorized for issuance under share-based payment arrangement.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r262"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Non-Vested Shares, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r248",
      "r253"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/EmployeeBenefitsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Aggregate Intrinsic Value, Vested",
        "terseLabel": "Weighted Average Grant Date Fair Value, Vested (in Dollars)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Balance (in Shares)",
        "periodStartLabel": "Balance (in Shares)"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShortTermInvestments": {
     "auth_ref": [
      "r23",
      "r402",
      "r403",
      "r411"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investments including trading securities, available-for-sale securities, held-to-maturity securities, and short-term investments classified as other and current.",
        "label": "Short-term investments",
        "terseLabel": "Short-term Investments"
       }
      }
     },
     "localname": "ShortTermInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/InvestmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SignificantAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r100",
      "r111"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for all significant accounting policies of the reporting entity.",
        "label": "Significant Accounting Policies [Text Block]",
        "terseLabel": "Significant Accounting Policies [Text Block]"
       }
      }
     },
     "localname": "SignificantAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_StatementBusinessSegmentsAxis": {
     "auth_ref": [
      "r3",
      "r130",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r144",
      "r145",
      "r148",
      "r149",
      "r150",
      "r151",
      "r153",
      "r154",
      "r155",
      "r156",
      "r157",
      "r159",
      "r164",
      "r184",
      "r190",
      "r193",
      "r194",
      "r425"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business segments.",
        "label": "Segments [Axis]"
       }
      }
     },
     "localname": "StatementBusinessSegmentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/ScheduleOfSegmentAssetsTable",
      "http://www.rexamerican.com/role/ScheduleOfSegmentResultsAndAssetsTable",
      "http://www.rexamerican.com/role/SegmentReportingTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r56",
      "r68",
      "r69",
      "r70",
      "r112",
      "r113",
      "r114",
      "r116",
      "r121",
      "r123",
      "r129",
      "r178",
      "r215",
      "r216",
      "r263",
      "r264",
      "r265",
      "r295",
      "r296",
      "r331",
      "r342",
      "r343",
      "r344",
      "r345",
      "r346",
      "r347",
      "r428",
      "r429",
      "r430",
      "r447"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r112",
      "r113",
      "r114",
      "r129",
      "r384"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation": {
     "auth_ref": [
      "r28",
      "r29",
      "r215",
      "r216"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number, after forfeiture, of shares or units issued under share-based payment arrangement. Excludes shares or units issued under employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Shares, Share-based Payment Arrangement, after Forfeiture",
        "terseLabel": "Issuance of equity awards and stock based compensation expense (in Shares)"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation": {
     "auth_ref": [
      "r28",
      "r29",
      "r216",
      "r250",
      "r258"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value, after forfeiture, of shares issued under share-based payment arrangement. Excludes employee stock ownership plan (ESOP).",
        "label": "Shares Issued, Value, Share-based Payment Arrangement, after Forfeiture",
        "terseLabel": "Issuance of equity awards and stock based compensation expense"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r29",
      "r33",
      "r34",
      "r105",
      "r168",
      "r174",
      "r340",
      "r371"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "totalLabel": "Total REX shareholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r0",
      "r1",
      "r69",
      "r105",
      "r112",
      "r113",
      "r114",
      "r116",
      "r121",
      "r174",
      "r178",
      "r216",
      "r263",
      "r264",
      "r265",
      "r295",
      "r296",
      "r309",
      "r310",
      "r319",
      "r331",
      "r340",
      "r342",
      "r343",
      "r347",
      "r429",
      "r430",
      "r447"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of stockholders' equity (deficit), net of receivables from officers, directors, owners, and affiliates of the entity, attributable to both the parent and noncontrolling interests. Amount excludes temporary equity. Alternate caption for the concept is permanent equity.",
        "label": "Stockholders' Equity, Including Portion Attributable to Noncontrolling Interest",
        "periodEndLabel": "Balance",
        "periodStartLabel": "Balance",
        "totalLabel": "Total equity"
       }
      }
     },
     "localname": "StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TaxCreditCarryforwardAxis": {
     "auth_ref": [
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by specific tax credit related to an unused tax credit.",
        "label": "Tax Credit Carryforward [Axis]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxCreditCarryforwardNameDomain": {
     "auth_ref": [
      "r290"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of the tax credit carryforward.",
        "label": "Tax Credit Carryforward, Name [Domain]"
       }
      }
     },
     "localname": "TaxCreditCarryforwardNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TradingActivityByTypeAxis": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of trading activity.",
        "label": "Trading Activity [Axis]"
       }
      }
     },
     "localname": "TradingActivityByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TradingActivityByTypeDomain": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gains and losses on trading activities (including both derivative and nonderivative instruments) recognized in the statement of financial performance, separately by major types of items (such as fixed income/interest rates, foreign exchange, equity, commodity, and credit).",
        "label": "Trading Activity, by Type [Domain]"
       }
      }
     },
     "localname": "TradingActivityByTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r55",
      "r217"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury Stock [Member]"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockSharesAcquired": {
     "auth_ref": [
      "r29",
      "r215",
      "r216"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and are being held in treasury.",
        "label": "Treasury Stock, Shares, Acquired",
        "terseLabel": "Treasury stock acquired (in Shares)"
       }
      }
     },
     "localname": "TreasuryStockSharesAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r55",
      "r217",
      "r218"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount allocated to treasury stock. Treasury stock is common and preferred shares of an entity that were issued, repurchased by the entity, and are held in its treasury.",
        "label": "Treasury Stock, Value",
        "negatedLabel": "Treasury stock"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TreasuryStockValueAcquiredCostMethod": {
     "auth_ref": [
      "r215",
      "r216",
      "r217"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the cost of common and preferred stock that were repurchased during the period. Recorded using the cost method.",
        "label": "Treasury Stock, Value, Acquired, Cost Method",
        "negatedLabel": "Treasury stock acquired"
       }
      }
     },
     "localname": "TreasuryStockValueAcquiredCostMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefits": {
     "auth_ref": [
      "r272",
      "r282"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrecognized tax benefits.",
        "label": "Unrecognized Tax Benefits",
        "terseLabel": "Unrecognized Tax Benefits"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions": {
     "auth_ref": [
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return.",
        "label": "Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions",
        "terseLabel": "Changes for current year tax positions"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions": {
     "auth_ref": [
      "r283"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns.",
        "label": "Unrecognized Tax Benefits, Increase Resulting from Prior Period Tax Positions",
        "terseLabel": "Changes for prior years\u2019 tax positions"
       }
      }
     },
     "localname": "UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r355",
      "r360"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable": {
       "order": 2.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease, Cost",
        "terseLabel": "Variable lease expense"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average number of shares or units issued and outstanding that are used in calculating basic and diluted earnings per share (EPS).",
        "label": "Weighted Average Number of Shares Outstanding, Basic and Diluted",
        "terseLabel": "Weighted average shares outstanding \u2013 basic and diluted (in Shares)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfShareOutstandingBasicAndDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 10
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6812-107765"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18726-107790"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6812-107765"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=124437754&loc=d3e543-108305"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6911-107765"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8657-108599"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8721-108599"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6935-107765"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8813-108599"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "26",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8844-108599"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e7018-107765"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=6361739&loc=d3e7789-107766"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8981-108599"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "280",
   "URI": "http://asc.fasb.org/topic&trid=2134510"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(24))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "http://asc.fasb.org/topic&trid=75115024"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=109237563&loc=d3e33749-111570"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "http://asc.fasb.org/topic&trid=2196965"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "http://asc.fasb.org/topic&trid=2197064"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4492-108314"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(25))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4542-108314"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=116847112&loc=d3e4556-108314"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.BB)",
   "Topic": "330",
   "URI": "http://asc.fasb.org/extlink&oid=27011343&loc=d3e100047-122729"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123364984&loc=d3e1205-110223"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 201.5-02(26))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 5.P.4(d))",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-04(Schedule I))",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=120391182&loc=d3e5864-122674"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130551-203045"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130554-203045"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130556-203045"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130558-203045"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130550-203045"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "705",
   "URI": "http://asc.fasb.org/topic&trid=2122478"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "710",
   "URI": "http://asc.fasb.org/topic&trid=2127225"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "712",
   "URI": "http://asc.fasb.org/topic&trid=2197446"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(23))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11374-113907"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6419918&loc=d3e35281-107843"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=SL37586934-109318"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31958-109318"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=SL6600010-109319"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "217",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=124434304&loc=d3e36027-109320"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116873149&loc=d3e852-111674"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=d3e5283-111683"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568447-111683"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4568740-111683"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4I",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4590271-111686"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4J",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "c",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624186-113959"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "60",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=7493716&loc=d3e21868-110260"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13279-108611"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(Note 3)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123403562&loc=d3e38371-112697"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123406913&loc=d3e41502-112717"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123406913&loc=d3e41502-112717"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "840",
   "URI": "http://asc.fasb.org/topic&trid=2208923"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918638-209977"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(2)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=6462270&loc=d3e57205-112772"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "330",
   "Topic": "912",
   "URI": "http://asc.fasb.org/extlink&oid=6471895&loc=d3e55923-109411"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61929-109447"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62059-109447"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62395-109447"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e62479-109447"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(a)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(b)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=SL6807758-109447"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(1)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "235",
   "Subparagraph": "(c)(2)",
   "Topic": "932",
   "URI": "http://asc.fasb.org/extlink&oid=123377692&loc=d3e61872-109447"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(4))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(13)(f))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(6)(c))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(g))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(24))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.5(c))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(7))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(10))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(8))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r439": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r441": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r442": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r443": {
   "Name": "Industry Guide",
   "Number": "3",
   "Paragraph": "B",
   "Publisher": "SEC",
   "Section": "II"
  },
  "r444": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r445": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1403",
   "Subparagraph": "(1)"
  },
  "r446": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.12)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.2)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.21)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.6(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.9)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(12))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(2))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.1,2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2(a),(d))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.2)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3337-108585"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3000-108585"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21D",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=SL94080555-108585"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6801-107765"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  }
 },
 "version": "2.1"
}
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>ZIP
<SEQUENCE>72
<FILENAME>0000930413-21-001588-xbrl.zip
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 0000930413-21-001588-xbrl.zip
M4$L#!!0    ( $-G(U-52&SU2^<  %4?"P 5    8S$P,C(T,%\Q,'$M:7AB
M<FPN:'1M['UK=^)*DN!W?D6.I^\<USG"A7A35==[*-MUV[U5ML=V3??LESX"
M)49=0N)*PC;]ZS<B,_4 !'H@R0)KS\[M,HA49$1D9+SCR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G%60DP>=2X:)<B1DTT0'.J,U='A[%C@05ZKM\ ?AA7,Q*A<C0 I"=FO-
MK*=KAZS)G;MV.CD>:I\U01[*@=C!GUQV$.D).=&-'(=P+\S^0]=Q B V%M0!
M[3@F4_+[7(C*!C5AG='F?#P+'B'::.HPA^$4-G(DEQ/,>$IY*24G]1A/<+!Q
M?1O"HC4 'J"\:KS)A=;SQ)<:89,@C"SO=W<-Y(0PP0[*8V0S)I>7<M9"N+J%
MDH21I2R?$J A9)'**\\%H)Z@$.ZH#6A&>!GX$-%4#=A ]D:=";E E',1HO*X
M1W:,B6Z<O'V8N9%BV74-V$#D46="+@_EA(.L/"Z>["5]H4BY0I@)<!#>-)L5
MN634JQFDK?VU3R#1CJX-.K<BJ[OAD3_IP 0\)!>MB3>YV&!*'=CM.#\=4X(>
MK!#1?_U_4$L! A0#%     @ 0V<C4U5(;/5+YP  51\+ !4
M ( !     &,Q,#(R-#!?,3!Q+6EX8G)L+FAT;5!+ 0(4 Q0    ( $-G(U,[
M4FID=0@  $M    0              "  7[G  !C,3 R,C0P7V5X,S$N:'1M
M4$L! A0#%     @ 0V<C4WC#A$!;!   VPX  !               ( !(?
M &,Q,#(R-#!?97@S,BYH=&U02P$"% ,4    " !#9R-3IN9 ?!L2  !JPP
M$               @ &J]   <F5X+3(P,C$P-S,Q+GAS9%!+ 0(4 Q0    (
M $-G(U/N3Y/OM0T  &RK   4              "  ?,& 0!R97@M,C R,3 W
M,S%?8V%L+GAM;%!+ 0(4 Q0    ( $-G(U,2K4-\S#,  &P? P 4
M      "  =H4 0!R97@M,C R,3 W,S%?9&5F+GAM;%!+ 0(4 Q0    ( $-G
M(U-[@7?N\W4  )O'!0 4              "  =A( 0!R97@M,C R,3 W,S%?
M;&%B+GAM;%!+ 0(4 Q0    ( $-G(U-"\C_4#S0  $U) P 4
M  "  ?V^ 0!R97@M,C R,3 W,S%?<')E+GAM;%!+!08     "  (  4"   ^
%\P$    !

end
</TEXT>
</DOCUMENT>
</SEC-DOCUMENT>
