<SEC-DOCUMENT>0000930413-21-001942.txt : 20211203
<SEC-HEADER>0000930413-21-001942.hdr.sgml : 20211203
<ACCEPTANCE-DATETIME>20211203153906
ACCESSION NUMBER:		0000930413-21-001942
CONFORMED SUBMISSION TYPE:	10-Q
PUBLIC DOCUMENT COUNT:		71
CONFORMED PERIOD OF REPORT:	20211031
FILED AS OF DATE:		20211203
DATE AS OF CHANGE:		20211203

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:		211469830

	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>c102599_10q-ixbrl.htm
<TEXT>
<XBRL>
<?xml version="1.0" encoding="ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Dec 03 18:39:46 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/2020-02-12" 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/20211031" 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,serif; margin: 0; text-align: center; text-indent: 0.5in">&#160;</p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>UNITED STATES</b></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>SECURITIES AND EXCHANGE COMMISSION</b></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>WASHINGTON, D.C. 20549</b></p><div>

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

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

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

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

</div><p style="font: 10pt Times New Roman,serif; margin: 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,serif; margin: 0"><b>(Mark One)</b></p><div>

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

</div><table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse; font-size: 10pt">
<tr style="vertical-align: bottom"> <td style="width: 2%; text-align: left; vertical-align: top"><ix:nonNumeric contextRef="c0" format="ixt-sec:boolballotbox" name="dei:DocumentQuarterlyReport"><span>&#9746;</span></ix:nonNumeric></td> <td style="width: 1%">&#160;</td> <td style="width: 97%; text-align: justify"><span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"><b>QUARTERLY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934<br/> For the quarterly period ended <ix:nonNumeric contextRef="c0" format="ixt:date-monthname-day-year-en" name="dei:DocumentPeriodEndDate">October 31, 2021</ix:nonNumeric></b></span></td></tr>
<tr style="vertical-align: bottom"> <td style="text-align: left; vertical-align: top">&#160;</td> <td>&#160;</td> <td style="text-align: center"><span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"><b>OR</b></span></td></tr>
<tr style="vertical-align: bottom"> <td style="text-align: left; vertical-align: top"><ix:nonNumeric contextRef="c0" format="ixt-sec:boolballotbox" name="dei:DocumentTransitionReport"><span>&#9744;</span></ix:nonNumeric></td> <td>&#160;</td> <td style="text-align: justify"><span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"><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: bottom"> <td style="text-align: left; vertical-align: top">&#160;</td> <td>&#160;</td> <td style="text-align: justify"><span style="font-family: Times New Roman, Times, Serif; font-size: 10pt">&#160;</span></td></tr>
<tr style="vertical-align: bottom"> <td style="text-align: left; vertical-align: top">&#160;</td> <td>&#160;</td> <td style="text-align: justify"><span style="font-family: Times New Roman, Times, Serif; font-size: 10pt"><b>For the transition period from _________ to _________</b></span></td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>&#160;</b></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 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: 5pt Times New Roman,serif; margin: 0"><b>&#160;</b></p><div>

</div><!-- Field: Rule-Page --><div style="margin-top: 3px; margin-bottom: 3px; 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,serif; margin: 0"></p><div>

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

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><ix:nonNumeric contextRef="c0" name="dei:EntityRegistrantName"><b>REX AMERICAN RESOURCES CORPORATION</b></ix:nonNumeric></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>(Exact name of registrant as specified in its charter)</b></p><div>

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

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

</div><!-- Field: Rule-Page --><div style="margin-top: 3px; margin-bottom: 3px; 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,serif; margin: 0"><b>&#160;</b></p><div>

</div><table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom"> <td style="width: 20%">&#160;</td> <td style="width: 30%; text-align: center"><ix:nonNumeric contextRef="c0" format="ixt-sec:stateprovnameen" name="dei:EntityIncorporationStateCountryCode"><b>Delaware</b></ix:nonNumeric></td> <td style="width: 30%; text-align: center"><ix:nonNumeric contextRef="c0" name="dei:EntityTaxIdentificationNumber"><b>31-1095548</b></ix:nonNumeric></td> <td style="width: 20%">&#160;</td></tr>
<tr style="vertical-align: bottom"> <td>&#160;</td> <td style="text-align: center"><b>(State or other jurisdiction of</b></td> <td style="text-align: center"><b>(I.R.S. Employer</b></td> <td>&#160;</td></tr>
<tr style="vertical-align: bottom"> <td>&#160;</td> <td style="text-align: center"><b>incorporation or organization)</b></td> <td style="text-align: center"><b>Identification Number)</b></td> <td>&#160;</td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>&#160;</b></p><div>

</div><table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom"> <td style="width: 28%">&#160;</td> <td style="width: 39%; text-align: center"><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></b></td> <td style="width: 10%; text-align: center"><ix:nonNumeric contextRef="c0" name="dei:EntityAddressPostalZipCode"><b>45459</b></ix:nonNumeric></td> <td style="width: 23%">&#160;</td></tr>
<tr style="vertical-align: bottom"> <td>&#160;</td> <td style="text-align: center"><b>(Address of principal executive offices)</b></td> <td style="text-align: center"><b>(Zip Code)</b></td> <td>&#160;</td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>&#160;</b></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 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></b></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>(Registrant&#8217;s telephone number, including area code)</b></p><div>

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

</div><p style="font: 10pt Times New Roman,serif; margin: 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%; border-collapse: collapse; font: 10pt Times New Roman, Times, Serif">
<tr style="vertical-align: top"> <td style="width: 41%; text-align: center"><b>Title of each class</b></td> <td style="width: 18%; text-align: center"><b>Trading Symbol(s)</b></td> <td style="width: 41%; text-align: center"><b>Name of each exchange on which registered</b></td></tr>
<tr style="vertical-align: top"> <td style="text-align: center"><ix:nonNumeric contextRef="c0" name="dei:Security12bTitle">Common stock, $0.01 par value</ix:nonNumeric></td> <td style="text-align: center"><ix:nonNumeric contextRef="c0" name="dei:TradingSymbol">REX</ix:nonNumeric></td> <td style="text-align: center"><ix:nonNumeric contextRef="c0" format="ixt-sec:exchnameen" name="dei:SecurityExchangeName">New York Stock Exchange</ix:nonNumeric></td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman,serif; margin-top: 0; margin-bottom: 0; margin-left: 0; text-align: justify"><span style="font-size: 5pt">&#160;</span></p><div>

</div><!-- Field: Rule-Page --><div style="margin-top: 5px; margin-bottom: 5px; 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,serif; margin: 0 0.2in 0 0; text-align: justify"></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 0 0.2in 0 0; text-align: justify"><span style="font-size: 5pt">&#160;</span></p><div>

</div><p style="font: 10pt Times New Roman,serif; margin-top: 0; margin-bottom: 0; margin-left: 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;<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,serif; margin-top: 0; margin-bottom: 0; margin-left: 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman,serif; margin-top: 0; margin-bottom: 0; margin-left: 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;<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,serif; margin-top: 0; margin-bottom: 0; margin-left: 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman,serif; margin-top: 0; margin-bottom: 0; margin-left: 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,serif; margin: 0 0.25in 0 0; text-align: justify">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse; font-size: 10pt">
<tr style="vertical-align: bottom"> <td style="width: 70%; layout-grid-mode: line"><span style="font-family: Times New Roman,serif; font-size: 10pt">Large accelerated filer <span>&#9744;</span></span></td> <td style="width: 30%; layout-grid-mode: line"><span style="font-family: Times New Roman,serif; font-size: 10pt"><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: bottom"> <td style="layout-grid-mode: line"><span style="font-family: Times New Roman,serif; font-size: 10pt">Non-accelerated filer &#160;&#160;<span>&#9744;</span> (Do not check if a smaller reporting company)</span></td> <td style="layout-grid-mode: line"><span style="font-family: Times New Roman,serif; font-size: 10pt">Smaller reporting company <ix:nonNumeric contextRef="c0" format="ixt-sec:boolballotbox" name="dei:EntitySmallBusiness"><span>&#9744;</span></ix:nonNumeric></span></td></tr>
<tr style="vertical-align: bottom"> <td style="layout-grid-mode: line">&#160;</td> <td style="layout-grid-mode: line"><span style="font-family: Times New Roman,serif; font-size: 10pt">Emerging growth company <ix:nonNumeric contextRef="c0" format="ixt-sec:boolballotbox" name="dei:EntityEmergingGrowthCompany"><span>&#9744;</span></ix:nonNumeric></span></td></tr>
</table><div>
</div><p style="font: 10pt Times New Roman,serif; margin: 0 0.25in 0 0; text-align: justify">&#160;</p><div>

</div><p style="font: 10pt Times New Roman,serif; margin: 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. <span>&#9744;</span></p><div>

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

</div><p style="font: 10pt Times New Roman,serif; margin: 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).&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Yes <span>&#9744;</span> <ix:nonNumeric contextRef="c0" format="ixt:fixed-false" name="dei:EntityShellCompany">No </ix:nonNumeric><span>&#9746;</span></p><div>

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

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

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

</div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: justify"></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><!-- 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,serif; margin: 0; text-align: center">REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</p><div>

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

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

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

</div><table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse; font: 12pt Times New Roman, Times, Serif">
<tr>
    <td style="vertical-align: top; width: 10%; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; width: 85%; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: top; width: 5%; layout-grid-mode: line; text-align: center">Page</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a001">PART I.</a><a href="#x1_c102599a001"></a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a001">FINANCIAL INFORMATION</a></td>
    <td style="vertical-align: top; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: top; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a002">Item 1.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a002">Financial Statements</a></td>
    <td style="vertical-align: top; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: top; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a003">Consolidated Condensed Balance Sheets</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">3</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a004">Consolidated Condensed Statements of Operations</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">4</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a005">Consolidated Condensed Statements of Equity</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">5</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a006">Consolidated Condensed Statements of Cash Flows</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">7</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a007">Notes to Consolidated Condensed Financial Statements</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">9</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a008">Item 2.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a008">Management&#8217;s Discussion and Analysis of Financial Condition and Results of Operations</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">26</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a009">Item 3.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a009">Quantitative and Qualitative Disclosures About Market Risk</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">40</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a010">Item 4.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a010">Controls and Procedures</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">40</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a011">PART II.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a011">OTHER INFORMATION</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a012">Item 1.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a012">Legal Proceedings</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a013">Item 1A.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a013">Risk Factors</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a014">Item 2.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a014">Unregistered Sales of Equity Securities and Use of Proceeds</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a015">Item 3.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a015">Defaults upon Senior Securities</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a016">Item 4.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a016">Mine Safety Disclosures</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a017">Item 5.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a017">Other Information</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line">&#160;</td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">&#160;</td></tr>
<tr>
    <td style="vertical-align: top; layout-grid-mode: line"><a href="#x1_c102599a018">Item 6.</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line"><a href="#x1_c102599a018">Exhibits</a></td>
    <td style="vertical-align: bottom; layout-grid-mode: line; text-align: right; padding-right: 10pt">41</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_c102599a001"></a></div><p style="font: 10pt Times New Roman,serif; margin: 0; text-align: center"><b>PART I. FINANCIAL INFORMATION</b></p><div>

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

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

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

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

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

</div><p style="font: 12pt Courier New; margin: 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="text-align: left; vertical-align: top">(In Thousands)</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">October 31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center">January 31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Assets:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">Current assets:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 73%; text-align: left; text-indent: 9pt">Cash and cash equivalents</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:num-dot-decimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">197,395</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: 9%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" 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: 9pt">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:num-dot-decimal" name="us-gaap:ShortTermInvestments" scale="3" unitRef="usd">21,620</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:num-dot-decimal" 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: 9pt">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:num-dot-decimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">1,737</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:num-dot-decimal" 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: 9pt">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:num-dot-decimal" name="us-gaap:AccountsReceivableNetCurrent" scale="3" unitRef="usd">40,026</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:num-dot-decimal" 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: 9pt">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:num-dot-decimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">29,753</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:num-dot-decimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">37,426</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:IncomeTaxesReceivable" scale="3" unitRef="usd">5,930</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:num-dot-decimal" 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; text-indent: 9pt">Prepaid expenses and other</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PrepaidExpenseAndOtherAssetsCurrent" scale="3" unitRef="usd">10,389</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:num-dot-decimal" name="us-gaap:PrepaidExpenseAndOtherAssetsCurrent" scale="3" unitRef="usd">12,751</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt; padding-bottom: 1px">Current assets held for sale</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsHeldForSaleNotPartOfDisposalGroupCurrent" scale="3" unitRef="usd">392</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsHeldForSaleNotPartOfDisposalGroupCurrent" scale="3" unitRef="usd">488</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 0.25in">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:num-dot-decimal" name="us-gaap:AssetsCurrent" scale="3" unitRef="usd">307,242</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:num-dot-decimal" 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; ">
    <td style="text-align: left">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:num-dot-decimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">141,205</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:num-dot-decimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">150,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">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:num-dot-decimal" name="us-gaap:OperatingLeaseRightOfUseAsset" scale="3" unitRef="usd">11,817</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:num-dot-decimal" 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; ">
    <td style="text-align: left">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:num-dot-decimal" name="us-gaap:OtherAssetsNoncurrent" scale="3" unitRef="usd">33,190</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:num-dot-decimal" 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; background-color: rgb(229,255,255)">
    <td style="text-align: left">Equity method investment</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">30,715</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:num-dot-decimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">29,456</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Assets held for sale</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsHeldForSaleNotPartOfDisposalGroup" scale="3" unitRef="usd">233</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsHeldForSaleNotPartOfDisposalGroup" scale="3" unitRef="usd">2,325</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 9pt; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Assets" scale="3" unitRef="usd">524,402</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Assets" scale="3" unitRef="usd">479,345</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-indent: 9pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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; ">
    <td style="text-align: left">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; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 18pt; text-indent: -9pt">Accounts payable, trade (includes $<ix:nonFraction contextRef="c2" decimals="-2" format="ixt:num-dot-decimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="3" unitRef="usd">1.7</ix:nonFraction> million and $<ix:nonFraction contextRef="c3" decimals="-2" format="ixt:num-dot-decimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="3" unitRef="usd">0.7</ix:nonFraction> million with related parties at October 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:num-dot-decimal" name="us-gaap:AccountsPayableTradeCurrent" scale="3" unitRef="usd">27,133</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:num-dot-decimal" name="us-gaap:AccountsPayableTradeCurrent" scale="3" unitRef="usd">16,573</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 8.1pt">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="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseLiabilityCurrent" scale="3" unitRef="usd">4,999</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:num-dot-decimal" 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; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 8.1pt">Accrued expenses and other current 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:num-dot-decimal" name="us-gaap:AccruedLiabilitiesCurrent" scale="3" unitRef="usd">14,121</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:num-dot-decimal" name="us-gaap:AccruedLiabilitiesCurrent" scale="3" unitRef="usd">8,754</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 8.1pt; padding-bottom: 1px">Current liabilities held for sale (includes $<ix:nonFraction contextRef="c4" decimals="-2" format="ixt:num-dot-decimal" name="rex:CurrentLiabilitiesHeldForSaleRelatedParties" scale="3" unitRef="usd">0.1</ix:nonFraction> million with related parties at January 31, 2021)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OtherLiabilitiesCurrent" scale="3" unitRef="usd">282</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OtherLiabilitiesCurrent" scale="3" unitRef="usd">535</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 0.25in; padding-bottom: 1px">Total current liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesCurrent" scale="3" unitRef="usd">46,535</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesCurrent" scale="3" unitRef="usd">30,737</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>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: 9pt">Deferred 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:num-dot-decimal" 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:num-dot-decimal" 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: 9pt">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:num-dot-decimal" name="us-gaap:OperatingLeaseLiabilityNoncurrent" scale="3" unitRef="usd">6,553</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:num-dot-decimal" 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; text-indent: 9pt; padding-bottom: 1px">Other long-term liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OtherLiabilitiesNoncurrent" scale="3" unitRef="usd">2,581</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OtherLiabilitiesNoncurrent" scale="3" unitRef="usd">273</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 0.25in; padding-bottom: 1px">Total long-term liabilities</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesNoncurrent" scale="3" unitRef="usd">13,164</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesNoncurrent" scale="3" unitRef="usd">11,425</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>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: 9pt">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: 9pt; padding-left: 0.25in">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:num-dot-decimal" 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:num-dot-decimal" 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: 27pt">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:num-dot-decimal" name="us-gaap:AdditionalPaidInCapitalCommonStock" scale="3" unitRef="usd">149,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:num-dot-decimal" 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: 27pt; padding-bottom: 1px">Retained earnings</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 0px solid">&#160;</td><td style="text-align: right; border-bottom: Black 0px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RetainedEarningsAccumulatedDeficit" scale="3" unitRef="usd">620,924</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 0px solid">&#160;</td><td style="text-align: right; border-bottom: Black 0px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RetainedEarningsAccumulatedDeficit" scale="3" unitRef="usd">589,986</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 27pt">Treasury stock</td><td>&#160;</td>
   <td style="text-align: right; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValue" scale="3" unitRef="usd">361,199</ix:nonFraction>)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValue" scale="3" unitRef="usd">354,612</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: 40.5pt">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:num-dot-decimal" name="us-gaap:StockholdersEquity" scale="3" unitRef="usd">409,323</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:num-dot-decimal" 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; text-indent: 9.35pt; padding-bottom: 1px">Noncontrolling interests</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterest" scale="3" unitRef="usd">55,380</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterest" scale="3" unitRef="usd">52,400</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 9pt; padding-bottom: 1px">Total equity</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">464,703</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">437,183</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt; padding-bottom: 3px">Total liabilities and equity</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesAndStockholdersEquity" scale="3" unitRef="usd">524,402</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesAndStockholdersEquity" scale="3" unitRef="usd">479,345</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><div>

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

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

</div><p style="font: 12pt Times New Roman,serif; margin: 0"></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: 12pt Times New Roman,serif; margin: 0">
<span style="font-size: 10pt"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></span></p><div>

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

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

</div><p style="font: 12pt Courier New; margin: 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="text-align: left; vertical-align: middle">(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/> October 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">Nine Months<br/> Ended<br/> October 31,</td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#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><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: 56%; 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: 6%; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">203,066</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:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">124,217</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="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">562,786</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">246,694</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: 10pt; text-indent: -10pt">Cost of sales (includes $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">22,928</ix:nonFraction> and $<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">16,861</ix:nonFraction> with related parties for the quarters ended October 31, 2021 and 2020, respectively, and $<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">60,311</ix:nonFraction> and $<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RelatedPartiesAmountInCostOfSales" scale="3" unitRef="usd">34,021</ix:nonFraction> with related parties for the nine months ended October 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="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">177,914</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">105,288</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">504,003</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CostOfGoodsAndServicesSold" scale="3" unitRef="usd">235,435</ix:nonFraction></td><td style="text-align: left; 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><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">Gross profit</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">25,152</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:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">18,929</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:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">58,783</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">11,259</ix:nonFraction></td><td style="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">Selling, general and administrative expenses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">6,310</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:num-dot-decimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">4,269</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:num-dot-decimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">22,444</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SellingGeneralAndAdministrativeExpense" scale="3" unitRef="usd">13,407</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">Equity in income of unconsolidated affiliates</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">349</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:num-dot-decimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">1,152</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:num-dot-decimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">2,763</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">168</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">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="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">35</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">537</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">117</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:InterestAndOtherIncome" scale="3" unitRef="usd">1,403</ix:nonFraction></td><td style="text-align: left; 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><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"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">19,226</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">16,349</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" unitRef="usd">39,219</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" scale="3" sign="-" unitRef="usd">577</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">(Provision) 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="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" unitRef="usd">4,338</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" unitRef="usd">5,037</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" unitRef="usd">8,329</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">444</ix:nonFraction></td><td style="text-align: left; 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><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">Net income (loss) from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">14,888</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">11,312</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">30,890</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">133</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Net income attributable to noncontrolling interests (continuing operations)</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" scale="3" unitRef="usd">1,562</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" scale="3" unitRef="usd">2,276</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" scale="3" unitRef="usd">4,585</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" scale="3" unitRef="usd">1,331</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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) attributable to REX common shareholders (continuing operations)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperations" scale="3" unitRef="usd">13,326</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperations" scale="3" unitRef="usd">9,036</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:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperations" scale="3" unitRef="usd">26,305</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperations" scale="3" sign="-" unitRef="usd">1,464</ix:nonFraction>)</td><td style="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">Net income (loss) from discontinued operations, net of tax (includes expense of $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="3" unitRef="usd">39</ix:nonFraction> and $(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="3" sign="-" unitRef="usd">15</ix:nonFraction>) with related parties for the quarters ended October 31, 2021 and 2020, respectively and $<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="3" unitRef="usd">230</ix:nonFraction> and $(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="3" sign="-" unitRef="usd">160</ix:nonFraction>) with related parties for the nine months ended October 31, 2021 and 2020, respectively)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">1,815</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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" sign="-" unitRef="usd">253</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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">4,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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">729</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">Net income attributable to noncontrolling interests (discontinued operations)</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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">137</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">58</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">370</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">193</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt; padding-bottom: 1pt">Net income (loss) attributable to REX common shareholders (discontinued operations)</td><td style="padding-bottom: 1pt">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1pt solid">&#160;</td><td style="text-align: right; border-bottom: Black 1pt solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" unitRef="usd">1,952</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1pt">&#160;</td><td style="padding-bottom: 1pt">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1pt solid">&#160;</td><td style="text-align: right; border-bottom: Black 1pt solid">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" sign="-" unitRef="usd">195</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1pt">&#160;</td><td style="padding-bottom: 1pt">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1pt solid">&#160;</td><td style="text-align: right; border-bottom: Black 1pt solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" unitRef="usd">4,633</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1pt">&#160;</td><td style="padding-bottom: 1pt">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1pt solid">&#160;</td><td style="text-align: right; border-bottom: Black 1pt solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" unitRef="usd">922</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1pt">&#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">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="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">15,278</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">8,841</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">30,938</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" sign="-" unitRef="usd">542</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 3px">&#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="padding-bottom: 3px">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="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">5,963</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">6,143</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">5,994</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted" scale="3" unitRef="shares">6,221</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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">Basic and diluted net income (loss) per share from continuing operations attributable to REX common shareholders</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" scale="0" unitRef="usdPershares">2.23</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="c6" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" scale="0" unitRef="usdPershares">1.47</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="c0" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" scale="0" unitRef="usdPershares">4.39</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="c7" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" scale="0" sign="-" unitRef="usdPershares">0.24</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Basic and diluted net income (loss) per share from discontinued operations attributable to REX common shareholders</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="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" scale="0" unitRef="usdPershares">0.33</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" scale="0" sign="-" unitRef="usdPershares">0.03</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#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="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" scale="0" unitRef="usdPershares">0.77</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#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="c7" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" scale="0" unitRef="usdPershares">0.15</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 3px">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="c5" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" unitRef="usdPershares">2.56</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" unitRef="usdPershares">1.44</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" unitRef="usdPershares">5.16</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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="c7" decimals="2" format="ixt:num-dot-decimal" name="us-gaap:EarningsPerShareBasicAndDiluted" scale="0" sign="-" unitRef="usdPershares">0.09</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><div>


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

</div><p style="font: 10pt Times New Roman,serif; margin: 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,serif; margin: 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

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

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

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

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

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

</div><p style="font: 10pt Times New Roman,serif; margin: 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="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="22" style="font-weight: bold; text-align: center; border-bottom: Black 1px solid">REX Shareholders</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="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="22" style="font-weight: bold; text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="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="6" style="font-weight: bold; text-align: center">Common Shares</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="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="6" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Issued</span></td><td style="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"><span style="text-decoration:underline">Treasury</span></td><td style="text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">Paid-in</td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">Retained</td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">Noncontrolling</td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">Total</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; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Shares</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Amount</span></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"><span style="text-decoration:underline">Shares</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Amount</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Capital</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Earnings</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Interests</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Equity</span></td><td style="font-weight: bold; text-align: center">&#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><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: 26%">Balance at July 31, 2021</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c8" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right"><ix:nonFraction contextRef="c8" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c9" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,866</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right">(<ix:nonFraction contextRef="c9" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">355,936</ix:nonFraction>)</td><td style="width: 2%; text-align: left">&#160;</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c10" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,263</ix:nonFraction></td><td style="width: 2%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c11" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">605,646</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c12" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">54,025</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c13" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">453,297</ix:nonFraction></td><td style="width: 1%; 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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c14" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">15,278</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="c15" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">1,425</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:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">16,703</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c16" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">67</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="c16" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">5,271</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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</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:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">5,271</ix:nonFraction>)</td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c15" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">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="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">211</ix:nonFraction>)</td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c15" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">141</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:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">141</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">Issuance of equity awards and stock based compensation expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c16" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">8</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c17" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">36</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">44</ix:nonFraction></td><td style="text-align: left; 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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-bottom: 3px">Balance at October 31, 2021</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c18" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c18" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c19" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,933</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(<ix:nonFraction contextRef="c19" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">361,199</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c20" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,299</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c21" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">620,924</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c22" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">55,380</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">464,703</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>Balance at January 31, 2021</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c23" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</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="c23" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" 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="c24" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,861</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="c24" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">354,612</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="c25" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,110</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="c26" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">589,986</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="c27" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">52,400</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:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">437,183</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 0.9pt">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c28" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">30,938</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="c29" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">4,215</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:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">35,153</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-indent: 0.9pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 0.9pt">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c30" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">84</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="c30" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">6,627</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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</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:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">6,627</ix:nonFraction>)</td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c29" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">1,515</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:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">1,515</ix:nonFraction>)</td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c29" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">280</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:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">280</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 1px">Issuance of equity awards and stock based compensation expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(<ix:nonFraction contextRef="c30" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation" scale="3" sign="-" unitRef="shares">12</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c30" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">40</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c31" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">189</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">229</ix:nonFraction></td><td style="text-align: left; 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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">Balance at October 31, 2021</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c18" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c18" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c19" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,933</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(<ix:nonFraction contextRef="c19" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">361,199</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c20" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,299</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c21" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">620,924</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c22" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">55,380</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">464,703</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><div>

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

</div><p style="font: 8pt Times New Roman,serif; margin: 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,serif; margin: 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

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

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

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

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

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

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

</div><p style="font: 12pt Courier New; margin: 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="text-align: center">&#160;</td><td style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="22" style="border-bottom: Black 1px solid; font-weight: bold; text-align: center">REX Shareholders</td>
    <td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td>
    <td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="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="26" style="font-weight: bold; text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="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="7" style="font-weight: bold; text-align: center">Common Shares</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="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td style="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="6" style="padding-bottom: 1px; font-weight: bold; text-align: center"><span style="text-decoration:underline">Issued</span></td><td style="padding-bottom: 1px; text-align: center">&#160;</td><td style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="6" style="padding-bottom: 1px; font-weight: bold; text-align: center"><span style="text-decoration:underline">Treasury</span></td><td style="padding-bottom: 1px; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; padding-bottom: 1px; text-align: center">Paid-in</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; padding-bottom: 1px; text-align: center">Retained</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; padding-bottom: 1px; text-align: center">Noncontrolling</td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; padding-bottom: 1px; text-align: center">Total</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"><span style="text-decoration:underline">Shares</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Amount</span></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"><span style="text-decoration:underline">Shares</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Amount</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Capital</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Earnings</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Interests</span></td><td style="font-weight: bold; text-align: center">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">Equity</span></td><td style="font-weight: bold; text-align: center">&#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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 26%">Balance at July 31, 2020</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c32" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right"><ix:nonFraction contextRef="c32" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c33" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,655</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right">(<ix:nonFraction contextRef="c33" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">340,591</ix:nonFraction>)</td><td style="width: 2%; text-align: left"></td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c34" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,044</ix:nonFraction></td><td style="width: 2%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c35" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">577,602</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c36" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">51,385</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; text-align: right"><ix:nonFraction contextRef="c37" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">437,739</ix:nonFraction></td><td style="width: 1%; 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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c38" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">8,841</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="c39" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">2,218</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:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">11,059</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c40" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">197</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="c40" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">13,328</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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</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:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">13,328</ix:nonFraction>)</td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c39" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">124</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:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">124</ix:nonFraction>)</td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c39" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">63</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:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">63</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">Stock based compensation expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c40" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">9</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c41" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">33</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">42</ix:nonFraction></td><td style="text-align: left; 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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-bottom: 3px">Balance at October 31, 2020</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c42" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c42" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c43" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,852</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(<ix:nonFraction contextRef="c43" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">353,910</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c44" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,077</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c45" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">586,443</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c46" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">53,542</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">435,451</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>Balance at January 31, 2020</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c48" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</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="c48" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" 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="c49" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,561</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="c49" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">335,066</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="c50" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">148,789</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="c51" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">586,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="c52" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">52,599</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="c53" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">453,606</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 0.9pt">Net (loss) 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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c54" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" sign="-" unitRef="usd">542</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="c55" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">1,138</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">596</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-indent: 0.9pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 0.9pt">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c56" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockSharesAcquired" scale="3" unitRef="shares">306</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="c56" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">18,918</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:TreasuryStockValueAcquiredCostMethod" scale="3" unitRef="usd">18,918</ix:nonFraction>)</td><td style="text-align: left"></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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c55" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">283</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" scale="3" unitRef="usd">283</ix:nonFraction>)</td><td style="text-align: left"></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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c55" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">88</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromContributionsFromAffiliates" scale="3" unitRef="usd">88</ix:nonFraction></td><td style="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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 1px">Issuance of equity awards and stock based compensation expense</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(<ix:nonFraction contextRef="c56" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation" scale="3" sign="-" unitRef="shares">15</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px"></td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c56" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">74</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c57" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">288</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation" scale="3" unitRef="usd">362</ix:nonFraction></td><td style="text-align: left; 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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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">Balance at October 31, 2020</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c42" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">29,853</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c42" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">299</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c43" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharesOutstanding" scale="3" unitRef="shares">23,852</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(<ix:nonFraction contextRef="c43" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">353,910</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c44" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">149,077</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c45" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">586,443</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c46" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">53,542</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">435,451</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><div>

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

</div><p style="font: 10pt Times New Roman,serif; margin: 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,serif; margin: 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

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

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

</div><p style="font: 10pt Times New Roman,serif; margin: 0"><b>&#160;</b></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>(In Thousands)</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended</td><td style="font-weight: bold">&#160;</td></tr>
<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">October 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="padding-bottom: 1px; font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></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="padding-bottom: 1px; font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</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="text-align: left">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: 73%; text-align: left">Net income including noncontrolling interests</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:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">35,153</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: 9%; text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProfitLoss" scale="3" unitRef="usd">596</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">Net income from discontinued operations,
    net of tax</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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">4,263</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">729</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income (loss) from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">30,890</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">133</ix:nonFraction>)</td><td style="text-align: left"></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)<br/> 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="text-indent: 9pt">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:num-dot-decimal" name="us-gaap:DepreciationDepletionAndAmortization" scale="3" unitRef="usd">13,505</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DepreciationDepletionAndAmortization" scale="3" unitRef="usd">13,604</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: 9pt">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:num-dot-decimal" name="us-gaap:AmortizationOfIntangibleAssets" scale="3" unitRef="usd">4,128</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AmortizationOfIntangibleAssets" scale="3" unitRef="usd">3,982</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt">Income 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:num-dot-decimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">2,763</ix:nonFraction></td><td style="text-align: left">)</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromEquityMethodInvestments" scale="3" unitRef="usd">168</ix:nonFraction>)</td><td style="text-align: left"></td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 9pt">Dividends received from equity method investee</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:EquityMethodInvestmentDividendsOrDistributions" scale="3" unitRef="usd">1,504</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:EquityMethodInvestmentDividendsOrDistributions" scale="3" unitRef="usd">2,506</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:ProceedsFromInterestAndDividendsReceived" scale="3" unitRef="usd">36</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromInterestAndDividendsReceived" scale="3" unitRef="usd">200</ix:nonFraction></td><td style="text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:DeferredIncomeTaxExpenseBenefit" scale="3" unitRef="usd">5,840</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DeferredIncomeTaxExpenseBenefit" scale="3" sign="-" unitRef="usd">356</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">1,100</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AllocatedShareBasedCompensationExpense" scale="3" unitRef="usd">122</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: 9pt">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:num-dot-decimal" name="us-gaap:GainLossOnSaleOfPropertyPlantEquipment" scale="3" sign="-" unitRef="usd">1</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GainLossOnSaleOfPropertyPlantEquipment" scale="3" sign="-" unitRef="usd">58</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">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; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:IncreaseDecreaseInAccountsReceivable" scale="3" sign="-" unitRef="usd">20,313</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncreaseDecreaseInAccountsReceivable" scale="3" unitRef="usd">473</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: 9pt">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:num-dot-decimal" name="us-gaap:IncreaseDecreaseInInventories" scale="3" unitRef="usd">7,673</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncreaseDecreaseInInventories" scale="3" unitRef="usd">14,000</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: 9pt">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:num-dot-decimal" name="us-gaap:IncreaseDecreaseInIncomeTaxesReceivable" scale="3" sign="-" unitRef="usd">332</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncreaseDecreaseInIncomeTaxesReceivable" scale="3" sign="-" unitRef="usd">130</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" scale="3" unitRef="usd">1,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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" scale="3" sign="-" unitRef="usd">611</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: 9pt">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:num-dot-decimal" name="us-gaap:IncreaseDecreaseInAccountsPayableTrade" scale="3" unitRef="usd">10,916</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncreaseDecreaseInAccountsPayableTrade" scale="3" sign="-" unitRef="usd">4,361</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: 9pt">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:num-dot-decimal" name="us-gaap:IncreaseDecreaseInOtherOperatingLiabilities" scale="3" unitRef="usd">2,776</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncreaseDecreaseInOtherOperatingLiabilities" scale="3" sign="-" unitRef="usd">4,966</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">Net cash provided by operating activities from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" scale="3" unitRef="usd">56,799</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" scale="3" unitRef="usd">23,704</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Net cash used in operating activities
    from discontinued operations</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:num-dot-decimal" name="us-gaap:CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" scale="3" sign="-" unitRef="usd">6,368</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" scale="3" sign="-" unitRef="usd">2,205</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">Net cash provided by 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:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInOperatingActivities" scale="3" unitRef="usd">50,431</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInOperatingActivities" scale="3" unitRef="usd">21,499</ix:nonFraction></td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">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; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:PaymentsToAcquirePropertyPlantAndEquipment" scale="3" unitRef="usd">4,245</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PaymentsToAcquirePropertyPlantAndEquipment" scale="3" unitRef="usd">6,610</ix:nonFraction>)</td><td style="text-align: left"></td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-indent: 9pt">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:num-dot-decimal" name="us-gaap:PaymentsToAcquireShortTermInvestments" scale="3" unitRef="usd">67,412</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PaymentsToAcquireShortTermInvestments" scale="3" unitRef="usd">68,225</ix:nonFraction>)</td><td style="text-align: left"></td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-indent: 9pt">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="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromSaleOfShortTermInvestments" scale="3" unitRef="usd">82,022</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromSaleOfShortTermInvestments" scale="3" unitRef="usd">65,282</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; text-indent: 9pt">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="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PaymentsForProceedsFromOtherInvestingActivities" scale="3" sign="-" unitRef="usd">40</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PaymentsForProceedsFromOtherInvestingActivities" scale="3" unitRef="usd">474</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left"></td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px">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:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInInvestingActivities" scale="3" unitRef="usd">10,405</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInInvestingActivities" scale="3" sign="-" unitRef="usd">10,027</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left"></td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">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; background-color: rgb(229,255,255)">
    <td style="text-align: left; text-indent: 9pt">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:num-dot-decimal" name="us-gaap:PaymentsForRepurchaseOfCommonStock" scale="3" unitRef="usd">6,627</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PaymentsForRepurchaseOfCommonStock" scale="3" unitRef="usd">18,089</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: 9pt">Payments to noncontrolling
    interests holders</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:num-dot-decimal" name="us-gaap:ProceedsFromPaymentsToMinorityShareholders" scale="3" sign="-" unitRef="usd">1,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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromPaymentsToMinorityShareholders" scale="3" sign="-" unitRef="usd">283</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left"></td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net cash used in financing activities from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" scale="3" sign="-" unitRef="usd">8,142</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" scale="3" sign="-" unitRef="usd">18,372</ix:nonFraction>)</td><td style="text-align: left"></td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Net cash provided by financing activities
    from discontinued operations</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:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInDiscontinuedOperations" scale="3" unitRef="usd">280</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInDiscontinuedOperations" scale="3" unitRef="usd">88</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">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:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInFinancingActivities" scale="3" sign="-" unitRef="usd">7,862</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetCashProvidedByUsedInFinancingActivities" scale="3" sign="-" unitRef="usd">18,284</ix:nonFraction>)</td><td style="padding-bottom: 1px; text-align: left"></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; ">
    <td style="text-align: left">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:num-dot-decimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" scale="3" unitRef="usd">52,974</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" scale="3" sign="-" unitRef="usd">6,812</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">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:num-dot-decimal" 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="c53" decimals="-3" format="ixt:num-dot-decimal" 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">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="-3" format="ixt:num-dot-decimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">199,132</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="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">173,959</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

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

</div><p style="font: 8pt Times New Roman,serif; margin: 0">Continued on the following page</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: 10pt Times New Roman,serif; margin: 0"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

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

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

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

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

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

</div><p style="font: 8pt Times New Roman,serif; margin: 0">Continued from the previous page</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; background-color: rgb(229,255,255)">
    <td style="width: 73%; text-align: left; padding-bottom: 3px; padding-left: 9pt">Non cash investing activities &#8211; Accrued capital expenditures</td><td style="width: 3%; padding-bottom: 3px">&#160;</td>
    <td style="width: 1%; border-bottom: Black 3px double; text-align: left">$</td><td style="width: 8%; border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="rex:NonCashInvestingActivitiesAccruedCapitalExpenditures" scale="3" unitRef="usd">34</ix:nonFraction></td><td style="width: 1%; padding-bottom: 3px; text-align: left">&#160;</td><td style="width: 3%; padding-bottom: 3px">&#160;</td>
    <td style="width: 1%; border-bottom: Black 3px double; text-align: left">$</td><td style="width: 9%; border-bottom: Black 3px double; text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="rex:NonCashInvestingActivitiesAccruedCapitalExpenditures" scale="3" unitRef="usd">198</ix:nonFraction></td><td style="width: 1%; padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 9pt">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:num-dot-decimal" name="rex:NonCashFinancingActivitiesEquityAwardsAccrued" scale="3" unitRef="usd">972</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: 9pt">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="-3" format="ixt:num-dot-decimal" 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="c7" decimals="-3" format="ixt:num-dot-decimal" 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: 9pt">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:num-dot-decimal" 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="c7" decimals="-3" format="ixt:num-dot-decimal" 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-bottom: 3px; padding-left: 9pt">Reconciliation of total cash, cash equivalents and restricted cash:</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">&#160;</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">&#160;</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 9pt">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:num-dot-decimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">197,395</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="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CashAndCashEquivalentsAtCarryingValue" scale="3" unitRef="usd">173,075</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: 9pt">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:num-dot-decimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">1,737</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="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:RestrictedCashCurrent" scale="3" unitRef="usd">884</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: 9pt">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="-3" format="ixt:num-dot-decimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">199,132</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="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" scale="3" unitRef="usd">173,959</ix:nonFraction></td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><div>

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

</div><p style="font: 10pt Times New Roman,serif; margin: 0">The accompanying notes are an integral part of these unaudited consolidated
condensed financial statements.</p><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: center"><b>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</b></p><div>

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

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

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

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

</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: 0 99pt 0 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 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: 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: 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: 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="0" 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. On November 18, 2021, the Company
ceased operation of its refined coal business as tax credits could no longer be earned on its operations. Beginning in the third
quarter of fiscal year 2021, the results of the operation of the refined coal business were recognized in discontinued operations.
Prior period amounts have been reclassified to conform with discontinued operations reporting.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">Nature of Operations &#8211; Beginning in the
third quarter of fiscal year 2021, the Company now has <ix:nonFraction contextRef="c5" decimals="0" format="ixt-sec:numwordsen" name="us-gaap:NumberOfOperatingSegments" scale="0" unitRef="pure">one</ix:nonFraction> reportable segment, ethanol and by-products. Within the ethanol and
by-products segment, the Company has equity investments in <ix:nonFraction contextRef="c58" decimals="0" format="ixt-sec:numwordsen" name="us-gaap:NumberOfOperatingSegments" scale="0" unitRef="pure">three</ix:nonFraction> ethanol limited liability companies, <ix:nonFraction contextRef="c59" decimals="0" format="ixt-sec:numwordsen" name="us-gaap:NumberOfOperatingSegments" scale="0" unitRef="pure">two</ix:nonFraction> of which are majority
ownership interests. Prior period amounts have been reclassified to conform to the current segment reporting.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 0"><b>Note 2. <i>Accounting Policies </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></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: 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</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 9; Options: NewSection; Value: 9 --><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_3" id="_SignificantAccountingPoliciesTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"> 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 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: bold 12pt Times New Roman, Times, Serif; margin: 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: 0">Cash and Cash Equivalents</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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: 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: bold 12pt Times New Roman, Times, Serif; margin: 0">&#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: 0">Revenue Recognition</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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: 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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: 0">Cost of Sales</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 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 compensation costs and general facility overhead charges.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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: 0; text-indent: 0pt">Selling, General and Administrative (&#8220;SG&amp;A&#8221;)
Expenses</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 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="c5" decimals="0" format="ixt:num-dot-decimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">210,000</ix:nonFraction> and $<ix:nonFraction contextRef="c6" decimals="0" format="ixt:num-dot-decimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">916,000</ix:nonFraction> in the third quarter of fiscal years 2021 and 2020, respectively and approximately
$<ix:nonFraction contextRef="c0" decimals="0" format="ixt:num-dot-decimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">7,366,000</ix:nonFraction> and $<ix:nonFraction contextRef="c7" decimals="0" format="ixt:num-dot-decimal" name="rex:OutboundFreightCharges" scale="0" unitRef="usd">3,078,000</ix:nonFraction> in the first nine months of fiscal years 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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: 0">Financial Instruments</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 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: 0">&#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: 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: 10; Value: 9 --><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_15" id="_SignificantAccountingPoliciesTextBlock-c0_cont_14"><ix:continuation id="_FairValueOfFinancialInstrumentsPolicy-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: bold 12pt Times New Roman, Times, Serif; margin: 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: 0"><b>Income Taxes</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operation of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#8220;ordinary&#8221; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 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:num-dot-decimal" name="us-gaap:IncomeTaxesPaid" scale="6" unitRef="usd">2.8</ix:nonFraction> million and received no refunds of
income taxes during the nine months ended October 31, 2021. The Company paid income taxes of approximately $<ix:nonFraction contextRef="c7" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxesPaid" scale="6" unitRef="usd">0.5</ix:nonFraction> million and received
refunds of income taxes of approximately $<ix:nonFraction contextRef="c7" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:ProceedsFromIncomeTaxRefunds" scale="6" unitRef="usd">0.7</ix:nonFraction> million during the nine months ended October 31, 2020.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 0; text-indent: 36pt">As of October 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:UnrecognizedTaxBenefits" scale="0" unitRef="usd">8,793,000</ix:nonFraction> and $<ix:nonFraction contextRef="c3" decimals="-4" format="ixt:num-dot-decimal" 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="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued" scale="0" unitRef="usd">35,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c3" decimals="-4" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued" scale="0" unitRef="usd">20,000</ix:nonFraction> at October 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="c60" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:UnrecognizedTaxBenefits" scale="6" sign="-" unitRef="usd">8.8</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: 0"><b>&#160;</b></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: 0"><b>Inventories</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 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. 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:num-dot-decimal" name="us-gaap:InventoryWriteDown" scale="6" unitRef="usd">0.1</ix:nonFraction> million
and approximately $<ix:nonFraction contextRef="c4" decimals="-6" format="ixt:num-dot-decimal" name="us-gaap:InventoryWriteDown" scale="6" unitRef="usd">1.0</ix:nonFraction> million of inventory write-</p></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 11; Value: 9 --><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_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: 0">downs in cost of sales at October 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 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: 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: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">October&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">January&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; padding-left: 5.75pt">Ethanol and other finished goods</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#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:num-dot-decimal" name="us-gaap:InventoryFinishedGoodsNetOfReserves" scale="3" unitRef="usd">7,135</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#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:num-dot-decimal" 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; padding-left: 5.75pt">Work in process</td>
    <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:num-dot-decimal" name="us-gaap:InventoryWorkInProcessNetOfReserves" scale="3" unitRef="usd">5,097</ix:nonFraction></td><td style="text-align: left">&#160;</td>
    <td>&#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:num-dot-decimal" 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-left: 5.75pt">Grain and other raw materials</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:InventoryRawMaterialsNetOfReserves" scale="3" unitRef="usd">17,521</ix:nonFraction></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:InventoryRawMaterialsNetOfReserves" scale="3" unitRef="usd">14,706</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">29,753</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:InventoryNet" scale="3" unitRef="usd">37,426</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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="c0" continuedAt="_PropertyPlantAndEquipmentPolicyTextBlock-c0_cont_1" escape="true" name="us-gaap:PropertyPlantAndEquipmentPolicyTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Property and Equipment </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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-c0_cont_2" id="_PropertyPlantAndEquipmentPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="c61" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">15</ix:nonNumeric> to <ix:nonNumeric contextRef="c62" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">40 years</ix:nonNumeric> for buildings and improvements, and <ix:nonNumeric contextRef="c63" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">3</ix:nonNumeric> to <ix:nonNumeric contextRef="c64" name="us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives">20 years</ix:nonNumeric> for
fixtures and equipment.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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-c0_cont_3" id="_PropertyPlantAndEquipmentPolicyTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 nine months of fiscal year 2021, thus there were no impairment charges in the first nine months
of fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#8220;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.	</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 12pt; 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></ix:continuation></ix:continuation><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: 0"><b>Investments </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 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="c65" decimals="2" format="ixt:num-dot-decimal" 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 </p></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 12; Value: 9 --><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="_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: 0">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: 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 continuedAt="_InvestmentPolicyTextBlock-c0_cont_4" id="_InvestmentPolicyTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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:continuation id="_InvestmentPolicyTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

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

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_34" id="_SignificantAccountingPoliciesTextBlock-c0_cont_33"><ix:continuation id="_DiscontinuedOperationsPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized in discontinued operations. Prior period
amounts have been reclassified to conform with discontinued operations reporting.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><b>&#160;</b></p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_35" id="_SignificantAccountingPoliciesTextBlock-c0_cont_34"><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: 0"><b>Comprehensive Income</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

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

</div><div>

</div><ix:continuation continuedAt="_SignificantAccountingPoliciesTextBlock-c0_cont_37" id="_SignificantAccountingPoliciesTextBlock-c0_cont_36"><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: 0"><b>Accounting Changes and Recently Issued Accounting Standards </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p></ix:nonNumeric></ix:continuation><div>

</div><div>

</div><ix:continuation id="_SignificantAccountingPoliciesTextBlock-c0_cont_37"><ix:continuation id="_NewAccountingPronouncementsPolicyPolicyTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#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: 0"><b>Note 3. <i>Net Sales and Revenue</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 0">&#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: 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 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: 0; text-indent: 36pt"></p></ix:continuation><div>

</div><div>

</div><!-- Field: Page; Sequence: 13; Value: 9 --><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:nonNumeric contextRef="c0" continuedAt="_ScheduleOfSegmentReportingInformationBySegmentTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock"><ix:continuation continuedAt="_RevenueFromContractWithCustomerTextBlock-c0_cont_4" id="_RevenueFromContractWithCustomerTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following tables shows disaggregated revenue
by product:</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_RevenueFromContractWithCustomerTextBlock-c0_cont_5" id="_RevenueFromContractWithCustomerTextBlock-c0_cont_4"><ix:continuation 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/> October 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">Nine Months Ended<br/> October 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; padding-bottom: 1px"><span style="text-decoration:underline">2021</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2020</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2021</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2020</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: 48%; text-align: left; padding-left: 5.4pt">Sales of products, continuing operations
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="c66" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">161,598</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="c67" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">98,850</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="c58" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">441,657</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="c68" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">191,971</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: 5.4pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c69" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">28,717</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="c70" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">20,916</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="c71" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">91,408</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="c72" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">45,314</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: 5.4pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c73" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">11,958</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="c74" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">4,661</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="c75" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">27,364</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="c76" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">9,162</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c77" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">2,930</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="c78" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">562</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="c79" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">7,157</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="c80" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">1,228</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: 5.4pt">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c81" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" sign="-" unitRef="usd">2,144</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c82" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" sign="-" unitRef="usd">777</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c83" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" sign="-" unitRef="usd">4,907</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c84" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" sign="-" unitRef="usd">1,075</ix:nonFraction>)</td><td style="text-align: left"></td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.4pt; padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c85" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">7</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c86" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">5</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c87" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">107</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c88" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">94</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.4pt">Total</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">203,066</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">124,217</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">562,786</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">246,694</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 5.4pt">Sales of products, discontinued operations:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-left: 5.4pt; padding-bottom: 3px">Refined coal<sup>1</sup></td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c89" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">151</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c90" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">34</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c91" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">377</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c92" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">134</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation id="_RevenueFromContractWithCustomerTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><sup>1 </sup>Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"><b>Note 4. <i>Leases</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">At October 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 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: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_3" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_2"><ix:continuation id="_LeaseCostTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td><b>&#160;</b></td>
    <td><b>&#160;</b></td><td colspan="8" style="text-align: center; white-space: nowrap;"><b>Three Months Ended<br/> October 31,</b></td><td><b>&#160;</b></td><td>&#160;&#160;&#160;&#160;&#160;&#160;<b>&#160;</b></td>
    <td colspan="8" style="text-align: center"><b>Nine&#160;Months&#160;Ended<br/> October 31,</b></td><td><b>&#160;</b></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 style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
                                                                                      <td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;&#160;&#160;&#160;</td><td style="font-weight: bold; padding-bottom: 1px; 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; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2020</span></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 style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></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 style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2020</span></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>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2">&#160;</td><td>&#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: 62%; text-align: left; padding-left: 5.4pt">Operating lease expense</td>
    <td style="width: 3%">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">1,690</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">1,545</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">4,805</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseExpense" scale="3" unitRef="usd">4,779</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: 5.4pt; padding-bottom: 1px">Variable lease expense</td>
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">1,090</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">79</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">1,654</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:VariableLeaseCost" scale="3" unitRef="usd">417</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total lease expense</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">2,780</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">1,624</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">6,459</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LeaseCost" scale="3" unitRef="usd">5,196</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
</tr>
</table></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 14; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"></p><div>

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

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_5" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_4"><ix:continuation continuedAt="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_2" id="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; text-align: left; padding-left: 5.75pt"><span style="text-decoration:underline">Years Ended January 31,</span></td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right">Minimum <br/> <span style="text-decoration:underline">Rentals</span></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" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 87%; padding-left: 5.75pt; text-align: left">Remainder of 2022</td><td style="width: 3%">&#160;&#160;</td>
    <td style="width: 1%; text-align: left">&#160;&#160;&#160;&#160;</td><td style="width: 8%; text-align: right">$<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent" scale="3" unitRef="usd">1,506</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: 5.75pt">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:num-dot-decimal" 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; padding-left: 5.75pt">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:num-dot-decimal" 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; padding-left: 5.75pt">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:num-dot-decimal" 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-left: 5.75pt">2026</td><td>&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears" scale="3" unitRef="usd">49</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; 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:num-dot-decimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDue" scale="3" unitRef="usd">12,282</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: 5.75pt">Less: present value discount</td><td>&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="rex:PresentValueDiscount" scale="3" unitRef="usd">730</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px"></td><td style="text-align: right; border-bottom: Black 3px double">$<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseLiability" scale="3" unitRef="usd">11,552</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><span style="text-underline-style: double">&#160;</span></p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_6" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At October 31, 2021, the weighted average remaining
lease term is <ix:nonNumeric contextRef="c2" format="ixt-sec:duryear" name="us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1">2.6</ix:nonNumeric> years, and the weighted average discount rate is <ix:nonFraction contextRef="c2" decimals="4" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent" scale="-2" unitRef="pure">4.87</ix:nonFraction>% for the above leases.<b>	</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><b>&#160;</b></p></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: 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: 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_LeasesOfLesseeDisclosureTextBlock-c0_cont_8" id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_7"><ix:continuation id="_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock-c0_cont_2"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; 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="text-decoration:underline">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; padding-bottom: 1px"><b>Minimum <br/> <span style="text-decoration:underline">Rentals</span></b></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: 87%; text-align: left; padding-left: 5.75pt">2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;&#160;&#160;&#160;</td><td style="width: 8%; text-align: right">$<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" 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; padding-left: 5.75pt">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:num-dot-decimal" 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; padding-left: 5.75pt">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:num-dot-decimal" 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; padding-left: 5.75pt">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:num-dot-decimal" 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-left: 5.75pt">2026</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears" scale="3" unitRef="usd">49</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; 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:num-dot-decimal" 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-left: 5.75pt">Less: present value discount</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="rex:PresentValueDiscount" scale="3" unitRef="usd">994</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px"></td><td style="text-align: right; border-bottom: Black 3px double">$<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:OperatingLeaseLiability" scale="3" unitRef="usd">12,314</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><span style="text-underline-style: double">&#160;</span></p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation id="_LeasesOfLesseeDisclosureTextBlock-c0_cont_8"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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:num-dot-decimal" name="us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent" scale="-2" unitRef="pure">5.26</ix:nonFraction>% for the above leases.</p></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 0"><b>Note 5. <i>Fair Value</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#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: 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></ix:continuation><div>

</div><!-- Field: Page; Sequence: 15; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"></p><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_3" id="_FairValueDisclosuresTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 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: 0">&#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: 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
October 31, 2021 are summarized below (amounts in thousands):</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 85%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="text-align: center; padding-bottom: 1pt"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 1</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 2</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 3</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Fair&#160;Value</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left; padding-left: 5.4pt">Investment in cooperative (1)</td><td style="width: 2%">&#160;</td>
    <td style="width: 3%">&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; text-align: right"><ix:nonFraction contextRef="c95" decimals="-3" format="ixt:num-dot-decimal" 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" 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; padding-left: 5.4pt; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-2">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c94" decimals="-3" format="ixt:num-dot-decimal" id="ix_0_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">430</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-3">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" id="ix_1_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">430</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c94" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsFairValueDisclosure" scale="3" unitRef="usd">430</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c95" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsFairValueDisclosure" scale="3" unitRef="usd">784</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>&#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: 5.4pt">Forward purchase contracts (3)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-4">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c94" decimals="-3" format="ixt:num-dot-decimal" id="ix_8_fact" name="rex:ForwardPurchaseContractsAssetLiabilities" scale="3" unitRef="usd">687</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-5">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" id="ix_9_fact" name="rex:ForwardPurchaseContractsAssetLiabilities" scale="3" unitRef="usd">687</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: 5.4pt; padding-bottom: 1px">Commodity futures liability (3)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-6">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c94" decimals="-3" format="ixt:num-dot-decimal" id="ix_10_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">3,822</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-7">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" id="ix_11_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">3,822</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c94" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">4,509</ix:nonFraction></td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:FinancialLiabilitiesFairValueDisclosure" scale="3" unitRef="usd">4,509</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 16; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"></p><div>

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

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_8" id="_FairValueDisclosuresTextBlock-c0_cont_7"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">summarized below (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_9" id="_FairValueDisclosuresTextBlock-c0_cont_8"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_3" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_2"><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="text-align: right; padding-bottom: 1px"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 1</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 2</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 3</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td style="text-align: right; padding-bottom: 1px"><b>&#160;</b></td><td colspan="3" style="padding-bottom: 1px; text-align: right"><span style="border-bottom: Black 1px solid"><b>Fair&#160;Value</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: right">&#160;</td><td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left; padding-left: 5.4pt">Investment in cooperative (1)</td><td style="width: 2%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; text-align: right"><ix:nonFraction contextRef="c98" decimals="-3" format="ixt:num-dot-decimal" 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: 2%">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" 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-left: 5.4pt">Forward purchase contracts asset (2)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-10">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c97" decimals="-3" format="ixt:num-dot-decimal" id="ix_2_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-11">-</div></td><td style="text-align: left">&#160;</td>
    <td>&#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:num-dot-decimal" id="ix_3_fact" name="rex:ForwardPurchaseContractAsset" scale="3" unitRef="usd">2,144</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: 5.4pt; padding-bottom: 3px">Total assets</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"><ix:nonFraction contextRef="c97" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsFairValueDisclosure" scale="3" unitRef="usd">2,144</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"><ix:nonFraction contextRef="c98" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsFairValueDisclosure" scale="3" unitRef="usd">354</ix:nonFraction></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsFairValueDisclosure" scale="3" unitRef="usd">2,498</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>&#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: 5.4pt; padding-bottom: 3px">Commodity futures liability (3)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><div style="-sec-ix-hidden: hidden-fact-12">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c97" decimals="-3" format="ixt:num-dot-decimal" id="ix_12_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><div style="-sec-ix-hidden: hidden-fact-13">-</div></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" id="ix_13_fact" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" scale="3" unitRef="usd">1,794</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_FairValueDisclosuresTextBlock-c0_cont_10" id="_FairValueDisclosuresTextBlock-c0_cont_9"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_4" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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_11" id="_FairValueDisclosuresTextBlock-c0_cont_10"><ix:continuation continuedAt="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_5" id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(2) <ix:footnote id="ix_0_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_12" id="_FairValueDisclosuresTextBlock-c0_cont_11"><ix:continuation id="_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock-c0_cont_5"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">(3) <ix:footnote id="ix_2_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: 0; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

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

</div><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 0"><b>Note 6. <i>Property and Equipment</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 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: 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: 65%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31, <br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#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; padding-left: 5.75pt">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#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:num-dot-decimal" name="us-gaap:LandAndLandImprovements" scale="3" unitRef="usd">27,329</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#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:num-dot-decimal" name="us-gaap:LandAndLandImprovements" scale="3" unitRef="usd">27,329</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: 5.75pt">Buildings and improvements</td><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:num-dot-decimal" name="us-gaap:BuildingsAndImprovementsGross" scale="3" unitRef="usd">23,613</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" name="us-gaap:BuildingsAndImprovementsGross" scale="3" unitRef="usd">23,613</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: 5.75pt">Machinery, equipment and fixtures</td><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:num-dot-decimal" name="us-gaap:MachineryAndEquipmentGross" scale="3" unitRef="usd">294,906</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" name="us-gaap:MachineryAndEquipmentGross" scale="3" unitRef="usd">293,762</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Construction in progress</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ConstructionInProgressGross" scale="3" unitRef="usd">2,006</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ConstructionInProgressGross" scale="3" unitRef="usd">215</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: 5.75pt">&#160;</td><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:num-dot-decimal" name="us-gaap:PropertyPlantAndEquipmentGross" scale="3" unitRef="usd">347,854</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" name="us-gaap:PropertyPlantAndEquipmentGross" scale="3" unitRef="usd">344,919</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Less: accumulated depreciation</td><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:num-dot-decimal" name="us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" scale="3" unitRef="usd">206,649</ix:nonFraction>)</td><td style="text-align: left"></td><td>&#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:num-dot-decimal" name="us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" scale="3" unitRef="usd">194,058</ix:nonFraction>)</td><td style="text-align: left"></td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">141,205</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:PropertyPlantAndEquipmentNet" scale="3" unitRef="usd">150,861</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>


</div><!-- Field: Page; Sequence: 17; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"></p><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: 0"><b>Note 7. <i>Accrued Expenses and Other Current Liabilities </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock-c0_cont_2" id="_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfAccruedLiabilitiesTableTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</ix:nonNumeric>	</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation><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: 65%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued payroll and related items</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;&#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:num-dot-decimal" name="us-gaap:EmployeeRelatedLiabilitiesCurrent" scale="3" unitRef="usd">3,727</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#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:num-dot-decimal" 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; padding-left: 5.75pt">Accrued utility charges</td><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:num-dot-decimal" name="us-gaap:AccruedUtilitiesCurrent" scale="3" unitRef="usd">3,473</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" 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; padding-left: 5.75pt">Accrued transportation related items</td><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:num-dot-decimal" name="us-gaap:AccruedLiabilitiesAndOtherLiabilities" scale="3" unitRef="usd">578</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" 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; padding-left: 5.75pt">Accrued real estate taxes</td><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:num-dot-decimal" name="us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent" scale="3" unitRef="usd">1,419</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" 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; padding-left: 5.75pt">Commodity futures</td><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:num-dot-decimal" name="rex:CommodityFutures" scale="3" unitRef="usd">3,822</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" 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; padding-left: 5.75pt">Forward purchase contracts</td><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:num-dot-decimal" name="rex:ForwardPurchaseContractsAssetLiabilities" scale="3" unitRef="usd">687</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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="text-align: left; padding-left: 5.75pt">Accrued income taxes</td><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:num-dot-decimal" name="us-gaap:AccruedIncomeTaxes" scale="3" unitRef="usd">62</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" 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; ">
    <td style="padding-left: 5.75pt">Other</td><td>&#160;</td>
    <td>&#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:num-dot-decimal" name="us-gaap:OtherAccruedLiabilitiesCurrent" scale="3" unitRef="usd">353</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#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:num-dot-decimal" name="us-gaap:OtherAccruedLiabilitiesCurrent" scale="3" unitRef="usd">362</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: 3px; padding-left: 5.75pt">Total</td><td style="padding-bottom: 3px">&#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:num-dot-decimal" name="us-gaap:AccruedLiabilitiesCurrent" scale="3" unitRef="usd">14,121</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">&#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:num-dot-decimal" name="us-gaap:AccruedLiabilitiesCurrent" scale="3" unitRef="usd">8,754</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: 0"><b>&#160;</b></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: 0"><b>Note 8. <i>Derivative Financial Instruments </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></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: 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: 0">&#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: 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: 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 continuedAt="_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock-c0_cont_2" 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 style="text-align: center; padding-left: 5.4pt"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="6" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Asset Derivatives</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif">Fair Value </span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="6" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Liability Derivatives</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif">Fair Value </span></b></td><td style="text-align: left"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 5.4pt"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31, </b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 5.4pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 40%; text-align: justify; padding-left: 5.4pt">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; 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: 10%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-15">-</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: 10%; text-align: right"><ix:nonFraction contextRef="c106" decimals="-3" format="ixt:num-dot-decimal" id="ix_17_fact" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">3,822</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right"><ix:nonFraction contextRef="c107" decimals="-3" format="ixt:num-dot-decimal" id="ix_18_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; padding-left: 5.4pt">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="c108" decimals="-3" format="ixt:num-dot-decimal" id="ix_14_fact" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">430</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="c109" decimals="-3" format="ixt:num-dot-decimal" id="ix_15_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"><ix:nonFraction contextRef="c108" decimals="-3" format="ixt:num-dot-decimal" id="ix_16_fact" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">687</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-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; padding-left: 5.4pt">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:num-dot-decimal" name="us-gaap:DerivativeAssets" scale="3" unitRef="usd">430</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:num-dot-decimal" 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:num-dot-decimal" name="us-gaap:DerivativeLiabilities" scale="3" unitRef="usd">4,509</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:num-dot-decimal" 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></ix:continuation></ix:continuation><div>

</div><!-- Field: Page; Sequence: 18; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"></p><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_5" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_4"><ix:continuation continuedAt="_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock-c0_cont_3" id="_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(1) <ix:footnote id="ix_4_footnote" xml:lang="en-US">Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately
<ix:nonFraction contextRef="c99" decimals="0" format="ixt:num-dot-decimal" name="rex:CommodityFuturesQuantity" scale="0" unitRef="bu">690,000</ix:nonFraction> bushels of corn and <ix:nonFraction contextRef="c100" decimals="-5" format="ixt:num-dot-decimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="gal">5.5</ix:nonFraction> million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately <ix:nonFraction contextRef="c101" decimals="-5" format="ixt:num-dot-decimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">6.9</ix:nonFraction> million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately <ix:nonFraction contextRef="c102" decimals="-5" format="ixt:num-dot-decimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">2.3</ix:nonFraction>
million bushels of corn at October 31, 2021. There were <ix:nonFraction contextRef="c103" decimals="-6" format="ixt:fixed-zero" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">no</ix:nonFraction> long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.</ix:footnote></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 23.75pt; text-align: justify">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_6" id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_5"><ix:continuation id="_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock-c0_cont_3"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 36pt; text-align: justify">(2) <ix:footnote id="ix_3_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 <ix:nonFraction contextRef="c104" decimals="-5" format="ixt:num-dot-decimal" name="rex:ForwardPurchaseContractsQuantity" scale="6" unitRef="bu">5.7</ix:nonFraction> million
bushels of corn at October 31, 2021 and <ix:nonFraction contextRef="c105" decimals="-5" format="ixt:num-dot-decimal" name="rex:ForwardPurchaseContractsQuantity" scale="6" unitRef="bu">6.4</ix:nonFraction> million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately <ix:nonFraction contextRef="c104" decimals="-5" format="ixt:num-dot-decimal" name="rex:CommodityFuturesQuantity" scale="6" unitRef="bu">6.7</ix:nonFraction> million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of January 31, 2021.</ix:footnote></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p></ix:continuation></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: 0; text-indent: 36pt">As of October 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 October 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:num-dot-decimal" name="us-gaap:DebtInstrumentCollateralAmount" scale="0" unitRef="usd">1,737,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DebtInstrumentCollateralAmount" scale="0" unitRef="usd">1,657,000</ix:nonFraction> to secure the Company&#8217;s
derivative position at October 31, 2021 and January 31, 2021, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 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: 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: 0; text-indent: 36pt">The Company recognized losses (included in net
sales and revenue) on derivative financial instruments of approximately $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">2,144,000</ix:nonFraction> and $<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">777,000</ix:nonFraction> for the third 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:num-dot-decimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">4,907,000</ix:nonFraction> and $<ix:nonFraction contextRef="c7" decimals="0" format="ixt:num-dot-decimal" name="rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue" scale="0" unitRef="usd">1,076,000</ix:nonFraction> for the first nine months of fiscal years 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock-c0_cont_9"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company recognized gains (included in cost
of sales) on derivative financial instruments of approximately $<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">5,474,000</ix:nonFraction> and losses of approximately $<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">26,000</ix:nonFraction> for the third 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:num-dot-decimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">2,562,000</ix:nonFraction> and approximately $<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GainLossOnDerivativeInstrumentsNetPretax" scale="0" unitRef="usd">1,785,000</ix:nonFraction> for the first nine months of fiscal years 2021 and 2020, respectively.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 19; Value: 9 --><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:nonNumeric contextRef="c0" continuedAt="_InvestmentTextBlock-c0_cont_1" escape="true" name="us-gaap:InvestmentTextBlock"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Note 9. <i>Investments </i></b></p><p style="font: 12pt Courier New, Courier, Monospace; margin: 0">&#160;</p></ix:nonNumeric><div>

</div><div>

</div><ix:continuation continuedAt="_InvestmentTextBlock-c0_cont_2" id="_InvestmentTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">T<ix:nonNumeric contextRef="c0" continuedAt="_EquityMethodInvestmentsTextBlock-c0_cont_1" escape="true" name="us-gaap:EquityMethodInvestmentsTextBlock">he following table summarizes the Company&#8217;s
equity method investment at October 31, 2021 and January 31, 2021 (dollars in thousands):</ix:nonNumeric></p><p style="font: 12pt Courier New, Courier, Monospace; margin: 0">&#160;</p></ix:continuation><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>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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: 1pt; white-space: nowrap;"><span style="text-decoration:underline">Entity</span></td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">Ownership&#160;Percentage</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">October 31, 2021</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">January 31, 2021</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#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: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 28%; text-align: left">Big River</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 19%; text-align: center"><ix:nonFraction contextRef="c2" decimals="3" format="ixt:num-dot-decimal" 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: 19%; text-align: right">$<ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:EquityMethodInvestments" scale="3" unitRef="usd">30,715</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: 19%; text-align: right">$<ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" 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: 0">&#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: 0; text-indent: 36pt">Undistributed earnings of the Company&#8217;s
equity method investee totaled approximately $<ix:nonFraction contextRef="c2" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" scale="6" unitRef="usd">10.7</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c3" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees" scale="6" unitRef="usd">9.4</ix:nonFraction> million at October 31, 2021 and January 31, 2021,
respectively. The Company received dividends from its equity method investee of approximately $1.5 million and approximately $<ix:nonFraction contextRef="c7" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:EquityMethodInvestmentDividendsOrDistributions" scale="6" unitRef="usd">2.5</ix:nonFraction>
million in the first nine months of fiscal year 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation><div>

</div><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: 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: 0">&#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: 90%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Three Months Ended<br/> October 31,</td><td style="white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Nine Months Ended<br/> October 31,</td><td style="white-space: nowrap;">&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 44%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;&#160;&#160;&#160;$</td><td style="width: 9%; text-align: right"><ix:nonFraction contextRef="c110" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">347,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: right">&#160;&#160;$</td><td style="width: 9%; text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">209,397</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 9%; text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">966,858</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 9%; text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:Revenues" scale="3" unitRef="usd">537,155</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</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c110" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">7,092</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">15,419</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">27,993</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:GrossProfit" scale="3" unitRef="usd">13,041</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 from continuing operations</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c110" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">3,390</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">11,167</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">26,802</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" scale="3" unitRef="usd">1,627</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c110" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">3,390</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c111" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">11,167</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c112" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">26,802</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right"><ix:nonFraction contextRef="c113" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:NetIncomeLoss" scale="3" unitRef="usd">1,627</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 0; text-indent: 36pt">At October 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $<ix:nonFraction contextRef="c2" decimals="-4" format="ixt:num-dot-decimal" name="us-gaap:ShortTermInvestments" scale="0" unitRef="usd">21,620,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:num-dot-decimal" 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: 0">&#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: 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:num-dot-decimal" 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:num-dot-decimal" 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: 0"><b>&#160;</b></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: 0"><b>Note 10. <i>Employee Benefits</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 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="c114" decimals="-4" format="ixt:num-dot-decimal" 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</p></ix:continuation><div>


</div><!-- Field: Page; Sequence: 20; Value: 9 --><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="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_3" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0pt">awards in its consolidated
financial statements over the requisite service period on a straight-line basis. At October 31, 2021, <ix:nonFraction contextRef="c114" decimals="0" format="ixt:num-dot-decimal" 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><p style="font: 12pt Times New Roman, Times, Serif; margin: 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"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">At October 31, 2021 and
January 31, 2021, unrecognized compensation cost related to nonvested restricted stock was approximately $<ix:nonFraction contextRef="c115" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" scale="0" unitRef="usd">126,000</ix:nonFraction> and $<ix:nonFraction contextRef="c116" decimals="-3" format="ixt:num-dot-decimal" 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: 0; text-align: justify; text-indent: 36pt">&#160;</p></ix:continuation><div>

</div><div>

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

</div><ix:continuation continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_5" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_4"><ix:continuation continuedAt="_NonvestedRestrictedStockSharesActivityTableTextBlock-c0_cont_2" id="_NonvestedRestrictedStockSharesActivityTableTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="11" style="font-weight: bold; text-align: center">Nine Months Ended October 31, 2021</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#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="text-align: center; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/> <span style="text-decoration:underline">Shares</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average
    Grant<br/> Date Fair Value<br/> <span style="text-decoration:underline">(000&#8217;s)</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Remaining<br/> Vesting Term<br/> <span style="text-decoration:underline">(in years)</span></b></span></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%">Non-Vested at January 31, 2021</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">19,705</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">$</td><td style="width: 2%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">1,398</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right"><ix:nonNumeric contextRef="c0" format="ixt-sec:duryear" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1">1</ix:nonNumeric></td><td style="width: 3%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>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:num-dot-decimal" 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:num-dot-decimal" 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>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="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" scale="3" unitRef="shares">12,447</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" scale="3" unitRef="usd">900</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-bottom: 2px">Non-Vested at October 31, 2021</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">10,061</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">773</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; padding-bottom: 2px"><ix:nonNumeric contextRef="c0" format="ixt-sec:duryear" name="rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition">2</ix:nonNumeric></td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>


</div><div>

</div><ix:continuation continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_6" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_5"><ix:continuation id="_NonvestedRestrictedStockSharesActivityTableTextBlock-c0_cont_2"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="11" style="font-weight: bold; text-align: center">Nine Months Ended October 31, 2020</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#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="text-align: center; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/> <span style="text-decoration:underline">Shares</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Grant<br/> Date&#160;Fair&#160;Value<br/> <span style="text-decoration:underline">(000&#8217;s)</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Remaining<br/> Vesting Term<br/> <span style="text-decoration:underline">(in years)</span></b></span></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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%">Non-Vested at January 31, 2020</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right"><ix:nonFraction contextRef="c53" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">28,576</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">$</td><td style="width: 2%; text-align: right"><ix:nonFraction contextRef="c53" decimals="-3" format="ixt:num-dot-decimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">2,193</ix:nonFraction></td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right"><ix:nonNumeric contextRef="c7" format="ixt-sec:duryear" name="us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1">2</ix:nonNumeric></td><td style="width: 3%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" scale="3" unitRef="shares">6,158</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" scale="3" unitRef="usdPershares">416</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>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="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" scale="3" unitRef="shares">15,029</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested" scale="3" unitRef="usd">1,211</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; 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="padding-bottom: 2px">Non-Vested at October 31, 2020</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c47" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="3" unitRef="shares">19,705</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c47" decimals="-3" format="ixt:num-dot-decimal" name="rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue" scale="3" unitRef="usd">1,398</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; padding-bottom: 2px"><ix:nonNumeric contextRef="c7" format="ixt-sec:duryear" name="rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition">2</ix:nonNumeric></td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_7" id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_6"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">The above tables include
<ix:nonFraction contextRef="c117" decimals="0" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="0" unitRef="shares">5,714</ix:nonFraction> and <ix:nonFraction contextRef="c118" decimals="0" format="ixt:num-dot-decimal" name="us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" scale="0" unitRef="shares">14,777</ix:nonFraction> non-vested shares at October 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</p></ix:continuation><div>


</div><!-- Field: Page; Sequence: 21; Value: 9 --><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:continuation id="_CompensationAndEmployeeBenefitPlansTextBlock-c0_cont_7"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0pt">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: 0; text-align: justify; text-indent: 36pt"><b>&#160;</b></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: 0"><b>Note 11<i>. Income Taxes </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operations of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#8220;ordinary&#8221; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_3" id="_IncomeTaxDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company&#8217;s income tax provision from
continuing operations was approximately $<ix:nonFraction contextRef="c5" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" unitRef="usd">4.3</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c6" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" unitRef="usd">5.0</ix:nonFraction> million for the three months ended October 31, 2021
and 2020, respectively. The Company&#8217;s income tax provision (benefit) from continuing operations was approximately $<ix:nonFraction contextRef="c0" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" unitRef="usd">8.3</ix:nonFraction> million
and approximately $(<ix:nonFraction contextRef="c7" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefit" scale="6" sign="-" unitRef="usd">0.4</ix:nonFraction>) million for the nine months ended October 31, 2021 and 2020, respectively. The Company&#8217;s income
tax provision for the third quarter of fiscal year 2020 included a provision of approximately $<ix:nonFraction contextRef="c119" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability" scale="6" unitRef="usd">1.8</ix:nonFraction> million related to reversing
previously recognized tax benefits associated with the lengthening of a net operating loss carryback allowed by the CARES Act as
the Company no longer had a year to date estimated taxable loss.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 0; text-indent: 36pt">The Company&#8217;s income tax benefit from discontinued
operations was approximately $<ix:nonFraction contextRef="c5" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="6" unitRef="usd">4.9</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c6" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="6" unitRef="usd">1.0</ix:nonFraction> million for the three months ended October 31, 2021 and 2020,
respectively. The Company&#8217;s income tax benefit from discontinued operations was approximately $<ix:nonFraction contextRef="c0" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="6" unitRef="usd">12.6</ix:nonFraction> million and $<ix:nonFraction contextRef="c7" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="6" unitRef="usd">4.9</ix:nonFraction> million
for the nine months ended October 31, 2021 and 2020, respectively. The benefit is derived from the level of tax credits generated
from the refined coal business and the tax benefit of the loss from operations. Through its refined coal business, the Company
earned production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities for up
to 20 years.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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: 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. The Company ceased operation of its refined coal business on 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: 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: 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: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_IncomeTaxDisclosureTextBlock-c0_cont_7" id="_IncomeTaxDisclosureTextBlock-c0_cont_6"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</p></ix:continuation><div>


</div><!-- Field: Page; Sequence: 22; Value: 9 --><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="_IncomeTaxDisclosureTextBlock-c0_cont_8" id="_IncomeTaxDisclosureTextBlock-c0_cont_7"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">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: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_IncomeTaxDisclosureTextBlock-c0_cont_8"><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>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Nine Months Ended<br/> October 31,</td><td>&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 65%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 9%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">8,400</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 9%; text-align: right"><ix:nonFraction contextRef="c53" decimals="-3" format="ixt:num-dot-decimal" 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:num-dot-decimal" name="us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" scale="3" unitRef="usd">15</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions" scale="3" sign="-" unitRef="usd">57</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="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions" scale="3" unitRef="usd">413</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 2px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">8,828</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c47" decimals="-3" format="ixt:num-dot-decimal" name="rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" scale="3" unitRef="usd">7,313</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>

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

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

</div><div>

</div><ix:continuation continuedAt="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_2" id="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_1"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized as discontinued operations. <ix:nonNumeric contextRef="c0" continuedAt="_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock-c0_cont_1" escape="true" name="us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock">Below is a
table reflecting certain items of the Consolidated Condensed Statement of Operations that were reclassified as discontinued operations
for the periods indicated (amounts in thousands):</ix:nonNumeric></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_3" id="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_2"><ix:continuation continuedAt="_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock-c0_cont_2" id="_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock-c0_cont_1"><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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 October 31,</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended October 31,</td><td>&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 52%; text-align: left"><span style="font-family: Times New Roman, Times, Serif">Net sales and revenue<sup>1</sup></span></td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 7%; text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" id="ix_19_fact" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">151</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: 7%; text-align: right"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" id="ix_20_fact" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">34</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: 7%; text-align: right"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" id="ix_21_fact" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">377</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: 7%; text-align: right"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" id="ix_22_fact" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue" scale="3" unitRef="usd">134</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Cost of Sales</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" scale="3" unitRef="usd">3,033</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" scale="3" unitRef="usd">1,284</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" scale="3" unitRef="usd">8,015</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" scale="3" unitRef="usd">4,375</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Gross loss</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" scale="3" sign="-" unitRef="usd">2,882</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:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" scale="3" sign="-" unitRef="usd">1,250</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:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" scale="3" sign="-" unitRef="usd">7,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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" scale="3" sign="-" unitRef="usd">4,241</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Selling, general and administrative</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" scale="3" unitRef="usd">230</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" scale="3" sign="-" unitRef="usd">12</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" scale="3" unitRef="usd">665</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(<ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" scale="3" sign="-" unitRef="usd">107</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income before income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(<ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome" scale="3" sign="-" unitRef="usd">3,112</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:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome" scale="3" sign="-" unitRef="usd">1,238</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:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome" scale="3" sign="-" unitRef="usd">8,303</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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome" scale="3" sign="-" unitRef="usd">4,134</ix:nonFraction>)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Benefit for income taxes</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="3" unitRef="usd">4,927</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="3" unitRef="usd">985</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="3" unitRef="usd">12,566</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation" scale="3" unitRef="usd">4,863</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net income from discontinued operations, net of tax</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">1,815</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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" sign="-" unitRef="usd">253</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:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">4,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="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax" scale="3" unitRef="usd">729</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Net loss attributable to noncontrolling interests</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">137</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">58</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">370</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" scale="3" sign="-" unitRef="usd">193</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 2px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c5" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" unitRef="usd">1,952</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">(<ix:nonFraction contextRef="c6" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" sign="-" unitRef="usd">195</ix:nonFraction>)</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c0" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" unitRef="usd">4,633</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c7" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" scale="3" unitRef="usd">922</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p></ix:continuation></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_4" id="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_3"><ix:continuation id="_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><sup>1 </sup><ix:footnote id="ix_5_footnote" xml:lang="en-US">Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.</ix:footnote></p></ix:continuation></ix:continuation><div>




</div><!-- Field: Page; Sequence: 23; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><div>

</div><ix:nonNumeric contextRef="c120" continuedAt="_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock-c120_cont_1" escape="true" name="us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock"><ix:continuation continuedAt="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_5" id="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Below is a table reflecting certain items of
the Consolidated Condensed Balance Sheets that were reclassified as discontinued operations for the periods indicated (amounts
in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation></ix:nonNumeric><div>

</div><div>

</div><ix:continuation id="_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock-c0_cont_5"><ix:continuation id="_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock-c120_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="white-space: nowrap;">&#160;</td>
    <td>&#160;</td><td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>October 31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Assets:</td>
    <td>&#160;</td><td style="text-align: right">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Current assets:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 69%; text-align: left; padding-left: 10pt">Prepaid expenses and other</td>
    <td style="width: 3%">&#160;</td><td style="width: 5%; text-align: right">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 2%; text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" scale="3" unitRef="usd">146</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 7%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 2%; text-align: right"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" scale="3" unitRef="usd">34</ix:nonFraction></td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; padding-bottom: 1px">Inventory</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationInventory1" scale="3" unitRef="usd">246</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationInventory1" scale="3" unitRef="usd">454</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt">Total current assets</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" scale="3" unitRef="usd">392</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" name="us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" scale="3" unitRef="usd">488</ix:nonFraction></td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; padding-bottom: 1px">Property and equipment, net</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" scale="3" unitRef="usd">233</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" scale="3" unitRef="usd">2,325</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total Assets</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation" scale="3" unitRef="usd">625</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation" scale="3" unitRef="usd">2,813</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td>Liabilities:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Current liabilities:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt">Accounts payable, trade</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationAccountsPayable" scale="3" unitRef="usd">253</ix:nonFraction></td><td style="text-align: left">&#160;</td><td>&#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:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationAccountsPayable" scale="3" unitRef="usd">334</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; padding-bottom: 1px">Accrued expenses and other current liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" scale="3" unitRef="usd">29</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" scale="3" unitRef="usd">201</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total current liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" scale="3" sign="-" unitRef="usd">282</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" scale="3" sign="-" unitRef="usd">535</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" scale="3" unitRef="usd">282</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" scale="3" unitRef="usd">535</ix:nonFraction></td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 2px">Net assets included in discontinued operations</td>
    <td>&#160;</td><td style="padding-bottom: 2px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c2" decimals="-3" format="ixt:num-dot-decimal" name="rex:NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" scale="3" unitRef="usd">343</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double"><ix:nonFraction contextRef="c3" decimals="-3" format="ixt:num-dot-decimal" name="rex:NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" scale="3" unitRef="usd">2,278</ix:nonFraction></td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table></ix:continuation></ix:continuation><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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: 0"><b>Note 13. <i>Commitments and Contingencies</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></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: 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), 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: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation continuedAt="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_3" id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_2"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined forward purchase
contracts for approximately <ix:nonFraction contextRef="c121" decimals="-5" format="ixt:num-dot-decimal" name="rex:QuantityOfBushelsUnderForwardPurchaseContract" scale="6" unitRef="bu">12.4</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="c121" decimals="1" format="ixt:num-dot-decimal" name="rex:QuantityOfNaturalGasUnderSalesCommitment" scale="0" unitRef="mmbtu">2.1</ix:nonFraction> million MmBtu (million British thermal unit) of natural gas.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately <ix:nonFraction contextRef="c121" decimals="-5" format="ixt:num-dot-decimal" name="rex:QuantityOfEthanolUnderSalesCommitment" scale="6" unitRef="gal">50.3</ix:nonFraction> million gallons of ethanol, approximately <ix:nonFraction contextRef="c121" decimals="0" format="ixt:num-dot-decimal" name="rex:QuantityOfDistillersGrainsUnderSalesCommitment" scale="0" unitRef="t">113,000</ix:nonFraction> tons of distillers grains and approximately <ix:nonFraction contextRef="c121" decimals="-5" format="ixt:num-dot-decimal" name="rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments" scale="6" unitRef="lb">13.5</ix:nonFraction> million
pounds of non-food grade corn oil.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p></ix:continuation><div>

</div><div>

</div><ix:continuation id="_CommitmentsAndContingenciesDisclosureTextBlock-c0_cont_4"><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="c122" decimals="-5" format="ixt:num-dot-decimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">2.0</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c123" decimals="-5" format="ixt:num-dot-decimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">0.5</ix:nonFraction> million in the third quarter
of fiscal years 2021 and 2020, respectively. Such fees totaled approximately $<ix:nonFraction contextRef="c124" decimals="-5" format="ixt:num-dot-decimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">5.1</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c125" decimals="-5" format="ixt:num-dot-decimal" name="rex:FeesIncurredBySubsidiary" scale="6" unitRef="usd">1.9</ix:nonFraction> million for the
nine months ended October 31, 2021 and 2020, respectively.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 24; Value: 9 --><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><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: 0"><b>Note 14. <i>Related-Party Transactions</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></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: 0; text-indent: 36pt">During the third quarters of fiscal years 2021
and 2020, One Earth and NuGen purchased approximately $<ix:nonFraction contextRef="c126" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">22.9</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c127" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">16.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="c128" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">60.3</ix:nonFraction>
million and approximately $<ix:nonFraction contextRef="c129" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">34.0</ix:nonFraction> million for the nine months ended October 31, 2021 and 2020, respectively. The Company had amounts
payable to related parties of approximately $<ix:nonFraction contextRef="c121" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="6" unitRef="usd">1.7</ix:nonFraction> million and approximately $<ix:nonFraction contextRef="c130" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:AccountsPayableRelatedPartiesCurrent" scale="6" unitRef="usd">0.7</ix:nonFraction> million at October 31, 2021 and January 31, 2021,
respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">During the third quarters of fiscal years 2021
and 2020, the Company recognized (reduced) commission expense of approximately $<ix:nonFraction contextRef="c131" decimals="0" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="0" unitRef="usd">40,000</ix:nonFraction> and approximately $(<ix:nonFraction contextRef="c132" decimals="0" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="0" sign="-" unitRef="usd">15,000</ix:nonFraction>), payable to
the minority investor in the refined coal entity. During the first nine months of fiscal years 2021 and 2020, the Company recognized
(reduced) commission expense of approximately $<ix:nonFraction contextRef="c133" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" unitRef="usd">0.2</ix:nonFraction> million and approximately $(<ix:nonFraction contextRef="c134" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:CostsAndExpensesRelatedParty" scale="6" sign="-" unitRef="usd">0.2</ix:nonFraction>) million, respectively. The commission expense
is associated with the refined coal business which is classified within discontinued operations. The Company had accrued liabilities
related to the commission expense of approximately $<ix:nonFraction contextRef="c135" decimals="-5" format="ixt:num-dot-decimal" name="us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes" scale="6" unitRef="usd">0.1</ix:nonFraction> million at January 31, 2021, recorded within current liabilities held for
sale.</p></ix:continuation><div>

</div><!-- Field: Page; Sequence: 25; Value: 9 --><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><div><a id="x1_c102599a008"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><div>

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At October 31, 2021, we had investments in three
ethanol limited liability companies, in two of which we have a majority ownership interest. 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: 0; text-indent: 36pt">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse; font: 12pt Times New Roman, Times, Serif">
<tr>
    <td style="vertical-align: bottom; width: 59%; layout-grid-mode: line; text-align: center; border-top: Black 1px solid; border-left: Black 1px solid; white-space: nowrap;"><b>Entity</b></td>
    <td style="width: 2%; border-top: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="vertical-align: top; width: 9%; text-align: center; letter-spacing: 3pt; border-top: Black 1px solid; white-space: nowrap;"><span style="letter-spacing: 0pt"><b>Trailing
    12<br/>
    Months<br/>
    Ethanol<br/>
    Gallons<br/>
    Shipped</b></span></td>
    <td style="width: 2%; border-top: Black 1px solid">&#160;</td>
    <td style="width: 1%; border-top: Black 1px solid; border-left: Black 1px solid; white-space: nowrap;">&#160;</td>
    <td style="vertical-align: bottom; width: 9%; text-align: center; letter-spacing: 3pt; border-top: Black 1px solid; white-space: nowrap;"><span style="letter-spacing: 0pt"><b>REX&#8217;s<br/>
    Current<br/>
    Effective<br/>
    Ownership<br/>
    Interest</b></span></td>
    <td style="width: 2%; border-top: Black 1px solid">&#160;</td>
    <td style="width: 1%; border-top: Black 1px solid; border-left: Black 1px solid; white-space: nowrap;">&#160;</td>
    <td style="vertical-align: top; width: 12%; text-align: center; letter-spacing: 3pt; border-top: Black 1px solid; white-space: nowrap;"><span style="letter-spacing: 0pt"><b>Current
    Effective<br/>
    Ownership of<br/>
    Trailing 12<br/>
    Months Ethanol<br/>
    Gallons Shipped</b></span></td>
    <td style="width: 3%; border-top: Black 1px solid; border-right: Black 1px solid; white-space: nowrap;">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 3pt; border-left: Black 1px solid; border-top: Black 1px solid; border-bottom: Black 1px solid">One Earth Energy, LLC</td>
    <td style="border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-top: Black 1px solid; border-bottom: Black 1px solid">137.9 M</td>
    <td style="border-top: Black 1px solid; border-bottom: Black 1px solid">&#160;</td>
    <td style="border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-top: Black 1px solid; border-bottom: Black 1px solid">75.8%</td>
    <td style="border-top: Black 1px solid; border-bottom: Black 1px solid">&#160;</td>
    <td style="border-top: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-top: Black 1px solid; border-bottom: Black 1px solid">104.5 M</td>
    <td style="border-right: Black 1px solid; border-bottom: Black 1px solid; border-top: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 3pt; border-left: Black 1px solid; border-bottom: Black 1px solid">NuGen Energy, LLC</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">137.8 M</td>
    <td style="border-bottom: Black 1px solid">&#160;</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">99.7%</td>
    <td style="border-bottom: Black 1px solid">&#160;</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">137.4 M</td>
    <td style="border-right: Black 1px solid; border-bottom: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 3pt; border-left: Black 1px solid">Big River Resources, LLC:</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">&#160;</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">&#160;</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">&#160;</td>
    <td style="border-right: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 13pt; border-left: Black 1px solid">Big River Resources W Burlington, LLC</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">110.3 M</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">10.3%</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">11.4 M</td>
    <td style="border-right: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 13pt; border-left: Black 1px solid">Big River Resources Galva, LLC</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">116.0 M</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">10.3%</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">11.9 M</td>
    <td style="border-right: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 13pt; border-left: Black 1px solid">Big River United Energy, LLC</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">125.3 M</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">5.7%</td>
    <td>&#160;</td>
    <td style="border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right">7.1 M</td>
    <td style="border-right: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 13pt; border-left: Black 1px solid; border-bottom: Black 1px solid">Big River Resources Boyceville, LLC</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">63.6 M</td>
    <td style="border-bottom: Black 1px solid">&#160;</td>
    <td style="border-left: Black 1px solid; border-bottom: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">10.3%</td>
    <td style="border-bottom: Black 1px solid">&#160;</td>
    <td style="border-left: Black 1px solid; border-bottom: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">6.6 M</td>
    <td style="border-right: Black 1px solid; border-bottom: Black 1px solid">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line; padding-left: 3pt; border-left: Black 1px solid; border-bottom: Black 1px solid">Total</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">690.9 M</td>
    <td style="border-bottom: Black 1px solid">&#160;</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">&#160;</td>
    <td style="border-bottom: Black 1px solid">&#160;</td>
    <td style="border-bottom: Black 1px solid; border-left: Black 1px solid">&#160;</td>
    <td style="layout-grid-mode: line; text-align: right; border-bottom: Black 1px solid">278.9 M</td>
    <td style="border-right: Black 1px solid; border-bottom: Black 1px solid">&#160;</td></tr>
</table><div>
</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><div>

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 26; Value: 9 --><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: 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: 0"><b>&#160;</b></p><div>

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 until 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 were 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 were able to be earned for refined coal produced and
sold by our facility until November 18, 2021. Absent the tax credits, our refined coal operations would not be profitable and we
ceased operations of the facility on November 18, 2021. As such, beginning in the third quarter of fiscal year 2021, we are presenting
the income from this operation within discontinued operations. At the conclusion of the operations we are obligated to remove the
equipment from the site but do not expect the cost to exceed $250,000.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 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><!-- Field: Page; Sequence: 27; Value: 9 --><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: 0"><b>Future Energy</b></p><div>

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

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

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">During the three months ended October 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: 0"><b>&#160;</b></p><div>

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><div>

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

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">In recent years, operating results in our ethanol
and by-products business 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: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</p><div>


</div><!-- Field: Page; Sequence: 28; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">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 continues
to evolve and the duration and impact of the outbreak remains uncertain. We did not incur significant disruptions in our business
operations from COVID-19 for the three and nine months ended October 31, 2021.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 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 for corn over the
Chicago Board of Trade prices for corn during the first nine months of fiscal year 2021.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 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. Proposed 2022 volumes from the EPA were due by November 30, 2021, but have not yet been released. The EPA
has recently proposed giving all obligated parties more time to prove compliance with the 2020 and 2021 biofuel blending mandates.
The EPA is also proposing to change the way subsequent years&#8217; RFS compliance deadlines are determined.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">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. There have been additional
petitions for waivers filed based upon COVID-19 restrictions.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">RFS II requirements have been reduced through
small refiner waivers (SRWs) issued by the EPA. The SRWs issued have been for approximately 4.0 billion gallons for 85 refinery
exemptions for 2016 through 2018. In January 2020, the U.S. Court of Appeals for the 10<sup>th</sup> Circuit overturned the EPA&#8217;s
granting of refinery exemptions for three refineries on two separate grounds. Two of the refiners appealed the decision to the
U.S. Supreme Court. 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 10<sup>th</sup> Circuit on 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 handing of SRWs.</p><div>


</div><!-- Field: Page; Sequence: 29; Value: 9 --><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: 0; text-indent: 36pt">Throughout fiscal year 2020 and the first nine
months of fiscal year 2021, operating results in our refined coal business were affected by inconsistent utility plant demand (our
only customer). As we are no longer able to earn tax credits from refined coal beginning November 18, 2021, we have ceased operation
of the facility after that date and have classified it as discontinued operations.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 30; Value: 9 --><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: 0 36pt 0 0"><b>Comparison of Three and Nine Months Ended October 31,
2021 and 2020</b></p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following tables summarizes our results from
operations (amounts in thousands):</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended</td><td>&#160;</td></tr>
<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">October 31,</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">October 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#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="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">203,066</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">124,217</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">562,786</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">246,694</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Cost of sales</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">177,914</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">105,288</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">504,003</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">235,435</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">Gross profit</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">25,152</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">18,929</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">58,783</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">11,259</td><td style="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><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">Income (loss) before income taxes</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">19,226</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">16,349</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">39,219</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(577)</td><td style="text-align: left; padding-bottom: 2pt">&#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">(Provision) benefit for income taxes</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(4,338)</td><td style="text-align: left; padding-bottom: 2pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(5,037)</td><td style="text-align: left; padding-bottom: 2pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(8,329)</td><td style="text-align: left; padding-bottom: 2pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">444</td><td style="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">Net income (loss) attributable to REX common shareholders (continuing operations)</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">13,326</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">9,036</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">26,305</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(1,464)</td><td style="text-align: left; padding-bottom: 2pt">&#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">Net income (loss) attributable to REX common shareholders (discontinued operations)</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,952</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">(195)</td><td style="text-align: left; padding-bottom: 2pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">4,633</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">922</td><td style="text-align: left">&#160;</td></tr>
</table><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 36pt">The following table summarizes net sales and revenue by product
group:</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended</td><td>&#160;</td></tr>
<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">October 31,</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">October 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#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="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">161,598</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">98,850</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">441,657</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">191,971</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">28,717</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">20,916</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">91,408</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">45,314</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">11,958</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,661</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">27,364</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,162</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">2,930</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">562</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,157</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,228</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">(2,144)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(777)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,907)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,075)</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="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">7</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">5</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">107</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">94</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Total, continuing operations</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">203,066</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">124,217</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">562,786</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">246,694</td><td style="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"><span style="font-family: Times New Roman, Times, Serif">Refined coal (discontinued operations)<sup> 1</sup></span></td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">151</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">34</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">377</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">134</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><sup>1 </sup>Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.</p><div>


</div><!-- Field: Page; Sequence: 31; Value: 9 --><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: 0; text-indent: 36pt">The following table summarizes selected operating
data:</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended</td><td>&#160;</td></tr>
<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">October 31,</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">October 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2020</span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#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: 48%">Average selling price per gallon of ethanol (net of hedging)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 8%; text-align: right">2.31</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 8%; text-align: right">1.31</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 8%; text-align: right">2.12</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 8%; text-align: right">1.28</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: right">&#160;</td><td style="text-align: right">69.0</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">74.6</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">207.9</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">149.4</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: right">$</td><td style="text-align: right">184.85</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">129.38</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">200.02</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">136.49</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: right">&#160;</td><td style="text-align: right">155,356</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">161,666</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">456,996</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">331,990</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: right">$</td><td style="text-align: right">0.59</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">0.24</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">0.47</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</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: right">&#160;</td><td style="text-align: right">20.2</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">19.0</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">57.9</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">37.2</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: right">$</td><td style="text-align: right">92.10</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">56.68</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">83.97</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">52.44</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: right">&#160;</td><td style="text-align: right">31,814</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">9,924</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">85,235</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">&#160;</td><td style="text-align: right">23,431</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: right">$</td><td style="text-align: right">6.45</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3.28</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">6.05</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3.57</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: right">$</td><td style="text-align: right">4.58</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">2.09</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3.69</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">2.87</td><td style="text-align: left">&#160;</td></tr>
</table><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Net sales and revenue in the quarter ended October
31, 2021 increased approximately 63% compared to the prior year&#8217;s third quarter. Net sales and revenue in the first nine
months of fiscal year 2021 increased approximately 128%. We had significantly lower production and sales volumes in our ethanol
and by-products business during the first nine 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 nine months of fiscal year 2021. In addition, stronger
commodity pricing in the third quarter of 2021 compared to 2020 was the primary contributor to an increase in sales between the
three month periods and an incremental contributor to the increase in sales between the nine month periods.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Ethanol sales increased in the third quarter
of fiscal year 2021 compared to the third quarter of fiscal year 2020 as the average price per gallon sold increased 76%, offset
slightly by an 8% decrease in gallons sold. Ethanol sales increased in the first nine months of fiscal year 2021 compared to the
first nine months of fiscal year 2020 as the number of gallons sold increased 39% and the average selling price per gallon increased
66% 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: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Dried distillers grains sales increased in the
third quarter of fiscal year 2021 compared to the third quarter of fiscal year 2020 as the average price per ton sold increased
43%, offset slightly by a 4% decrease in tons sold. Dried distillers grains sales increased in the first nine months of fiscal
year 2021 compared to the first nine months of fiscal year 2020 as the number of tons sold increased 38% and the average selling
price per ton increased 47% over the prior fiscal year. The increase in the dried distillers grains selling</p><div>


</div><!-- Field: Page; Sequence: 32; Value: 9 --><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: 0">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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Non-food grade corn oil sales increased in the
third quarter of fiscal year 2021 compared to the third quarter of fiscal year 2020 as the number of pounds sold increased 6% and
the average selling price per pound increased 146% over the prior year third quarter. Non-food grade corn oil sales increased in
the first nine months of fiscal year 2021 compared to the first nine months of fiscal year 2020 as the number of pounds sold increased
56% and the average selling price per pound increased 88% 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: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Modified distillers grains sales increased in
the third quarter of fiscal year 2021 compared to the third quarter of fiscal year 2020 as the number of tons sold increased 221%
and the average selling price per ton increased 62% over the prior year third quarter. Modified distillers grains sales increased
in the first nine months of fiscal year 2021 compared to the first nine months of fiscal year 2020 as the number of tons sold increased
264% 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: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Losses on derivative financial instruments, included
in net sales and revenue, of approximately $2.1 million in the third 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.8 million during the third quarter of fiscal year 2020. Losses on derivative financial instruments, included
in net sales and revenue, were approximately $4.9 million in the first nine months of fiscal year 2021 compared to $1.1 million
in the first nine months of fiscal year 2020.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Gross profit for the third quarter of fiscal
year 2021 increased approximately $6.2 million compared to the prior year&#8217;s third quarter. This was primarily caused by significantly
increased commodity prices during the third quarter of fiscal year 2021 compared to the reduced levels during the third quarter
of fiscal year 2020 discussed above. The crush spread for the third quarter of fiscal year 2021 was $0.11 per gallon of ethanol
sold compared to $0.19 per gallon of ethanol sold during the third quarter of fiscal year 2020. The selling price per gallon of
ethanol sold increased 76% for the third quarter of fiscal year 2021 compared to the third quarter of fiscal year 2020. There was
a 97% increase in the cost per bushel of corn during the same periods. During the third 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.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Grain accounted for approximately 84% ($148.7
million) of our cost of sales during the third quarter of fiscal year 2021 compared to approximately 79% ($83.4 million) during
the third quarter of fiscal year 2020. Natural gas accounted for approximately 5% ($8.1 million) of our cost of sales during the
third quarter of fiscal year 2021 compared to approximately 4% ($4.0 million) during the third quarter of fiscal year 2020. The
grain and natural gas expenditure increases were primarily attributable to the higher costs of both corn and natural gas with stable
production levels in the third quarter of fiscal year 2021 compared to the third quarter of fiscal year 2020.</p><div>


</div><!-- Field: Page; Sequence: 33; Value: 9 --><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: 0; text-indent: 36pt">Gross profit for the first nine months of fiscal
year 2021 increased approximately $47.5 million compared to the first nine months of the prior year. This was primarily the result
of significantly higher production and sales volumes during the first nine months of fiscal year 2021 compared to the reduced levels
during the first nine months of fiscal year 2020 discussed above. The crush spread for the first nine months of fiscal year 2021
was approximately $0.06 per gallon of ethanol sold compared to $0.05 per gallon of ethanol sold during the first nine months of
fiscal year 2020. The selling price per gallon of ethanol sold increased 66% for the first nine months of fiscal year 2021 compared
to the first nine months of fiscal year 2020, slightly below the 69% increase in the cost per bushel of corn during the same periods.
In addition, the higher sales volumes discussed above and the higher prices of by-products contributed to the increase in gross
profit during the first nine months of fiscal year 2021 compared to the first nine months of fiscal year 2020. During the first
nine months of fiscal year 2020, the impact from the COVID-19 outbreak and lower gasoline pricing resulted in lower ethanol and
corn prices, which severely impacted operations and resulted in the consolidated ethanol plants being idled for a portion of the
year and the lower gross profit.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Grain accounted for approximately 85% ($427.0
million) of our cost of sales during the first nine months of fiscal year 2021 compared to approximately 76% ($178.3 million) during
the first nine months of fiscal year 2020. Natural gas accounted for approximately 4% ($18.0 million) of our cost of sales during
the first nine months of fiscal year 2021 compared to approximately 5% ($11.3 million) during the first nine months of fiscal year
2020. The grain increase was primarily attributable to the higher production levels in the first nine months of fiscal year 2021
compared to the reduced production levels in the first nine months of fiscal year 2020 and the significant rise in corn prices
during the first nine months of fiscal year 2021. The natural gas unit price increase was offset by 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: 0 4.5pt 0 0">&#160;</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">SG&amp;A expenses were approximately $6.3 million
for the third quarter of fiscal year 2021, significantly higher than the approximately $4.3 million of expenses for the third quarter
of fiscal year 2020. SG&amp;A expenses were approximately $22.4 million for the first nine months of fiscal year 2021, significantly
higher than the approximately $13.4 million of expenses for the first nine months of fiscal year 2020. A majority of the increase
results from higher shipping costs as more sales contracts provided for shipping to be paid by us in the first nine months of fiscal
year 2021 compared to the first nine months 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: 34; Value: 9 --><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: 0; text-indent: 36pt">During the third quarter of fiscal year 2021,
we recognized income of approximately $0.3 million compared to income of approximately $1.2 million for the third quarter of fiscal
year 2020, from our equity investment in Big River. We recognized income of approximately $2.8 million during the first nine months
of fiscal year 2021 compared to income of approximately $0.2 million during the first nine months of fiscal year 2020. Big River
has interests in four ethanol production plants that shipped approximately 415 million gallons in the trailing twelve months ended
October 31, 2021 and has an effective ownership of ethanol gallons shipped for the same period of approximately 359 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 Courier New, Courier, Monospace; margin: 0; text-indent: 36pt">&#160;</p><div>

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

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn tax credit related to the refined coal business, and as such, have ceased operation of that business. As earning these credits
is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated &#8220;ordinary&#8221;
income and we have now classified the refined coal business as discontinued operations, we have returned to using the annual effective
tax rate method to calculate the provision or benefit for income taxes from continuing operations beginning in the three and nine
month periods ending October 31, 2021. Our income tax provision from continuing operations was approximately $4.3 million and approximately
$5.0 million for the three months ended October 31, 2021 and 2020, respectively, and was approximately $8.3 million and a benefit
of approximately $0.4 million for the nine months ended October 31, 2021 and 2020, respectively. We had a slight benefit in the
prior year nine month period based upon pre-tax losses from continuing operations for that period versus pre-tax income from continuing
operations in the current period. Our income tax provision for the third quarter of fiscal year 2020 includes a provision of approximately
$1.8 million related to reversing previously recognized tax benefits associated with the lengthening of a net operating loss carryback
allowed by the CARES Act as the Company no longer had a year to date estimated taxable loss.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As a result of the foregoing, net income from
continuing operations was approximately $14.9 million for the third quarter of fiscal year 2021 compared to approximately $11.3
million for the third quarter of fiscal year 2020. Net income from continuing operations was approximately $30.9 million for</p><div>


</div><!-- Field: Page; Sequence: 35; Value: 9 --><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: 0">the first nine months of fiscal year 2021 compared to net loss of
approximately $0.1 million for the first nine months of fiscal year 2020.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Income from continuing operations related to
noncontrolling interests was approximately $1.6 million for the third quarter of fiscal year 2021 compared to $2.3 million for
the third quarter of fiscal years 2020. Income from continuing operations related to noncontrolling interests was approximately
$4.6 million for the nine months of fiscal year 2021 compared to approximately $1.3 million for the first nine months of fiscal
years 2020. These amounts represent the other owners&#8217; share of the income or loss of NuGen and One Earth. Noncontrolling
interests related to the refined coal entity is included in discontinued operations.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As a result of the foregoing, net income attributable
to REX common shareholders from continuing operations for the third quarter of fiscal year 2021 was approximately $13.3 million,
an increase of approximately $4.3 million from net income attributable to REX common shareholders from continuing operations of
approximately $9.0 million for the third quarter of fiscal year 2020. Net income attributable to REX common shareholders from continuing
operations for the first nine months of fiscal year 2021 was approximately $26.3 million, an increase of approximately $27.8 million
from net loss attributable to REX common shareholders from continuing operations of approximately $1.5 million for the first nine
months of fiscal year 2020.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company ceased operation of its refined coal
business as tax credits could no longer be earned on its operation beginning November 18, 2021. Beginning in the third quarter of
fiscal year 2021, the results of the operation of the refined coal business will be recognized as discontinued operations. The
refined coal business operated at a loss but generated tax credits that normally exceeded the operating loss. Net income
attributable to REX common shareholders from discontinued operations, net of tax, for the third quarter of fiscal year 2021 was
approximately $2.0 million, an increase of $2.1 million from the net loss attributable to REX common shareholder from discontinued
operations, net of tax, of approximately $0.2 million for the third quarter of fiscal year 2020. Net income attributable to REX common
shareholders from discontinued operations, net of tax, for the first nine months of fiscal year 2021 was approximately $4.6 million,
an increase of approximately $3.7 million from net income attributable to REX common shareholders from discontinued operations, net
of tax of approximately $0.9 million for the first nine months of fiscal year 2020.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Through its refined coal operation, the Company
earned production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities for up
to 20 years. The income tax benefit generated from discontinued operations was $4.9 million and $1.0 million for the three months
ended October 31, 2021 and 2020 respectively. The income tax benefit generated from discontinued operations was $12.6 million and
$4.9 million for the nine months ended October 31, 2021 and 2020, respectively.</p><div>

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Net cash provided by operating activities was
approximately $50.4 million for the first nine months of fiscal year 2021, compared to approximately $21.5 million for the first
nine months of fiscal year 2020. For the first nine months of fiscal year 2021, cash was provided by net income from continuing
operations of approximately $30.9 million, adjusted for non-cash items of approximately $21.8 million, which</p><div>


</div><!-- Field: Page; Sequence: 36; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">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. We received dividends from Big River of approximately $1.5 million during the first nine months
of fiscal year 2021. An increase in the balance of accounts receivable used cash of approximately $20.3 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 decreased by approximately $7.7 million, primarily a result of the timing of receipt of raw materials and the shipment
of finished goods. A decrease in the balance of other assets of approximately $1.9 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.3 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 $10.9 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 $2.8 million, which
was primarily a result of operating lease payments. Discontinued operations used cash from operating activities of $6.4 million.</p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Net cash provided by operating activities was
approximately $21.5 million for the first nine months of fiscal year 2020. For the first nine months of fiscal year 2020, cash
was used by a net loss from continuing operations of approximately $0.1 million, adjusted for non-cash items of approximately $17.0
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. We received
dividends from Big River of approximately $2.5 million during the first nine months of fiscal year 2020. A decrease in the balance
of accounts receivable provided cash of approximately $0.5 million, which was primarily a result of the timing of customer shipments.
Inventories decreased by approximately $14.0 million, which was primarily a result of the timing of receipt of raw materials and
shipments of finished goods. A decrease in the balance of accounts payable used cash of approximately $4.4 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
$5.0 million, which was primarily a result of payments of operating leases and incentive compensation. Discontinued operations
used cash from operating activities of $2.2 million.</p><div>

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Cash of approximately $10.4 million was provided
by investing activities for the first nine months of fiscal year 2021, compared to approximately $10.0 million used during the
first nine months of fiscal year 2020. During the first nine months of fiscal year 2021, we had capital expenditures of approximately
$4.2 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 nine months of fiscal year
2021, we purchased certificates of deposit of approximately $67.4 million and certificates of deposit of approximately $82.0 million
matured. The certificates of deposit had maturities of less than one year and we classified as short-term investments. 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><!-- Field: Page; Sequence: 37; Value: 9 --><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><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Cash of approximately $10.0 million was used
in investing activities for the first nine months of fiscal year 2020. During the first nine months of fiscal year 2020, we had
capital expenditures of approximately $6.6 million, primarily for the purchase of land at One Earth Energy. During the first nine
months of fiscal year 2020, we purchased certificates of deposit (classified as short-term investments) of approximately $68.2
million. During the first nine months of fiscal year 2020, certificates of deposit (classified as short-term investments) of approximately
$65.3 million matured.</p><div>

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

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

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 during the fiscal 2021 third quarter completed
a 500,000 share buyback authorization from the Board of Directors and obtained authorization to repurchase an additional 500,000
shares. From the new authorization, we still are authorized to purchase approximately 449,000 shares. We also plan to seek and
evaluate investment opportunities, including ethanol and/or energy related, carbon capture 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: 0">&#160;</p><div>

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 2-D seismic survey has been completed and the data is
being processed. We also plan to do 3-D seismic survey testing which will be more involved as it will be done on more land and
requires the running of linear grids across the property after receiving permission from the landowners. A permit for drilling a
test well has been received from the Illinois Department of Natural Resources and the drilling has commenced. We will need to do
extensive testing, modeling, and computer simulation to predict the behavior of the carbon dioxide after it is injected into the
test well. Further work and research is needed to determine if this will be a feasible location for carbon sequestration and
storage.</p><div>

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

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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</p><div>


</div><!-- Field: Page; Sequence: 38; Value: 9 --><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: 0">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: 39; Value: 9 --><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><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_c102599a009"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 3. <i>Quantitative and Qualitative Disclosures About Market Risk</i></b></span></p><div>


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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 October 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: 0; text-indent: 27.5pt; color: red">&#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="color: black; font-weight: bold; padding-bottom: 1px"><span style="text-decoration:underline">Commodity</span></td><td style="color: black; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; font-weight: bold; padding-bottom: 1px"><span style="font-family: Times New Roman, Times, Serif; color: black"><b>Estimated Total<br/> Volume for<br/> <span style="text-decoration:underline">12 Months </span></b></span></td><td style="padding-bottom: 1px; color: black; font-weight: bold">&#160;</td><td style="color: black; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td style="color: black; font-weight: bold; padding-bottom: 1px; text-align: left"><span style="text-decoration:underline">Unit&#160;of&#160;Measure</span></td><td style="color: black; font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="4"><span style="font-family: Times New Roman, Times, Serif; color: black"><b>Decrease in Pre-tax<br/> Income From a 10%<br/> <span style="text-decoration:underline">Adverse Change in Price</span></b></span></td>
    <td>&#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>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td>
    <td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 36%; color: black">Ethanol</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 15%; color: black; text-align: right; padding-right: 15pt">280,000</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 5%; color: black">&#160;</td>
    <td style="width: 15%; color: black; text-align: left">Gallons</td><td style="width: 2%; color: black">&#160;</td>
    <td style="width: 9%">&#160;&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 2%; color: black; text-align: right">69,669</td><td style="width: 9%; color: black; text-align: left">&#160;</td>
    <td style="width: 1%">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black">Corn</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right; padding-right: 15pt">100,000</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">Bushels</td><td style="color: black">&#160;</td>
    <td>&#160;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">48,528</td><td style="color: black; text-align: left">&#160;</td>
    <td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left">Distillers Grains</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right; padding-right: 15pt">725</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">Tons</td><td style="color: black">&#160;</td>
    <td>&#160;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">10,509</td><td style="color: black; text-align: left">&#160;</td>
    <td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left">Non-food grade Corn Oil</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right; padding-right: 15pt">73,700</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">Pounds</td><td style="color: black">&#160;</td>
    <td>&#160;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">3,595</td><td style="color: black; text-align: left">&#160;</td>
    <td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left">Natural Gas</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right; padding-right: 15pt">7,400</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">MmBtu</td><td style="color: black">&#160;</td>
    <td>&#160;</td>
    <td style="color: black; text-align: left">$</td><td style="color: black; text-align: right">2,733</td><td style="color: black; text-align: left">&#160;</td>
    <td>&#160;</td></tr>
</table><div>

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

</div><div><a id="x1_c102599a010"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 4. <i>Controls and Procedures</i></b></span></p><div>


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

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 40; Value: 9 --><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 -->40<!-- 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_c102599a011"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"><b>&#160;</b></p><div>

</div><div><a id="x1_c102599a012"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 1. <i>Legal Proceedings</i></b></span></p><div>


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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"><b>&#160;</b></p><div>

</div><div><a id="x1_c102599a013"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 1A. <i>Risk Factors </i></b></span></p><div>


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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"><b>&#160;</b></p><div>

</div><div><a id="x1_c102599a014"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 2. <i>Unregistered Sales of Equity Securities and Use of Proceeds </i></b></span></p><div>


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

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

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

</div><div><a id="x1_c102599a015"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif; color: black"><b>Item 3. <i>Defaults upon Senior Securities</i></b></span></p><div>


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

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

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

</div><div><a id="x1_c102599a016"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 4. <i>Mine Safety Disclosures</i></b></span></p><div>


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

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

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

</div><div><a id="x1_c102599a017"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 5. <i>Other Information</i></b></span></p><div>


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

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

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

</div><div><a id="x1_c102599a018"></a></div><p style="font: 12pt Courier New, Courier, Monospace; margin-top: 0pt; margin-bottom: 0pt"><span style="font-family: Times New Roman, Times, Serif"><b>Item 6. <i>Exhibits</i></b></span></p><div>


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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 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: 0 0 0 76.5pt; text-align: justify; text-indent: -40.5pt">&#160;</p><div>

</div><table cellpadding="0" cellspacing="0" style="font: 12pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top">
    <td style="width: 52pt; layout-grid-mode: line">&#160;</td>
    <td style="width: 36pt; layout-grid-mode: line"><span style="font-family: Times New Roman, Times, Serif">31</span></td>
    <td style="layout-grid-mode: line"><span style="font-family: Times New Roman, Times, Serif"><a href="c102599_ex31.htm" style="-sec-extract: exhibit">Rule 13a-14(a)/15d-14(a) Certifications</a></span></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">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line">&#160;</td>
    <td style="layout-grid-mode: line"><span style="font-family: Times New Roman, Times, Serif">32</span></td>
    <td style="layout-grid-mode: line"><span style="font-family: Times New Roman, Times, Serif"><a href="c102599_ex32.htm" style="-sec-extract: exhibit">Section 1350 Certifications</a></span></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">&#160;</td></tr>
<tr style="vertical-align: top">
    <td style="layout-grid-mode: line">&#160;</td>
    <td style="layout-grid-mode: line"><span style="font-family: Times New Roman, Times, Serif">101</span></td>
    <td style="layout-grid-mode: line"><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 October 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: 41; Value: 9 --><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 -->41<!-- 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_c102599a019"></a></div><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: center"><b>SIGNATURES</b></p><div>

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

</div><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><div>

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

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

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

</div><table cellpadding="0" cellspacing="0" style="font: 12pt Courier New, Courier, Monospace; width: 100%; border-collapse: collapse">
<tr>
    <td style="vertical-align: top; width: 30%; padding-left: 10pt; layout-grid-mode: line; text-decoration: underline; text-align: center; text-indent: -10pt"><span style="font-family: Times New Roman, Times, Serif; color: black"><b><span style="text-decoration:underline">Signature</span></b></span></td>
    <td style="width: 5%">&#160;</td>
    <td style="vertical-align: bottom; width: 30%; layout-grid-mode: line; text-decoration: underline; text-align: center"><span style="font-family: Times New Roman, Times, Serif; color: black"><b><span style="text-decoration:underline">Title</span></b></span></td>
    <td style="width: 5%">&#160;</td>
    <td style="vertical-align: bottom; width: 30%; layout-grid-mode: line; text-decoration: underline; text-align: center"><span style="font-family: Times New Roman, Times, Serif; color: black"><b><span style="text-decoration:underline">Date</span></b></span></td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="layout-grid-mode: line; text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>
        <p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 10pt; text-align: center; text-indent: -10pt"><span style="text-decoration:underline">/s/ Zafar Rizvi</span></p>
        <p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 10pt; text-align: center; text-indent: -10pt">(Zafar Rizvi)</p></td>
    <td>&#160;</td>
    <td>
        <p style="font: 12pt Times New Roman, Times, Serif; margin: 0">Chief Executive Officer and President</p>
        <p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 5pt">(Chief Executive Officer)</p></td>
    <td>&#160;</td>
    <td style="layout-grid-mode: line; text-align: center"><span style="font-family: Times New Roman, Times, Serif">December 3, 2021</span></td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; layout-grid-mode: line; text-align: center; text-indent: -10pt"><span style="font-family: Times New Roman, Times, Serif; text-underline-style: dotted">&#160;</span></td>
    <td>&#160;</td>
    <td style="layout-grid-mode: line">&#160;</td>
    <td>&#160;</td>
    <td style="layout-grid-mode: line">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-align: center"><span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">/s/ Douglas L. Bruggeman</span><br/>
 (Douglas L. Bruggeman)</span></td>
    <td>&#160;</td>
    <td>
        <p style="font: 12pt Times New Roman, Times, Serif; margin: 0">Vice President, Finance and Treasurer</p>
        <p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 5pt">(Chief Financial Officer)</p></td>
    <td>&#160;</td>
    <td style="layout-grid-mode: line; text-align: center"><span style="font-family: Times New Roman, Times, Serif">December 3, 2021</span></td></tr>
</table><div>
</div><!-- Field: Page; Sequence: 42; Value: 9 --><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 -->42<!-- Field: /Sequence --></td></tr></table></div><div>
    </div><!-- Field: /Page --><div>


</div><div style="display: none"><ix:header>
<ix:hidden>
<ix:nonFraction contextRef="c93" id="hidden-fact-0" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c94" id="hidden-fact-1" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c93" id="hidden-fact-2" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c95" id="hidden-fact-3" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c93" id="hidden-fact-4" name="rex:ForwardPurchaseContractsAssetLiabilities" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c95" id="hidden-fact-5" name="rex:ForwardPurchaseContractsAssetLiabilities" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c93" id="hidden-fact-6" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c95" id="hidden-fact-7" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c96" id="hidden-fact-8" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c97" id="hidden-fact-9" name="rex:InvestmentInCooperativeFairValueDisclosure" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c96" id="hidden-fact-10" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c98" id="hidden-fact-11" name="rex:ForwardPurchaseContractAsset" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c96" id="hidden-fact-12" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c98" id="hidden-fact-13" name="us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c106" id="hidden-fact-14" name="us-gaap:DerivativeAssets" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c107" id="hidden-fact-15" name="us-gaap:DerivativeAssets" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<ix:nonFraction contextRef="c109" id="hidden-fact-16" name="us-gaap:DerivativeLiabilities" unitRef="usd" xsi:nil="true"></ix:nonFraction>
<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">Q3</ix:nonNumeric>
<ix:nonNumeric contextRef="c0" name="dei:DocumentFiscalYearFocus">2021</ix:nonNumeric>
<ix:nonNumeric contextRef="c0" name="dei:EntityCentralIndexKey">0000744187</ix:nonNumeric>
</ix:hidden>
<ix:references><link:schemaRef xlink:href="rex-20211031.xsd" xlink:type="simple"></link:schemaRef></ix:references>
<ix:resources xmlns="http://www.xbrl.org/2003/instance"><ix:relationship fromRefs="hidden-fact-2 ix_0_fact hidden-fact-3 ix_1_fact hidden-fact-10 ix_2_fact hidden-fact-11 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-4 ix_8_fact hidden-fact-5 ix_9_fact hidden-fact-6 ix_10_fact hidden-fact-7 ix_11_fact hidden-fact-12 ix_12_fact hidden-fact-13 ix_13_fact" toRefs="ix_2_footnote"></ix:relationship>
<ix:relationship fromRefs="ix_14_fact ix_15_fact ix_16_fact hidden-fact-16" toRefs="ix_3_footnote"></ix:relationship>
<ix:relationship fromRefs="hidden-fact-14 hidden-fact-15 ix_17_fact ix_18_fact" toRefs="ix_4_footnote"></ix:relationship>
<ix:relationship fromRefs="ix_19_fact ix_20_fact ix_21_fact ix_22_fact" toRefs="ix_5_footnote"></ix:relationship>
<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-10-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-12-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-10-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>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2021-01-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>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-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:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-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:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-07-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c13">
  <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="c14">
  <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-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</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:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</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:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c22">
  <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-10-31</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:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </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:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-31</xbrli:instant>
  </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:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-01-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:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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-07-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-07-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-07-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-07-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-07-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-07-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-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</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-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c40">
  <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-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</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:CommonStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-10-31</xbrli:instant>
  </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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-10-31</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:RetainedEarningsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-10-31</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:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-10-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c47">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2020-10-31</xbrli:instant>
  </xbrli:period>
</xbrli:context><xbrli:context id="c48">
  <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="c49">
  <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="c50">
  <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="c51">
  <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="c52">
  <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="c53">
  <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="c54">
  <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-10-31</xbrli:endDate>
  </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:NoncontrollingInterestMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:TreasuryStockMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c58">
  <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-10-31</xbrli:endDate>
  </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: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-10-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:IncomeStatementLocationAxis">rex:ProvisionForIncomeTaxesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </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="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>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="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>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c63">
  <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-10-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: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-10-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="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="us-gaap:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:StatementBusinessSegmentsAxis">rex:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c70">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+B833s546ggZjNEAY8sy8gN3UvAYr1IRraEQPXDc2nbwqYl8fDjrytBWTimWg2LrkdwyRNulZFld3fQY5U6qaRotouMHjroSQYwyGJWdjBOi3i3aJ7PgWJFEdNehu7AswmLydnSIcdqfWDMX/sJyImN] CSR-->
    <xbrli:segment>
      <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </xbrli:period>
</xbrli:context><xbrli:context id="c77">
  <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-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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:StatementBusinessSegmentsAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-31</xbrli:endDate>
  </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:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-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:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </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="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-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="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="c97">
  <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="c98">
  <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="c99">
  <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-10-31</xbrli:instant>
  </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="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:EthanolMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </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="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="c102">
  <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:LiabilityMember</xbrldi:explicitMember>
      <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </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="us-gaap:ContractWithCustomerDurationAxis">rex:LongBuyMember</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="c104">
  <xbrli:entity>
    <xbrli:identifier scheme="http://www.sec.gov/CIK">0000744187</xbrli:identifier>
    <xbrli:segment>
      <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-10-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: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="c106">
  <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-10-31</xbrli:instant>
  </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: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="c108">
  <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-10-31</xbrli:instant>
  </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: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="c110">
  <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-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-31</xbrli:endDate>
  </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="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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: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-10-31</xbrli:instant>
  </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:RelatedPartyTransactionsByRelatedPartyAxis">rex:RexShareholdersMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </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: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="c117">
  <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-10-31</xbrli:instant>
  </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: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-10-31</xbrli:instant>
  </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:TaxCreditCarryforwardAxis">rex:CARESActNetOperatingLossCarrybackMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:AssetsMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:instant>2021-10-31</xbrli:instant>
  </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="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="dei:LegalEntityAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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="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="c131">
  <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-08-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-08-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2021-02-01</xbrli:startDate>
    <xbrli:endDate>2021-10-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:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</xbrldi:explicitMember>
    </xbrli:segment>
  </xbrli:entity>
  <xbrli:period>
    <xbrli:startDate>2020-02-01</xbrli:startDate>
    <xbrli:endDate>2020-10-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:RelatedPartyTransactionsByRelatedPartyAxis">rex:RefinedCoalMember</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="gal">
  <xbrli:measure>utr:gal</xbrli:measure>
</xbrli:unit><xbrli:unit id="mmbtu">
  <xbrli:measure>utr:MMBTU</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:resources></ix:header>

</div></body></html>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31
<SEQUENCE>2
<FILENAME>c102599_ex31.htm
<TEXT>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>


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

<P STYLE="margin-top: 0pt; font: bold 10pt Times New Roman, Times, Serif; margin-bottom: 0pt; text-align: center">CERTIFICATIONS</P>

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

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

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

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

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;</P>

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;</P>

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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:</P>

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

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(a)&nbsp;&nbsp; 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="margin: 0pt 0; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(b)&nbsp;&nbsp; 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="margin: 0pt 0 0pt 36pt; text-indent: 18pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(c)&nbsp;&nbsp; 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="margin: 0pt 0 0pt 36pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(d)&nbsp;&nbsp; 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>


<!-- Field: Page; Sequence: 8 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Arial, Helvetica, Sans-Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></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%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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):</P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 25pt">(a)&nbsp;&nbsp; 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: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-indent: 25pt">(b)&nbsp;&nbsp; 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: 10pt Times New Roman, Times, Serif; margin: 0pt 0">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="width: 100%; border-collapse: collapse; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 60%; layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="width: 35%; layout-grid-mode: line">Date: December 3, 2021</TD>
    <TD STYLE="width: 5%; layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">/s/ Zafar Rizvi</TD>
    <TD STYLE="layout-grid-mode: line"></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">Zafar Rizvi</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><I>Chief Executive Officer and President</I></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 8 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Arial, Helvetica, Sans-Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></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%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

<P STYLE="margin-top: 0pt; font: bold 10pt Times New Roman, Times, Serif; margin-bottom: 0pt; text-align: center">CERTIFICATIONS</P>

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

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

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

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

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;</P>

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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;</P>

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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:</P>

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

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(a)&nbsp;&nbsp; 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="margin: 0pt 0; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(b)&nbsp;&nbsp; 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="margin: 0pt 0 0pt 36pt; text-indent: 18pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(c)&nbsp;&nbsp; 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="margin: 0pt 0 0pt 36pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(d)&nbsp;&nbsp; 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>

<!-- Field: Page; Sequence: 8 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Arial, Helvetica, Sans-Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></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%"><PAGE></PAGE></TD></TR></TABLE></DIV>
    <!-- Field: /Page -->


<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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):</P>

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

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(a)&nbsp;&nbsp; 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="margin: 0pt 0 0pt 36pt; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<P STYLE="margin: 0pt 0 0pt 36pt; text-indent: 25pt; font: 10pt Times New Roman, Times, Serif">(b)&nbsp;&nbsp; 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="margin: 0pt 0; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="width: 100%; border-collapse: collapse; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 60%; layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="width: 35%; layout-grid-mode: line">Date: December 3, 2021</TD>
    <TD STYLE="width: 5%; layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">/s/ Douglas L. Bruggeman</TD>
    <TD STYLE="layout-grid-mode: line"></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line">Douglas L. Bruggeman</TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><I>Vice President, Finance, Treasurer and</I></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD>
    <TD STYLE="layout-grid-mode: line"><I>Chief Financial Officer</I></TD>
    <TD STYLE="layout-grid-mode: line">&nbsp;</TD></TR>
</TABLE>
<!-- Field: Page; Sequence: 8 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Arial, Helvetica, Sans-Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
<!-- Field: /Page -->


</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-32
<SEQUENCE>3
<FILENAME>c102599_ex32.htm
<TEXT>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>


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

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

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

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

<P STYLE="margin-top: 0pt; font: 10pt Times New Roman, Times, Serif; margin-bottom: 0pt; 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="margin: 0pt 0; text-align: center; font: 10pt Times New Roman, Times, Serif"><B>&nbsp;</B></P>

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">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 October 31, 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.</P>

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

<P STYLE="margin: 0pt 0; text-indent: 36pt; font: 10pt Times New Roman, Times, Serif">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="margin: 0pt 0; font: 10pt Times New Roman, Times, Serif">&nbsp;</P>



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

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

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

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



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

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

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

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



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

<!-- Field: Page; Sequence: 8 -->
    <DIV STYLE="margin-bottom: 6pt; border-bottom: Silver 4px solid"><TABLE CELLPADDING="0" CELLSPACING="0" STYLE="width: 100%; font: 12pt Arial, Helvetica, Sans-Serif"><TR><TD STYLE="text-align: center; width: 100%">&nbsp;</TD></TR></TABLE></DIV>
<!-- Field: /Page -->


</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.SCH
<SEQUENCE>4
<FILENAME>rex-20211031.xsd
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Dec 03 18:39:45 UTC 2021 -->
<xs:schema elementFormDefault="qualified" xmlns:srt-types="http://fasb.org/srt-types/2021-01-31" targetNamespace="http://www.rexamerican.com/20211031" 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/20211031" 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-20211031_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-20211031_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-20211031_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-20211031_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 Condensed 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 Condensed 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 Condensed Statement 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 Condensed Statement 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 Condensed Statements of 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 Condensed 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/DiscontinuedOperations" id="rex_r_DiscontinuedOperations">
        <link:definition>018 - Disclosure - Discontinued 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/CommitmentsandContingencies" id="rex_r_CommitmentsandContingencies">
        <link:definition>019 - 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>020 - 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/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/NetSalesandRevenueTables" id="rex_r_NetSalesandRevenueTables">
        <link:definition>023 - Disclosure - Net Sales and Revenue (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>024 - 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>025 - 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>026 - 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>027 - 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>028 - 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>029 - 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>030 - 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>031 - 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/DiscontinuedOperationsTables" id="rex_r_DiscontinuedOperationsTables">
        <link:definition>032 - Disclosure - Discontinued Operations (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>033 - 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>034 - 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>035 - 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>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+B833s546ggZjNEAY8sy8gN3UvAYr1IRraEQPXDc2nbwqYl8fDjrytBWTimWg2LrkdwyRNulZFld3fQY5U6qaRotouMHjroSQYwyGJWdjBOi3i3aJ7PgWJFEdNehu7Aswm64mSFUVTvxec/tkHmrXXJ] CSR-->
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable" id="rex_r_ScheduleofDisaggregatedRevenuebyProductTable">
        <link:definition>036 - Disclosure - Net Sales and Revenue (Details) - Schedule of Disaggregated Revenue by Product</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>037 - 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>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable" id="rex_r_ScheduleofComponentsofLeaseExpenseTable">
        <link:definition>038 - 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>039 - 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>040 - 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>041 - 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>042 - 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>043 - 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>044 - 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>045 - 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>046 - 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>047 - 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>048 - 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>049 - 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>050 - 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>051 - 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/ScheduleOfDiscontinuedItemsStatementofOperationsTable" id="rex_r_ScheduleOfDiscontinuedItemsStatementofOperationsTable">
        <link:definition>052 - Disclosure - Discontinued Operations (Details) - Schedule Of Discontinued Items Statement 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/ScheduleOfDiscontinuedItemsBalanceSheetTable" id="rex_r_ScheduleOfDiscontinuedItemsBalanceSheetTable">
        <link:definition>053 - Disclosure - Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet</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>054 - 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>055 - 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/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="ScheduleOfDisaggregatedRevenueByProductAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfDisaggregatedRevenueByProductAbstract"/>
  <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="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract"/>
  <xs:element name="ScheduleOfDiscontinuedItemsBalanceSheetAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract"/>
  <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="SalesOfProductsDiscontinuedOperationsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SalesOfProductsDiscontinuedOperationsAbstract"/>
  <xs:element name="AssetsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AssetsAbstract0"/>
  <xs:element name="CurrentAssetsAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CurrentAssetsAbstract0"/>
  <xs:element name="CurrentLiabilitiesAbstract0" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_CurrentLiabilitiesAbstract0"/>
  <xs:element name="CurrentLiabilitiesHeldForSaleRelatedParties" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_CurrentLiabilitiesHeldForSaleRelatedParties"/>
  <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="DiscontinuedOperationsTablesTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_DiscontinuedOperationsTablesTable"/>
  <xs:element name="DiscontinuedOperationsTablesLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DiscontinuedOperationsTablesLineItems"/>
  <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="ForwardPurchaseContractsAssetLiabilities" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsAssetLiabilities"/>
  <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="NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
  <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="DerivativeFinancialInstrumentsLossesMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DerivativeFinancialInstrumentsLossesMember"/>
  <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="OtherMember" type="dtr:domainItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OtherMember"/>
  <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-20211031_cal.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Dec 03 18:39:45 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-20211031.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofComponentsofLeaseExpenseTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleOfDiscontinuedItemsStatementofOperationsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleOfDiscontinuedItemsBalanceSheetTable" roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"/>
  <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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" order="8" 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_AssetsHeldForSaleNotPartOfDisposalGroup" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_Assets" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup" order="6" 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_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesCurrent" xlink:to="us-gaap_AccruedLiabilitiesCurrent" order="3" 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="4" 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_IncomeLossFromContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <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"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperations" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperations" xlink:to="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" 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_IncomeLossFromContinuingOperations" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" order="2" weight="1"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_EarningsPerShareBasicAndDiluted" xlink:to="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_EarningsPerShareBasicAndDiluted" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <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"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AmortizationOfIntangibleAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_AmortizationOfIntangibleAssets" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" 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"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="7" 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"/>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+B833s546ggZjNEAY8sy8gN3UvAYr1IRraEQPXDc2nbwqYl8fDjrytBWTimWg2LrkdwyRNulZFld3fQY5U6qaRotouMHjroSQYwyGJWdjBOi3i3aJ7PgWJFEdNehu7AswngtcTM4m0gN18d5mQZip4b] CSR-->
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="8" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="9" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInIncomeTaxesReceivable" order="10" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" order="11" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="12" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="13" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="14" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_ProceedsFromInterestAndDividendsReceived" order="15" weight="-1"/>
    <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"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" order="2" 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_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="2" 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="3" 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="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <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"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders" order="1" weight="1"/>
    <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"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" 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_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInDiscontinuedOperations"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" order="2" 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"/>
    <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-20211031.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/ScheduleOfDiscontinuedItemsStatementofOperationsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable">
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" order="2" weight="1"/>
  </calculationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.DEF
<SEQUENCE>6
<FILENAME>rex-20211031_def.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Dec 03 18:39:45 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-20211031.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedBalanceSheet_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedIncomeStatement_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCondensedFinancialStatements" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPolicies" roleURI="http://www.rexamerican.com/role/AccountingPolicies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_NetSalesandRevenue" roleURI="http://www.rexamerican.com/role/NetSalesandRevenue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_Leases" roleURI="http://www.rexamerican.com/role/Leases"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_FairValue" roleURI="http://www.rexamerican.com/role/FairValue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_PropertyandEquipment" roleURI="http://www.rexamerican.com/role/PropertyandEquipment"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilities" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DerivativeFinancialInstruments" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstruments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_Investments" roleURI="http://www.rexamerican.com/role/Investments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_EmployeeBenefits" roleURI="http://www.rexamerican.com/role/EmployeeBenefits"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_IncomeTaxes" roleURI="http://www.rexamerican.com/role/IncomeTaxes"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DiscontinuedOperations" roleURI="http://www.rexamerican.com/role/DiscontinuedOperations"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_CommitmentsandContingencies" roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_RelatedPartyTransactions" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPoliciesTables" roleURI="http://www.rexamerican.com/role/AccountingPoliciesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_NetSalesandRevenueTables" roleURI="http://www.rexamerican.com/role/NetSalesandRevenueTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_LeasesTables" roleURI="http://www.rexamerican.com/role/LeasesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_FairValueTables" roleURI="http://www.rexamerican.com/role/FairValueTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_PropertyandEquipmentTables" roleURI="http://www.rexamerican.com/role/PropertyandEquipmentTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilitiesTables" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DerivativeFinancialInstrumentsTables" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_InvestmentsTables" roleURI="http://www.rexamerican.com/role/InvestmentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_EmployeeBenefitsTables" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_IncomeTaxesTables" roleURI="http://www.rexamerican.com/role/IncomeTaxesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DiscontinuedOperationsTables" roleURI="http://www.rexamerican.com/role/DiscontinuedOperationsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofDisaggregatedRevenuebyProductTable" roleURI="http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofComponentsofLeaseExpenseTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFinancialInformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleOfDiscontinuedItemsStatementofOperationsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleOfDiscontinuedItemsBalanceSheetTable" roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCondensedFinancialStatementsDetails" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPoliciesDetails" roleURI="http://www.rexamerican.com/role/AccountingPoliciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_LeasesDetails" roleURI="http://www.rexamerican.com/role/LeasesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DerivativeFinancialInstrumentsDetails" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_InvestmentsDetails" roleURI="http://www.rexamerican.com/role/InvestmentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_EmployeeBenefitsDetails" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_IncomeTaxesDetails" roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_CommitmentsandContingenciesDetails" roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_RelatedPartyTransactionsDetails" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" order="7" 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_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrent" order="8" 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_AssetsHeldForSaleNotPartOfDisposalGroup" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup" order="5" 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_AssetsHeldForSaleNotPartOfDisposalGroup" 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="6" 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_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="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccruedLiabilitiesCurrent" order="2" 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="3" 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_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrent" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20211031.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="7" 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="rex_LongTermLiabilitiesAbstract" xlink:to="us-gaap_LiabilitiesNoncurrent" order="3" 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="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersEquityAbstract" xlink:href="rex-20211031.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="us-gaap_CommonStockValue" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="0" 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="us-gaap_CommonStockValue" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="1" 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="us-gaap_CommonStockValue" xlink:to="us-gaap_TreasuryStockValue" order="2" 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_CommonStockValue" xlink:to="us-gaap_MinorityInterest" order="3" 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="1" 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="2" 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_CurrentLiabilitiesHeldForSaleRelatedParties" xlink:href="rex-20211031.xsd#rex_CurrentLiabilitiesHeldForSaleRelatedParties"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="rex_CurrentLiabilitiesHeldForSaleRelatedParties" 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_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="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperations" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" order="13" 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="14" 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="15" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" order="16" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" order="17" 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="18" 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_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="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_CostsAndExpensesRelatedParty" 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="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_StatementOfCashFlowsAbstract" xlink:to="us-gaap_ProfitLoss" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="1" 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="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20211031.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="3" 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="us-gaap_AmortizationOfIntangibleAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AmortizationOfIntangibleAssets" 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="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20211031.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="4" 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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" order="6" 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="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20211031.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="8" 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_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="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="3" 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="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20211031.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="rex_CashFlowsFromFinancingActivitiesAbstract" order="10" 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="rex_CashFlowsFromFinancingActivitiesAbstract" 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="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInDiscontinuedOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" order="12" 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="13" 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="14" 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="15" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20211031.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="16" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20211031.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="17" 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="18" 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="19" 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="20" 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="21" 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/DiscontinuedOperations">
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:to="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" 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/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_DiscontinuedOperationsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsPolicyTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_DiscontinuedOperationsPolicyTextBlock" order="9" 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="10" 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="11" 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/NetSalesandRevenueTables">
    <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_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="us-gaap_RevenueFromContractWithCustomerAbstract" xlink:to="us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" 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-20211031.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/DiscontinuedOperationsTables">
    <loc xlink:type="locator" xlink:label="rex_DiscontinuedOperationsTablesLineItems" xlink:href="rex-20211031.xsd#rex_DiscontinuedOperationsTablesLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DiscontinuedOperationsTablesTable" xlink:href="rex-20211031.xsd#rex_DiscontinuedOperationsTablesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_DiscontinuedOperationsTablesLineItems" xlink:to="rex_DiscontinuedOperationsTablesTable" 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_DiscontinuedOperationsTablesTable" 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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_DiscontinuedOperationsTablesLineItems" xlink:to="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" 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-20211031.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/ScheduleofDisaggregatedRevenuebyProductTable">
    <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-20211031.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_DriedDistillersGrainsMember" xlink:href="rex-20211031.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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20211031.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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20211031.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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsLossesMember" xlink:href="rex-20211031.xsd#rex_DerivativeFinancialInstrumentsLossesMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_DerivativeFinancialInstrumentsLossesMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OtherMember" xlink:href="rex-20211031.xsd#rex_OtherMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentDomain" xlink:to="rex_OtherMember" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20211031.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="6" 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="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_Revenues" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" order="2" xbrldt:closed="true"/>
  </definitionLink>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+B833s546ggZjNEAY8sy8gN3UvAYr1IRraEQPXDc2nbwqYl8fDjrytBWTimWg2LrkdwyRNulZFld3fQY5U6qaRotouMHjroSQYwyGJWdjBOi3i3aJ7PgWJFEdNehu7AswllzRIQkxcteaw38NvlSeZW] CSR-->
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20211031.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"/>
    <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-20211031.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="rex_ForwardPurchaseContractAsset" xlink:href="rex-20211031.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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_AssetsFairValueDisclosure" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAssetLiabilities" xlink:href="rex-20211031.xsd#rex_ForwardPurchaseContractsAssetLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractsAssetLiabilities" 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"/>
    <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="6" 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-20211031.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-20211031.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-20211031.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="rex_ForwardPurchaseContractsAssetLiabilities" xlink:href="rex-20211031.xsd#rex_ForwardPurchaseContractsAssetLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="rex_ForwardPurchaseContractsAssetLiabilities" order="5" 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="6" 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="7" 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="8" 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-20211031.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20211031.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-20211031.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-20211031.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20211031.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/ScheduleOfDiscontinuedItemsStatementofOperationsTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" order="8" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_CurrentAssetsAbstract0" xlink:href="rex-20211031.xsd#rex_CurrentAssetsAbstract0"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="rex_CurrentAssetsAbstract0" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CurrentAssetsAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CurrentAssetsAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CurrentAssetsAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CurrentLiabilitiesAbstract0" xlink:href="rex-20211031.xsd#rex_CurrentLiabilitiesAbstract0"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="rex_CurrentLiabilitiesAbstract0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CurrentLiabilitiesAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CurrentLiabilitiesAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="rex-20211031.xsd#rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="2" 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-20211031.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_ConsolidatedCondensedFinancialStatementsDetailsTable" xlink:href="rex-20211031.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-20211031.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_NumberOfConsolidatedSubsidiaries" xlink:href="rex-20211031.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_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="2" 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-20211031.xsd#rex_AccountingPoliciesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_AccountingPoliciesDetailsTable" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_DerivativeFinancialInstrumentsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DerivativeFinancialInstrumentsDetailsTable" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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_EthanolMember" xlink:href="rex-20211031.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_TradingActivityByTypeDomain" xlink:to="rex_EthanolMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CommodityFuturesQuantity" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_EmployeeBenefitsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_EmployeeBenefitsDetailsTable" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_IncomeTaxesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_IncomeTaxesDetailsTable" xlink:href="rex-20211031.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-20211031.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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_IncomeTaxesDetailsLineItems" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" order="3" 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-20211031.xsd#rex_CommitmentsandContingenciesDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_CommitmentsandContingenciesDetailsTable" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_RelatedPartyTransactionsDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_RelatedPartyTransactionsDetailsTable" xlink:href="rex-20211031.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-20211031.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-20211031.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/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-20211031_lab.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Dec 03 18:39:45 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#negatedTerseLabel" roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
  <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"/>
  <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"/>
    <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</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</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"/>
    <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"/>
    <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/totalLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Net 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Net 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_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl1" xml:lang="en-US">Income 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_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperations_lbl" xml:lang="en-US">Net income (loss) attributable to REX common shareholders (continuing operations)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperations" xlink:to="us-gaap_IncomeLossFromContinuingOperations_lbl"/>
    <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="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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl1" xml:lang="en-US">Total 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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_lbl1"/>
    <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-20211031.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="rex_ScheduleOfDisaggregatedRevenueByProductAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDisaggregatedRevenueByProductAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfDisaggregatedRevenueByProductAbstract_lbl" xml:lang="en-US">Schedule of Disaggregated Revenue by Product [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfDisaggregatedRevenueByProductAbstract" xlink:to="rex_ScheduleOfDisaggregatedRevenueByProductAbstract_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="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-20211031.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-20211031.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-20211031.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_AssetsFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsFairValueDisclosure_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_AssetsFairValueDisclosure" xlink:to="us-gaap_AssetsFairValueDisclosure_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-20211031.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-20211031.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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AccruedLiabilitiesCurrent_lbl0" xml:lang="en-US">Accrued expenses and other current liabilities</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"/>
    <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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract_lbl" xml:lang="en-US">Discontinued Operations and Disposal Groups [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:to="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract_lbl" xml:lang="en-US">Schedule Of Discontinued Items Statement of Operations [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract_lbl" xml:lang="en-US">Schedule Of Discontinued Items Balance Sheet [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract_lbl"/>
    <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="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_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_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_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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent_lbl" xml:lang="en-US">Current assets held for sale</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent_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="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_lbl" xml:lang="en-US">Assets held for sale</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_LiabilitiesAndEquityAbstract" xlink:href="rex-20211031.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 $1.7 million and $0.7 million with related parties at October 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">Current liabilities held for sale (includes $0.1 million with related parties at 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_CurrentLiabilitiesHeldForSaleRelatedParties" xlink:href="rex-20211031.xsd#rex_CurrentLiabilitiesHeldForSaleRelatedParties"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CurrentLiabilitiesHeldForSaleRelatedParties_lbl" xml:lang="en-US">Current liabilities held for sale, related parties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CurrentLiabilitiesHeldForSaleRelatedParties" xlink:to="rex_CurrentLiabilitiesHeldForSaleRelatedParties_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20211031.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-20211031.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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_Revenues_lbl0" xml:lang="en-US">Sales of products, continuing operations</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"/>
    <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 $22,928 and $16,861 with related parties for the quarters ended October 31, 2021 and 2020, respectively, and $60,311 and $34,021 with related parties for the nine months ended October 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_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 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 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_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_lbl" xml:lang="en-US">Net income (loss) from discontinued operations, net of tax (includes expense of $39 and $(15) with related parties for the quarters ended October 31, 2021 and 2020, respectively and $230 and $(160) with related parties for the nine months ended October 31, 2021 and 2020, respectively)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_lbl0" xml:lang="en-US">Net income from discontinued operations, net of tax</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_lbl0"/>
    <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">Net income (loss) from discontinued operations, net of tax, related parties</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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" 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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_lbl" xml:lang="en-US">Net income (loss) attributable to REX common shareholders (discontinued operations)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_lbl0" 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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_lbl0"/>
    <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</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_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_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare_lbl" xml:lang="en-US">Basic and diluted net income (loss) per share from continuing operations 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_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" xlink:to="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare_lbl" xml:lang="en-US">Basic and diluted net income (loss) per share from discontinued operations 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_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare_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/totalLabel" 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_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/terseLabel" xlink:label="us-gaap_ProfitLoss_lbl" 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_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_ProfitLoss_lbl0" xml:lang="en-US">Net income 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_lbl0"/>
    <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_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"/>
    <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_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-20211031.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-20211031.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_AmortizationOfIntangibleAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AmortizationOfIntangibleAssets_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="us-gaap_AmortizationOfIntangibleAssets" xlink:to="us-gaap_AmortizationOfIntangibleAssets_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="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_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="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20211031.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_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/2003/role/terseLabel" 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/2003/role/terseLabel" 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/2003/role/terseLabel" 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/2003/role/terseLabel" 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_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="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl" xml:lang="en-US">Net cash provided by operating activities from continuing operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_lbl" xml:lang="en-US">Net cash used in operating activities from discontinued operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" xlink:to="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_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 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="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20211031.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_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="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20211031.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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl" xml:lang="en-US">Net cash used in financing activities from continuing operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInDiscontinuedOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations_lbl" xml:lang="en-US">Net cash provided by financing activities from discontinued operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" xlink:to="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations_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/totalLabel" 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-20211031.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-20211031.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="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/terseLabel" 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="rex_ReconciliationOfTotalCashCashEquivalentsAndRestrictedCashAbstract" xlink:href="rex-20211031.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</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">(Provision) 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/2003/role/terseLabel" xlink:label="us-gaap_IncomeTaxExpenseBenefit_lbl0" 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_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity_lbl" xml:lang="en-US">Net income attributable to noncontrolling interests (continuing operations)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" xlink:to="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Net income attributable to noncontrolling interests (discontinued operations)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Net loss attributable to noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_lbl0"/>
    <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_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_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="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_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_SalesOfProductsDiscontinuedOperationsAbstract" xlink:href="rex-20211031.xsd#rex_SalesOfProductsDiscontinuedOperationsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_SalesOfProductsDiscontinuedOperationsAbstract_lbl" xml:lang="en-US">Sales of products, discontinued operations:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SalesOfProductsDiscontinuedOperationsAbstract" xlink:to="rex_SalesOfProductsDiscontinuedOperationsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_lbl" xml:lang="en-US">Sales of products, discontinued operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_lbl0" 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_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_lbl0"/>
    <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-20211031.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-20211031.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="rex_ForwardPurchaseContractAsset" xlink:href="rex-20211031.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</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="rex_ForwardPurchaseContractsAssetLiabilities" xlink:href="rex-20211031.xsd#rex_ForwardPurchaseContractsAssetLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ForwardPurchaseContractsAssetLiabilities_lbl" xml:lang="en-US">Forward purchase contracts</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsAssetLiabilities" xlink:to="rex_ForwardPurchaseContractsAssetLiabilities_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_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/terseLabel" xlink:label="us-gaap_FinancialLiabilitiesFairValueDisclosure_lbl" xml:lang="en-US">Total liabilities</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_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-20211031.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-20211031.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_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-20211031.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_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl" xml:lang="en-US">Disposal Groups, Including Discontinued Operations, Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:to="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_lbl" xml:lang="en-US">Disposal Groups, Including Discontinued Operations [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:to="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_lbl" xml:lang="en-US">Cost of Sales</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_lbl" xml:lang="en-US">Gross loss</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_lbl" xml:lang="en-US">Selling, general and administrative</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome_lbl" xml:lang="en-US">Income before income taxes</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_lbl0" xml:lang="en-US">Discontinued Operation, Tax Effect of Discontinued Operation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_AssetsAbstract0" xlink:href="rex-20211031.xsd#rex_AssetsAbstract0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_AssetsAbstract0_lbl" xml:lang="en-US">Assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AssetsAbstract0" xlink:to="rex_AssetsAbstract0_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CurrentAssetsAbstract0" xlink:href="rex-20211031.xsd#rex_CurrentAssetsAbstract0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CurrentAssetsAbstract0_lbl" xml:lang="en-US">Current assets:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CurrentAssetsAbstract0" xlink:to="rex_CurrentAssetsAbstract0_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets_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_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1_lbl" xml:lang="en-US">Inventory</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_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_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_lbl" 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_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_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_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_LiabilitiesAbstract_lbl" xml:lang="en-US">Liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAbstract" xlink:to="us-gaap_LiabilitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CurrentLiabilitiesAbstract0" xlink:href="rex-20211031.xsd#rex_CurrentLiabilitiesAbstract0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_CurrentLiabilitiesAbstract0_lbl" xml:lang="en-US">Current liabilities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CurrentLiabilitiesAbstract0" xlink:to="rex_CurrentLiabilitiesAbstract0_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable_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_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities_lbl" xml:lang="en-US">Accrued expenses and other current liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_lbl" xml:lang="en-US">Total liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="rex-20211031.xsd#rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl" xml:lang="en-US">Net assets included in discontinued operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_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_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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20211031.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_DriedDistillersGrainsMember" xlink:href="rex-20211031.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-20211031.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-20211031.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="rex_DerivativeFinancialInstrumentsLossesMember" xlink:href="rex-20211031.xsd#rex_DerivativeFinancialInstrumentsLossesMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_DerivativeFinancialInstrumentsLossesMember_lbl" xml:lang="en-US">Derivative financial instruments losses [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DerivativeFinancialInstrumentsLossesMember" xlink:to="rex_DerivativeFinancialInstrumentsLossesMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_OtherMember" xlink:href="rex-20211031.xsd#rex_OtherMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_OtherMember_lbl" xml:lang="en-US">Other[Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherMember" xlink:to="rex_OtherMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RefinedCoalMember" xlink:href="rex-20211031.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_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-20211031.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="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>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+B833s546ggZjNEAY8sy8gN3UvAYr1IRraEQPXDc2nbwqYl8fDjrytBWTimWg2LrkdwyRNulZFld3fQY5U6qaRotouMHjroSQYwyGJWdjBOi3i3aJ7PgWJFEdNehu7AswlN4m6xkoFU99PIrn+638KN] CSR-->
    <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-20211031.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_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"/>
    <loc xlink:type="locator" xlink:label="rex_OutboundFreightCharges" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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_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_DiscontinuedOperationsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_DiscontinuedOperationsPolicyTextBlock_lbl" xml:lang="en-US">Discontinued Operations, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DiscontinuedOperationsPolicyTextBlock" xlink:to="us-gaap_DiscontinuedOperationsPolicyTextBlock_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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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_DiscontinuedOperationsTablesTable" xlink:href="rex-20211031.xsd#rex_DiscontinuedOperationsTablesTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DiscontinuedOperationsTablesTable_lbl" xml:lang="en-US">Discontinued Operations (Tables) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DiscontinuedOperationsTablesTable" xlink:to="rex_DiscontinuedOperationsTablesTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_DiscontinuedOperationsTablesLineItems" xlink:href="rex-20211031.xsd#rex_DiscontinuedOperationsTablesLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DiscontinuedOperationsTablesLineItems_lbl" xml:lang="en-US">Discontinued Operations (Tables) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DiscontinuedOperationsTablesLineItems" xlink:to="rex_DiscontinuedOperationsTablesLineItems_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_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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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_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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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_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_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_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_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_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_CurrentLiabilitiesHeldForSaleRelatedParties_lbl0" xml:lang="en-US">CurrentLiabilitiesHeldForSaleRelatedParties</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CurrentLiabilitiesHeldForSaleRelatedParties" xlink:to="rex_CurrentLiabilitiesHeldForSaleRelatedParties_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_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_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_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_DerivativeFinancialInstrumentsLossesMember_lbl0" xml:lang="en-US">DerivativeFinancialInstrumentsLossesMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DerivativeFinancialInstrumentsLossesMember" xlink:to="rex_DerivativeFinancialInstrumentsLossesMember_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_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_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_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl0" xml:lang="en-US">NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_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_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_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_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_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_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_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_SalesOfProductsDiscontinuedOperationsAbstract_lbl0" xml:lang="en-US">SalesOfProductsDiscontinuedOperationsAbstract</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SalesOfProductsDiscontinuedOperationsAbstract" xlink:to="rex_SalesOfProductsDiscontinuedOperationsAbstract_lbl0"/>
    <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_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_AssetsAbstract0_lbl0" xml:lang="en-US">AssetsAbstract0</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AssetsAbstract0" xlink:to="rex_AssetsAbstract0_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_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_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_ForwardPurchaseContractsAssetLiabilities_lbl0" xml:lang="en-US">ForwardPurchaseContractsAssetLiabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsAssetLiabilities" xlink:to="rex_ForwardPurchaseContractsAssetLiabilities_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_CurrentAssetsAbstract0_lbl0" xml:lang="en-US">CurrentAssetsAbstract0</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CurrentAssetsAbstract0" xlink:to="rex_CurrentAssetsAbstract0_lbl0"/>
    <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_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_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_OtherMember_lbl0" xml:lang="en-US">OtherMember</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherMember" xlink:to="rex_OtherMember_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_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_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_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_CurrentLiabilitiesAbstract0_lbl0" xml:lang="en-US">CurrentLiabilitiesAbstract0</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_CurrentLiabilitiesAbstract0" xlink:to="rex_CurrentLiabilitiesAbstract0_lbl0"/>
    <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_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="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_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_lbl0" xml:lang="en-US">Right-of-Use Asset Obtained in Exchange for Operating Lease Liability</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_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_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Prepaid and Other Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets_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_AssetsHeldForSaleNotPartOfDisposalGroup_lbl0" xml:lang="en-US">Assets Held-for-sale, Not Part of Disposal Group</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_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="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent_lbl0" xml:lang="en-US">Assets Held-for-sale, Not Part of Disposal Group, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent_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_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Assets, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Financing Activities, Continuing Operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_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_DisposalGroupIncludingDiscontinuedOperationAccountsPayable_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Accounts Payable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable_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_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_lbl0" xml:lang="en-US">Disposal Groups, Including Discontinued Operations, Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:to="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock_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_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, General and Administrative Expense</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Inventory</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1_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_AssetsFairValueDisclosure_lbl0" xml:lang="en-US">Assets, Fair Value Disclosure</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_AssetsFairValueDisclosure_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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation_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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_lbl1" xml:lang="en-US">Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromContributionsFromAffiliates_lbl0" 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_lbl0"/>
    <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_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare_lbl0" xml:lang="en-US">Income (Loss) from Discontinued Operations and Disposal of Discontinued Operations, Net of Tax, Per Basic and Diluted Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_lbl1" xml:lang="en-US">Income (Loss) from Discontinued 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_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_lbl1"/>
    <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_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_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"/>
    <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="us-gaap_AmortizationOfIntangibleAssets_lbl0" xml:lang="en-US">Amortization of Intangible Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AmortizationOfIntangibleAssets" xlink:to="us-gaap_AmortizationOfIntangibleAssets_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="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity_lbl0" xml:lang="en-US">Income (Loss) from Continuing Operations, Net of Tax, Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" xlink:to="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Gross Profit (Loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_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_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"/>
    <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="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Costs of Goods Sold</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_lbl0" xml:lang="en-US">Disposal Groups, Including Discontinued Operations [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:to="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock_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_lbl1" 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_lbl1"/>
    <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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Liabilities, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_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_IncomeLossFromContinuingOperations_lbl0" xml:lang="en-US">Income (Loss) from Continuing Operations, Net of Tax, Attributable to Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperations" xlink:to="us-gaap_IncomeLossFromContinuingOperations_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_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_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare_lbl0" xml:lang="en-US">Income (Loss) from Continuing Operations, Per Basic and Diluted Share</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" xlink:to="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare_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_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_AssetsOfDisposalGroupIncludingDiscontinuedOperation_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_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_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Property, Plant and Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment_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_lbl1" 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_lbl1"/>
    <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_lbl2" 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_lbl2"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_lbl0" xml:lang="en-US">Cash Provided by (Used in) Operating Activities, Discontinued Operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" xlink:to="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_lbl0"/>
    <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_lbl0" 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_lbl0"/>
    <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_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_lbl1" 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_lbl1"/>
    <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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_lbl1" xml:lang="en-US">Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_lbl1"/>
    <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_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_DiscontinuedOperationsPolicyTextBlock_lbl0" xml:lang="en-US">Discontinued Operations, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DiscontinuedOperationsPolicyTextBlock" xlink:to="us-gaap_DiscontinuedOperationsPolicyTextBlock_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl0" xml:lang="en-US">Gain (Loss) on Disposition of Property Plant Equipment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_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="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_lbl1" xml:lang="en-US">Discontinued Operation, Tax Effect of Discontinued Operation</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_lbl1"/>
    <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="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Other Income</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome_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="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_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_DisposalGroupIncludingDiscontinuedOperationRevenue_lbl1" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LiabilitiesAbstract_lbl0" xml:lang="en-US">Liabilities [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LiabilitiesAbstract" xlink:to="us-gaap_LiabilitiesAbstract_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_lbl1" 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_lbl1"/>
    <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_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_lbl2" 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_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_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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Operating Activities, Continuing Operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_lbl0"/>
    <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_NetCashProvidedByUsedInDiscontinuedOperations_lbl0" xml:lang="en-US">Net Cash Provided by (Used in) Discontinued Operations</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" xlink:to="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations_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_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_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities_lbl0" xml:lang="en-US">Disposal Group, Including Discontinued Operation, Accrued Liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities_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-20211031_pre.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by CompSci Transform (tm) - http://www.compsciresources.com -->
<!-- Created: Fri Dec 03 18:39:45 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-20211031.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedBalanceSheet_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedIncomeStatement_Parentheticals" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCondensedFinancialStatements" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatements"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPolicies" roleURI="http://www.rexamerican.com/role/AccountingPolicies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_NetSalesandRevenue" roleURI="http://www.rexamerican.com/role/NetSalesandRevenue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_Leases" roleURI="http://www.rexamerican.com/role/Leases"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_FairValue" roleURI="http://www.rexamerican.com/role/FairValue"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_PropertyandEquipment" roleURI="http://www.rexamerican.com/role/PropertyandEquipment"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilities" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilities"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DerivativeFinancialInstruments" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstruments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_Investments" roleURI="http://www.rexamerican.com/role/Investments"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_EmployeeBenefits" roleURI="http://www.rexamerican.com/role/EmployeeBenefits"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_IncomeTaxes" roleURI="http://www.rexamerican.com/role/IncomeTaxes"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DiscontinuedOperations" roleURI="http://www.rexamerican.com/role/DiscontinuedOperations"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_CommitmentsandContingencies" roleURI="http://www.rexamerican.com/role/CommitmentsandContingencies"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_RelatedPartyTransactions" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactions"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPoliciesTables" roleURI="http://www.rexamerican.com/role/AccountingPoliciesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_NetSalesandRevenueTables" roleURI="http://www.rexamerican.com/role/NetSalesandRevenueTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_LeasesTables" roleURI="http://www.rexamerican.com/role/LeasesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_FairValueTables" roleURI="http://www.rexamerican.com/role/FairValueTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_PropertyandEquipmentTables" roleURI="http://www.rexamerican.com/role/PropertyandEquipmentTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccruedExpensesandOtherCurrentLiabilitiesTables" roleURI="http://www.rexamerican.com/role/AccruedExpensesandOtherCurrentLiabilitiesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DerivativeFinancialInstrumentsTables" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_InvestmentsTables" roleURI="http://www.rexamerican.com/role/InvestmentsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_EmployeeBenefitsTables" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_IncomeTaxesTables" roleURI="http://www.rexamerican.com/role/IncomeTaxesTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DiscontinuedOperationsTables" roleURI="http://www.rexamerican.com/role/DiscontinuedOperationsTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofDisaggregatedRevenuebyProductTable" roleURI="http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofComponentsofLeaseExpenseTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofFinancialInformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleOfDiscontinuedItemsStatementofOperationsTable" roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ScheduleOfDiscontinuedItemsBalanceSheetTable" roleURI="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_ConsolidatedCondensedFinancialStatementsDetails" roleURI="http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_AccountingPoliciesDetails" roleURI="http://www.rexamerican.com/role/AccountingPoliciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_LeasesDetails" roleURI="http://www.rexamerican.com/role/LeasesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_DerivativeFinancialInstrumentsDetails" roleURI="http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_InvestmentsDetails" roleURI="http://www.rexamerican.com/role/InvestmentsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_EmployeeBenefitsDetails" roleURI="http://www.rexamerican.com/role/EmployeeBenefitsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_IncomeTaxesDetails" roleURI="http://www.rexamerican.com/role/IncomeTaxesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_CommitmentsandContingenciesDetails" roleURI="http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.xsd#rex_r_RelatedPartyTransactionsDetails" roleURI="http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20211031.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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent" order="7.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_AssetsCurrentAbstract" xlink:to="us-gaap_AssetsCurrent" order="8.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_AssetsHeldForSaleNotPartOfDisposalGroup" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup" order="5.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_AssetsHeldForSaleNotPartOfDisposalGroup" 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="6.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_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="us-gaap_LiabilitiesCurrentAbstract" xlink:to="us-gaap_AccruedLiabilitiesCurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <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="3.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_LiabilitiesCurrentAbstract" xlink:to="us-gaap_LiabilitiesCurrent" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="LongTermLiabilitiesAbstract" xlink:href="rex-20211031.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="7.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="LongTermLiabilitiesAbstract" xlink:to="us-gaap_LiabilitiesNoncurrent" order="3.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="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="RexShareholdersEquityAbstract" xlink:href="rex-20211031.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="us-gaap_CommonStockValue" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="0.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="us-gaap_CommonStockValue" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="1.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="us-gaap_CommonStockValue" xlink:to="us-gaap_TreasuryStockValue" order="2.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_CommonStockValue" xlink:to="us-gaap_MinorityInterest" order="3.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="1.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="2.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="CurrentLiabilitiesHeldForSaleRelatedParties" xlink:href="rex-20211031.xsd#rex_CurrentLiabilitiesHeldForSaleRelatedParties"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="CurrentLiabilitiesHeldForSaleRelatedParties" 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_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="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity" order="9.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperations" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" order="12.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" order="13.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="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_NetIncomeLoss" order="14.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="15.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare" order="16.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare" order="17.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="18.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </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_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="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_CostsAndExpensesRelatedParty" 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_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="0.0"/>
    <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="1.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="2.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="3.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="4.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="5.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_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="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_StatementOfCashFlowsAbstract" xlink:to="us-gaap_ProfitLoss" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <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="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="rex-20211031.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="3.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="us-gaap_AmortizationOfIntangibleAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_AmortizationOfIntangibleAssets" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <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="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeLossToNetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20211031.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="4.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/2003/role/terseLabel"/>
    <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/2003/role/terseLabel"/>
    <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/2003/role/terseLabel"/>
    <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/2003/role/terseLabel"/>
    <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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations" order="6.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="7.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20211031.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="8.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_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="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" order="3.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="9.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20211031.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="CashFlowsFromFinancingActivitiesAbstract" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <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="CashFlowsFromFinancingActivitiesAbstract" 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="CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromPaymentsToMinorityShareholders" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInDiscontinuedOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_NetCashProvidedByUsedInDiscontinuedOperations" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <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="13.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <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="14.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="15.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="16.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20211031.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="17.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashFinancingActivitiesEquityAwardsAccrued" xlink:href="rex-20211031.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="18.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="19.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="20.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_StatementOfCashFlowsAbstract" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="21.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="22.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_1" 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_1" order="23.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </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/DiscontinuedOperations">
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:to="us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock" 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/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_DiscontinuedOperationsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsPolicyTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_DiscontinuedOperationsPolicyTextBlock" order="9.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="10.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="11.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/NetSalesandRevenueTables">
    <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_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="us-gaap_RevenueFromContractWithCustomerAbstract" 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/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-20211031.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/DiscontinuedOperationsTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract"/>
    <loc xlink:type="locator" xlink:label="DiscontinuedOperationsTablesTable" xlink:href="rex-20211031.xsd#rex_DiscontinuedOperationsTablesTable"/>
    <loc xlink:type="locator" xlink:label="DiscontinuedOperationsTablesLineItems" xlink:href="rex-20211031.xsd#rex_DiscontinuedOperationsTablesLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract" xlink:to="DiscontinuedOperationsTablesTable" 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="DiscontinuedOperationsTablesTable" 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="DiscontinuedOperationsTablesTable" xlink:to="DiscontinuedOperationsTablesLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DiscontinuedOperationsTablesLineItems" xlink:to="us-gaap_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock" 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-20211031.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/ScheduleofDisaggregatedRevenuebyProductTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfDisaggregatedRevenueByProductAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDisaggregatedRevenueByProductAbstract"/>
    <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="ScheduleOfDisaggregatedRevenueByProductAbstract" 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-20211031.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="DriedDistillersGrainsMember" xlink:href="rex-20211031.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="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonFoodGradeCornOilMember" xlink:href="rex-20211031.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="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ModifiedDistillersGrainsMember" xlink:href="rex-20211031.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="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsLossesMember" xlink:href="rex-20211031.xsd#rex_DerivativeFinancialInstrumentsLossesMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="DerivativeFinancialInstrumentsLossesMember" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="OtherMember" xlink:href="rex-20211031.xsd#rex_OtherMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementBusinessSegmentsAxis" xlink:to="OtherMember" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
<!-- [WMV5][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+NXAcyvLB0+B833s546ggZjNEAY8sy8gN3UvAYr1IRraEQPXDc2nbwqYl8fDjrytBWTimWg2LrkdwyRNulZFld3fQY5U6qaRotouMHjroSQYwyGJWdjBOi3i3aJ7PgWJFEdNehu7AswmmRiqbAV3HXBFwECVPD1iB] CSR-->
    <loc xlink:type="locator" xlink:label="RefinedCoalMember" xlink:href="rex-20211031.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="7.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_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_SegmentReportingInformationLineItems" xlink:to="us-gaap_Revenues" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SegmentReportingInformationLineItems" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofLeaseExpenseTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfComponentsOfLeaseExpenseAbstract" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
    <loc xlink:type="locator" xlink:label="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20211031.xsd#rex_FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <loc xlink:type="locator" xlink:label="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20211031.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-20211031.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="ForwardPurchaseContractAsset" xlink:href="rex-20211031.xsd#rex_ForwardPurchaseContractAsset"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractAsset" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="us-gaap_AssetsFairValueDisclosure" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractsAssetLiabilities" xlink:href="rex-20211031.xsd#rex_ForwardPurchaseContractsAssetLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FairValueDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractsAssetLiabilities" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <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"/>
    <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="5.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-20211031.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-20211031.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-20211031.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="ForwardPurchaseContractsAssetLiabilities" xlink:href="rex-20211031.xsd#rex_ForwardPurchaseContractsAssetLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="ForwardPurchaseContractsAssetLiabilities" order="5.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="6.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="7.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="8.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-20211031.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20211031.xsd#rex_DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20211031.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-20211031.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-20211031.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <loc xlink:type="locator" xlink:label="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable" xlink:href="rex-20211031.xsd#rex_InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentTable"/>
    <loc xlink:type="locator" xlink:label="InvestmentsDetailsScheduleofFinancialInformationForEquityMethodInvestmentLineItems" xlink:href="rex-20211031.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-20211031.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/verboseLabel"/>
    <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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20211031.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-20211031.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/ScheduleOfDiscontinuedItemsStatementofOperationsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest" order="7.0" preferredLabel="http://www.xbrl.org/2009/role/negatedTerseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract" xlink:to="us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:href="rex-20211031.xsd#rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract"/>
    <loc xlink:type="locator" xlink:label="CurrentAssetsAbstract0" xlink:href="rex-20211031.xsd#rex_CurrentAssetsAbstract0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="CurrentAssetsAbstract0" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CurrentAssetsAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CurrentAssetsAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CurrentAssetsAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment" xlink:to="us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CurrentLiabilitiesAbstract0" xlink:href="rex-20211031.xsd#rex_CurrentLiabilitiesAbstract0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="CurrentLiabilitiesAbstract0" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CurrentLiabilitiesAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CurrentLiabilitiesAbstract0" xlink:to="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities" xlink:to="us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" xlink:href="rex-20211031.xsd#rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfDiscontinuedItemsBalanceSheetAbstract" xlink:to="NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent" order="2.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-20211031.xsd#rex_ConsolidatedCondensedFinancialStatementsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="ConsolidatedCondensedFinancialStatementsDetailsLineItems" xlink:href="rex-20211031.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-20211031.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"/>
    <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-20211031.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_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="1.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-20211031.xsd#rex_AccountingPoliciesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="AccountingPoliciesDetailsLineItems" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_DerivativeFinancialInstrumentsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="DerivativeFinancialInstrumentsDetailsLineItems" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20211031.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_TradingActivityByTypeAxis" xlink:to="EthanolMember" 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="DerivativeFinancialInstrumentsDetailsTable" xlink:to="DerivativeFinancialInstrumentsDetailsLineItems" order="4.0"/>
    <loc xlink:type="locator" xlink:label="CommodityFuturesQuantity" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_EmployeeBenefitsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="EmployeeBenefitsDetailsLineItems" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_IncomeTaxesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="IncomeTaxesDetailsLineItems" xlink:href="rex-20211031.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-20211031.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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="IncomeTaxesDetailsLineItems" xlink:to="us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/verboseLabel"/>
  </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-20211031.xsd#rex_CommitmentsandContingenciesDetailsTable"/>
    <loc xlink:type="locator" xlink:label="CommitmentsandContingenciesDetailsLineItems" xlink:href="rex-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.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-20211031.xsd#rex_RelatedPartyTransactionsDetailsTable"/>
    <loc xlink:type="locator" xlink:label="RelatedPartyTransactionsDetailsLineItems" xlink:href="rex-20211031.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-20211031.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-20211031.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/verboseLabel"/>
    <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/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:label="DocumentAndEntityInformationAbstract" xlink:href="rex-20211031.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>c102599_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/20211031"
  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-20211031.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-10-31</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-12-02</instant>
        </period>
    </context>
    <context id="c2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-10-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>2020-02-01</startDate>
            <endDate>2021-01-31</endDate>
        </period>
    </context>
    <context id="c5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2021-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2020-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c8">
        <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="c9">
        <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="c10">
        <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="c11">
        <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="c12">
        <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="c13">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2021-07-31</instant>
        </period>
    </context>
    <context id="c14">
        <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-08-01</startDate>
            <endDate>2021-10-31</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:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-01</startDate>
            <endDate>2021-10-31</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:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-01</startDate>
            <endDate>2021-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c18">
        <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-10-31</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:TreasuryStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-10-31</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:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-10-31</instant>
        </period>
    </context>
    <context id="c22">
        <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-10-31</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:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-01-31</instant>
        </period>
    </context>
    <context id="c24">
        <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="c25">
        <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="c26">
        <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="c27">
        <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="c28">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c29">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c30">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c31">
        <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-10-31</endDate>
        </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-07-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-07-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-07-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-07-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-07-31</instant>
        </period>
    </context>
    <context id="c37">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2020-07-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-08-01</startDate>
            <endDate>2020-10-31</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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c40">
        <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-08-01</startDate>
            <endDate>2020-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-08-01</startDate>
            <endDate>2020-10-31</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:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-10-31</instant>
        </period>
    </context>
    <context id="c43">
        <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-10-31</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:AdditionalPaidInCapitalMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-10-31</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:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-10-31</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:NoncontrollingInterestMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-10-31</instant>
        </period>
    </context>
    <context id="c47">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2020-10-31</instant>
        </period>
    </context>
    <context id="c48">
        <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="c49">
        <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="c50">
        <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="c51">
        <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="c52">
        <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="c53">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
        </entity>
        <period>
            <instant>2020-01-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:RetainedEarningsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c55">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c56">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c57">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c58">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c59">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c60">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c61">
        <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>2021-02-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c62">
        <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>2021-02-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c63">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c64">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c65">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c66">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c67">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c68">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c69">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c70">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c71">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c72">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c73">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c74">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c75">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c76">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c77">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c78">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c79">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c80">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c81">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c82">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c83">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c84">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:DerivativeFinancialInstrumentsLossesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c85">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c86">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c87">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c88">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">rex:OtherMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-02-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c89">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c90">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c91">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c92">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c93">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c94">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c95">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c96">
        <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="c97">
        <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="c98">
        <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="c99">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c100">
        <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:EthanolMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-10-31</instant>
        </period>
    </context>
    <context id="c101">
        <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="c102">
        <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:LiabilityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="us-gaap:TradingActivityByTypeAxis">rex:CornMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-10-31</instant>
        </period>
    </context>
    <context id="c103">
        <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: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="c104">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <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-10-31</instant>
        </period>
    </context>
    <context id="c105">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
            <segment>
                <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="c106">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c107">
        <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="c108">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c109">
        <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="c110">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c111">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c112">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c113">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c114">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c115">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c116">
        <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="c117">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c118">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c119">
        <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-10-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:AssetsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-02-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c121">
        <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-10-31</instant>
        </period>
    </context>
    <context id="c122">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c123">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c124">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c125">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c126">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c127">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c128">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c129">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c130">
        <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="c131">
        <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-08-01</startDate>
            <endDate>2021-10-31</endDate>
        </period>
    </context>
    <context id="c132">
        <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-08-01</startDate>
            <endDate>2020-10-31</endDate>
        </period>
    </context>
    <context id="c133">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c134">
        <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-10-31</endDate>
        </period>
    </context>
    <context id="c135">
        <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>
    <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="gal">
        <measure>utr:gal</measure>
    </unit>
    <unit id="mmbtu">
        <measure>utr:MMBTU</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-10-31</dei:DocumentPeriodEndDate>
    <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">5920351</dei:EntityCommonStockSharesOutstanding>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c2" decimals="-3" unitRef="usd">197395000</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">21620000</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">1737000</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">40026000</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">29753000</us-gaap:InventoryNet>
    <us-gaap:InventoryNet contextRef="c3" decimals="-3" unitRef="usd">37426000</us-gaap:InventoryNet>
    <us-gaap:IncomeTaxesReceivable contextRef="c2" decimals="-3" unitRef="usd">5930000</us-gaap:IncomeTaxesReceivable>
    <us-gaap:IncomeTaxesReceivable contextRef="c3" decimals="-3" unitRef="usd">6020000</us-gaap:IncomeTaxesReceivable>
    <us-gaap:PrepaidExpenseAndOtherAssetsCurrent contextRef="c2" decimals="-3" unitRef="usd">10389000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
    <us-gaap:PrepaidExpenseAndOtherAssetsCurrent contextRef="c3" decimals="-3" unitRef="usd">12751000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
    <us-gaap:AssetsHeldForSaleNotPartOfDisposalGroupCurrent contextRef="c2" decimals="-3" unitRef="usd">392000</us-gaap:AssetsHeldForSaleNotPartOfDisposalGroupCurrent>
    <us-gaap:AssetsHeldForSaleNotPartOfDisposalGroupCurrent contextRef="c3" decimals="-3" unitRef="usd">488000</us-gaap:AssetsHeldForSaleNotPartOfDisposalGroupCurrent>
    <us-gaap:AssetsCurrent contextRef="c2" decimals="-3" unitRef="usd">307242000</us-gaap:AssetsCurrent>
    <us-gaap:AssetsCurrent contextRef="c3" decimals="-3" unitRef="usd">258750000</us-gaap:AssetsCurrent>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c2" decimals="-3" unitRef="usd">141205000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c3" decimals="-3" unitRef="usd">150861000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:OperatingLeaseRightOfUseAsset contextRef="c2" decimals="-3" unitRef="usd">11817000</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">33190000</us-gaap:OtherAssetsNoncurrent>
    <us-gaap:OtherAssetsNoncurrent contextRef="c3" decimals="-3" unitRef="usd">25275000</us-gaap:OtherAssetsNoncurrent>
    <us-gaap:EquityMethodInvestments contextRef="c2" decimals="-3" unitRef="usd">30715000</us-gaap:EquityMethodInvestments>
    <us-gaap:EquityMethodInvestments contextRef="c3" decimals="-3" unitRef="usd">29456000</us-gaap:EquityMethodInvestments>
    <us-gaap:AssetsHeldForSaleNotPartOfDisposalGroup contextRef="c2" decimals="-3" unitRef="usd">233000</us-gaap:AssetsHeldForSaleNotPartOfDisposalGroup>
    <us-gaap:AssetsHeldForSaleNotPartOfDisposalGroup contextRef="c3" decimals="-3" unitRef="usd">2325000</us-gaap:AssetsHeldForSaleNotPartOfDisposalGroup>
    <us-gaap:Assets contextRef="c2" decimals="-3" unitRef="usd">524402000</us-gaap:Assets>
    <us-gaap:Assets contextRef="c3" decimals="-3" unitRef="usd">479345000</us-gaap:Assets>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c2" decimals="-2" unitRef="usd">1700</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c3" decimals="-2" unitRef="usd">700</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:AccountsPayableTradeCurrent contextRef="c2" decimals="-3" unitRef="usd">27133000</us-gaap:AccountsPayableTradeCurrent>
    <us-gaap:AccountsPayableTradeCurrent contextRef="c3" decimals="-3" unitRef="usd">16573000</us-gaap:AccountsPayableTradeCurrent>
    <us-gaap:OperatingLeaseLiabilityCurrent contextRef="c2" decimals="-3" unitRef="usd">4999000</us-gaap:OperatingLeaseLiabilityCurrent>
    <us-gaap:OperatingLeaseLiabilityCurrent contextRef="c3" decimals="-3" unitRef="usd">4875000</us-gaap:OperatingLeaseLiabilityCurrent>
    <us-gaap:AccruedLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">14121000</us-gaap:AccruedLiabilitiesCurrent>
    <us-gaap:AccruedLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">8754000</us-gaap:AccruedLiabilitiesCurrent>
    <rex:CurrentLiabilitiesHeldForSaleRelatedParties contextRef="c4" decimals="-2" unitRef="usd">100</rex:CurrentLiabilitiesHeldForSaleRelatedParties>
    <us-gaap:OtherLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">282000</us-gaap:OtherLiabilitiesCurrent>
    <us-gaap:OtherLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">535000</us-gaap:OtherLiabilitiesCurrent>
    <us-gaap:LiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">46535000</us-gaap:LiabilitiesCurrent>
    <us-gaap:LiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">30737000</us-gaap:LiabilitiesCurrent>
    <us-gaap:DeferredTaxLiabilitiesNoncurrent contextRef="c2" decimals="-3" 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">6553000</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">2581000</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">13164000</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">149299000</us-gaap:AdditionalPaidInCapitalCommonStock>
    <us-gaap:AdditionalPaidInCapitalCommonStock contextRef="c3" decimals="-3" unitRef="usd">149110000</us-gaap:AdditionalPaidInCapitalCommonStock>
    <us-gaap:RetainedEarningsAccumulatedDeficit contextRef="c2" decimals="-3" unitRef="usd">620924000</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">361199000</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">409323000</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">55380000</us-gaap:MinorityInterest>
    <us-gaap:MinorityInterest contextRef="c3" decimals="-3" unitRef="usd">52400000</us-gaap:MinorityInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c2" decimals="-3" unitRef="usd">464703000</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">524402000</us-gaap:LiabilitiesAndStockholdersEquity>
    <us-gaap:LiabilitiesAndStockholdersEquity contextRef="c3" decimals="-3" unitRef="usd">479345000</us-gaap:LiabilitiesAndStockholdersEquity>
    <us-gaap:Revenues contextRef="c5" decimals="-3" unitRef="usd">203066000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c6" decimals="-3" unitRef="usd">124217000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c0" decimals="-3" unitRef="usd">562786000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c7" decimals="-3" unitRef="usd">246694000</us-gaap:Revenues>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c5" decimals="-3" unitRef="usd">22928000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c6" decimals="-3" unitRef="usd">16861000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c0" decimals="-3" unitRef="usd">60311000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:RelatedPartiesAmountInCostOfSales contextRef="c7" decimals="-3" unitRef="usd">34021000</us-gaap:RelatedPartiesAmountInCostOfSales>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c5" decimals="-3" unitRef="usd">177914000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c6" decimals="-3" unitRef="usd">105288000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c0" decimals="-3" unitRef="usd">504003000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:CostOfGoodsAndServicesSold contextRef="c7" decimals="-3" unitRef="usd">235435000</us-gaap:CostOfGoodsAndServicesSold>
    <us-gaap:GrossProfit contextRef="c5" decimals="-3" unitRef="usd">25152000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c6" decimals="-3" unitRef="usd">18929000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c0" decimals="-3" unitRef="usd">58783000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c7" decimals="-3" unitRef="usd">11259000</us-gaap:GrossProfit>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c5" decimals="-3" unitRef="usd">6310000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c6" decimals="-3" unitRef="usd">4269000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c0" decimals="-3" unitRef="usd">22444000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:SellingGeneralAndAdministrativeExpense contextRef="c7" decimals="-3" unitRef="usd">13407000</us-gaap:SellingGeneralAndAdministrativeExpense>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c5" decimals="-3" unitRef="usd">349000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c6" decimals="-3" unitRef="usd">1152000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c0" decimals="-3" unitRef="usd">2763000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c7" decimals="-3" unitRef="usd">168000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:InterestAndOtherIncome contextRef="c5" decimals="-3" unitRef="usd">35000</us-gaap:InterestAndOtherIncome>
    <us-gaap:InterestAndOtherIncome contextRef="c6" decimals="-3" unitRef="usd">537000</us-gaap:InterestAndOtherIncome>
    <us-gaap:InterestAndOtherIncome contextRef="c0" decimals="-3" unitRef="usd">117000</us-gaap:InterestAndOtherIncome>
    <us-gaap:InterestAndOtherIncome contextRef="c7" decimals="-3" unitRef="usd">1403000</us-gaap:InterestAndOtherIncome>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">19226000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">16349000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">39219000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest contextRef="c7" decimals="-3" unitRef="usd">-577000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c5" decimals="-3" unitRef="usd">4338000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c6" decimals="-3" unitRef="usd">5037000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c0" decimals="-3" unitRef="usd">8329000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c7" decimals="-3" unitRef="usd">-444000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">14888000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">11312000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">30890000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c7" decimals="-3" unitRef="usd">-133000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity contextRef="c5" decimals="-3" unitRef="usd">1562000</us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity>
    <us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity contextRef="c6" decimals="-3" unitRef="usd">2276000</us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity>
    <us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity contextRef="c0" decimals="-3" unitRef="usd">4585000</us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity>
    <us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity contextRef="c7" decimals="-3" unitRef="usd">1331000</us-gaap:IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity>
    <us-gaap:IncomeLossFromContinuingOperations contextRef="c5" decimals="-3" unitRef="usd">13326000</us-gaap:IncomeLossFromContinuingOperations>
    <us-gaap:IncomeLossFromContinuingOperations contextRef="c6" decimals="-3" unitRef="usd">9036000</us-gaap:IncomeLossFromContinuingOperations>
    <us-gaap:IncomeLossFromContinuingOperations contextRef="c0" decimals="-3" unitRef="usd">26305000</us-gaap:IncomeLossFromContinuingOperations>
    <us-gaap:IncomeLossFromContinuingOperations contextRef="c7" decimals="-3" unitRef="usd">-1464000</us-gaap:IncomeLossFromContinuingOperations>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c5" decimals="-3" unitRef="usd">39000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c6" decimals="-3" unitRef="usd">-15000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c0" decimals="-3" unitRef="usd">230000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c7" decimals="-3" unitRef="usd">-160000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c5" decimals="-3" unitRef="usd">1815000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c6" decimals="-3" unitRef="usd">-253000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c0" decimals="-3" unitRef="usd">4263000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c7" decimals="-3" unitRef="usd">729000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">-137000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">-58000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">-370000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c7" decimals="-3" unitRef="usd">-193000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c5" decimals="-3" unitRef="usd">1952000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c6" decimals="-3" unitRef="usd">-195000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c0" decimals="-3" unitRef="usd">4633000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c7" decimals="-3" unitRef="usd">922000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:NetIncomeLoss contextRef="c5" decimals="-3" unitRef="usd">15278000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c6" decimals="-3" unitRef="usd">8841000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c0" decimals="-3" unitRef="usd">30938000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c7" decimals="-3" unitRef="usd">-542000</us-gaap:NetIncomeLoss>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c5" decimals="-3" unitRef="shares">5963000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c6" decimals="-3" unitRef="shares">6143000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c0" decimals="-3" unitRef="shares">5994000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted contextRef="c7" decimals="-3" unitRef="shares">6221000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
    <us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare contextRef="c5" decimals="2" unitRef="usdPershares">2.23</us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare contextRef="c6" decimals="2" unitRef="usdPershares">1.47</us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare contextRef="c0" decimals="2" unitRef="usdPershares">4.39</us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare contextRef="c7" decimals="2" unitRef="usdPershares">-0.24</us-gaap:IncomeLossFromContinuingOperationsPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare contextRef="c5" decimals="2" unitRef="usdPershares">0.33</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare contextRef="c6" decimals="2" unitRef="usdPershares">-0.03</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare contextRef="c0" decimals="2" unitRef="usdPershares">0.77</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare contextRef="c7" decimals="2" unitRef="usdPershares">0.15</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c5" decimals="2" unitRef="usdPershares">2.56</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c6" decimals="2" unitRef="usdPershares">1.44</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c0" decimals="2" unitRef="usdPershares">5.16</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:EarningsPerShareBasicAndDiluted contextRef="c7" decimals="2" unitRef="usdPershares">-0.09</us-gaap:EarningsPerShareBasicAndDiluted>
    <us-gaap:SharesOutstanding contextRef="c8" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c8" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c9" decimals="-3" unitRef="shares">23866000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c9" decimals="-3" unitRef="usd">-355936000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c10" decimals="-3" unitRef="usd">149263000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c11" decimals="-3" unitRef="usd">605646000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c12" decimals="-3" unitRef="usd">54025000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c13" decimals="-3" unitRef="usd">453297000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c14" decimals="-3" unitRef="usd">15278000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c15" decimals="-3" unitRef="usd">1425000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c5" decimals="-3" unitRef="usd">16703000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c16" decimals="-3" unitRef="shares">67000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c16" decimals="-3" unitRef="usd">5271000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c5" decimals="-3" unitRef="usd">5271000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c15" decimals="-3" unitRef="usd">211000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c5" decimals="-3" unitRef="usd">211000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c15" decimals="-3" unitRef="usd">141000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c5" decimals="-3" unitRef="usd">141000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c16" decimals="-3" unitRef="usd">8000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c17" decimals="-3" unitRef="usd">36000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c5" decimals="-3" unitRef="usd">44000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:SharesOutstanding contextRef="c18" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c18" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c19" decimals="-3" unitRef="shares">23933000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c19" decimals="-3" unitRef="usd">-361199000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c20" decimals="-3" unitRef="usd">149299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c21" decimals="-3" unitRef="usd">620924000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c22" decimals="-3" unitRef="usd">55380000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c2" decimals="-3" unitRef="usd">464703000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c23" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c23" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c24" decimals="-3" unitRef="shares">23861000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c24" decimals="-3" unitRef="usd">-354612000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c25" decimals="-3" unitRef="usd">149110000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c26" decimals="-3" unitRef="usd">589986000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c27" 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="c28" decimals="-3" unitRef="usd">30938000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c29" decimals="-3" unitRef="usd">4215000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c0" decimals="-3" unitRef="usd">35153000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c30" decimals="-3" unitRef="shares">84000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c30" decimals="-3" unitRef="usd">6627000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c0" decimals="-3" unitRef="usd">6627000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c29" decimals="-3" unitRef="usd">1515000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c0" decimals="-3" unitRef="usd">1515000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c29" decimals="-3" unitRef="usd">280000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c0" decimals="-3" unitRef="usd">280000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation contextRef="c30" decimals="-3" unitRef="shares">-12000</us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c30" decimals="-3" unitRef="usd">40000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c31" decimals="-3" unitRef="usd">189000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c0" decimals="-3" unitRef="usd">229000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:SharesOutstanding contextRef="c18" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c18" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c19" decimals="-3" unitRef="shares">23933000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c19" decimals="-3" unitRef="usd">-361199000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c20" decimals="-3" unitRef="usd">149299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c21" decimals="-3" unitRef="usd">620924000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c22" decimals="-3" unitRef="usd">55380000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c2" decimals="-3" unitRef="usd">464703000</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">23655000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c33" decimals="-3" unitRef="usd">-340591000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c34" decimals="-3" unitRef="usd">149044000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c35" decimals="-3" unitRef="usd">577602000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c36" decimals="-3" unitRef="usd">51385000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c37" decimals="-3" unitRef="usd">437739000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c38" decimals="-3" unitRef="usd">8841000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c39" decimals="-3" unitRef="usd">2218000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c6" decimals="-3" unitRef="usd">11059000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c40" decimals="-3" unitRef="shares">197000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c40" decimals="-3" unitRef="usd">13328000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c6" decimals="-3" unitRef="usd">13328000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c39" decimals="-3" unitRef="usd">124000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c6" decimals="-3" unitRef="usd">124000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c39" decimals="-3" unitRef="usd">63000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c6" decimals="-3" unitRef="usd">63000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c40" decimals="-3" unitRef="usd">9000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c41" decimals="-3" unitRef="usd">33000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c6" decimals="-3" unitRef="usd">42000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:SharesOutstanding contextRef="c42" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c42" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c43" decimals="-3" unitRef="shares">23852000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c43" decimals="-3" unitRef="usd">-353910000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c44" decimals="-3" unitRef="usd">149077000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c45" decimals="-3" unitRef="usd">586443000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c46" decimals="-3" unitRef="usd">53542000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c47" decimals="-3" unitRef="usd">435451000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c48" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c48" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c49" decimals="-3" unitRef="shares">23561000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c49" decimals="-3" unitRef="usd">-335066000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c50" decimals="-3" unitRef="usd">148789000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c51" decimals="-3" unitRef="usd">586985000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c52" decimals="-3" unitRef="usd">52599000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c53" decimals="-3" unitRef="usd">453606000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c54" decimals="-3" unitRef="usd">-542000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c55" decimals="-3" unitRef="usd">1138000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c7" decimals="-3" unitRef="usd">596000</us-gaap:ProfitLoss>
    <us-gaap:TreasuryStockSharesAcquired contextRef="c56" decimals="-3" unitRef="shares">306000</us-gaap:TreasuryStockSharesAcquired>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c56" decimals="-3" unitRef="usd">18918000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:TreasuryStockValueAcquiredCostMethod contextRef="c7" decimals="-3" unitRef="usd">18918000</us-gaap:TreasuryStockValueAcquiredCostMethod>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c55" decimals="-3" unitRef="usd">283000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders contextRef="c7" decimals="-3" unitRef="usd">283000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c55" decimals="-3" unitRef="usd">88000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:ProceedsFromContributionsFromAffiliates contextRef="c7" decimals="-3" unitRef="usd">88000</us-gaap:ProceedsFromContributionsFromAffiliates>
    <us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation contextRef="c56" decimals="-3" unitRef="shares">-15000</us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c56" decimals="-3" unitRef="usd">74000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c57" decimals="-3" unitRef="usd">288000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation contextRef="c7" decimals="-3" unitRef="usd">362000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
    <us-gaap:SharesOutstanding contextRef="c42" decimals="-3" unitRef="shares">29853000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c42" decimals="-3" unitRef="usd">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:SharesOutstanding contextRef="c43" decimals="-3" unitRef="shares">23852000</us-gaap:SharesOutstanding>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c43" decimals="-3" unitRef="usd">-353910000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c44" decimals="-3" unitRef="usd">149077000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c45" decimals="-3" unitRef="usd">586443000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c46" decimals="-3" unitRef="usd">53542000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest contextRef="c47" decimals="-3" unitRef="usd">435451000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:ProfitLoss contextRef="c0" decimals="-3" unitRef="usd">35153000</us-gaap:ProfitLoss>
    <us-gaap:ProfitLoss contextRef="c7" decimals="-3" unitRef="usd">596000</us-gaap:ProfitLoss>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c0" decimals="-3" unitRef="usd">4263000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c7" decimals="-3" unitRef="usd">729000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">30890000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c7" decimals="-3" unitRef="usd">-133000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:DepreciationDepletionAndAmortization contextRef="c0" decimals="-3" unitRef="usd">13505000</us-gaap:DepreciationDepletionAndAmortization>
    <us-gaap:DepreciationDepletionAndAmortization contextRef="c7" decimals="-3" unitRef="usd">13604000</us-gaap:DepreciationDepletionAndAmortization>
    <us-gaap:AmortizationOfIntangibleAssets contextRef="c0" decimals="-3" unitRef="usd">4128000</us-gaap:AmortizationOfIntangibleAssets>
    <us-gaap:AmortizationOfIntangibleAssets contextRef="c7" decimals="-3" unitRef="usd">3982000</us-gaap:AmortizationOfIntangibleAssets>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c0" decimals="-3" unitRef="usd">2763000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:IncomeLossFromEquityMethodInvestments contextRef="c7" decimals="-3" unitRef="usd">168000</us-gaap:IncomeLossFromEquityMethodInvestments>
    <us-gaap:EquityMethodInvestmentDividendsOrDistributions contextRef="c0" decimals="-3" unitRef="usd">1504000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
    <us-gaap:EquityMethodInvestmentDividendsOrDistributions contextRef="c7" decimals="-3" unitRef="usd">2506000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
    <us-gaap:ProceedsFromInterestAndDividendsReceived contextRef="c0" decimals="-3" unitRef="usd">36000</us-gaap:ProceedsFromInterestAndDividendsReceived>
    <us-gaap:ProceedsFromInterestAndDividendsReceived contextRef="c7" decimals="-3" unitRef="usd">200000</us-gaap:ProceedsFromInterestAndDividendsReceived>
    <us-gaap:DeferredIncomeTaxExpenseBenefit contextRef="c0" decimals="-3" unitRef="usd">5840000</us-gaap:DeferredIncomeTaxExpenseBenefit>
    <us-gaap:DeferredIncomeTaxExpenseBenefit contextRef="c7" decimals="-3" unitRef="usd">-356000</us-gaap:DeferredIncomeTaxExpenseBenefit>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c0" decimals="-3" unitRef="usd">1100000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:AllocatedShareBasedCompensationExpense contextRef="c7" decimals="-3" unitRef="usd">122000</us-gaap:AllocatedShareBasedCompensationExpense>
    <us-gaap:GainLossOnSaleOfPropertyPlantEquipment contextRef="c0" decimals="-3" unitRef="usd">-1000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
    <us-gaap:GainLossOnSaleOfPropertyPlantEquipment contextRef="c7" decimals="-3" unitRef="usd">-58000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
    <us-gaap:IncreaseDecreaseInAccountsReceivable contextRef="c0" decimals="-3" unitRef="usd">-20313000</us-gaap:IncreaseDecreaseInAccountsReceivable>
    <us-gaap:IncreaseDecreaseInAccountsReceivable contextRef="c7" decimals="-3" unitRef="usd">473000</us-gaap:IncreaseDecreaseInAccountsReceivable>
    <us-gaap:IncreaseDecreaseInInventories contextRef="c0" decimals="-3" unitRef="usd">7673000</us-gaap:IncreaseDecreaseInInventories>
    <us-gaap:IncreaseDecreaseInInventories contextRef="c7" decimals="-3" unitRef="usd">14000000</us-gaap:IncreaseDecreaseInInventories>
    <us-gaap:IncreaseDecreaseInIncomeTaxesReceivable contextRef="c0" decimals="-3" unitRef="usd">-332000</us-gaap:IncreaseDecreaseInIncomeTaxesReceivable>
    <us-gaap:IncreaseDecreaseInIncomeTaxesReceivable contextRef="c7" decimals="-3" unitRef="usd">-130000</us-gaap:IncreaseDecreaseInIncomeTaxesReceivable>
    <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets contextRef="c0" decimals="-3" unitRef="usd">1912000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
    <us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets contextRef="c7" decimals="-3" unitRef="usd">-611000</us-gaap:IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets>
    <us-gaap:IncreaseDecreaseInAccountsPayableTrade contextRef="c0" decimals="-3" unitRef="usd">10916000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
    <us-gaap:IncreaseDecreaseInAccountsPayableTrade contextRef="c7" decimals="-3" unitRef="usd">-4361000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
    <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities contextRef="c0" decimals="-3" unitRef="usd">2776000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
    <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities contextRef="c7" decimals="-3" unitRef="usd">-4966000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
    <us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations contextRef="c0" decimals="-3" unitRef="usd">56799000</us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations>
    <us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations contextRef="c7" decimals="-3" unitRef="usd">23704000</us-gaap:NetCashProvidedByUsedInOperatingActivitiesContinuingOperations>
    <us-gaap:CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations contextRef="c0" decimals="-3" unitRef="usd">-6368000</us-gaap:CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations>
    <us-gaap:CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations contextRef="c7" decimals="-3" unitRef="usd">-2205000</us-gaap:CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations>
    <us-gaap:NetCashProvidedByUsedInOperatingActivities contextRef="c0" decimals="-3" unitRef="usd">50431000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
    <us-gaap:NetCashProvidedByUsedInOperatingActivities contextRef="c7" decimals="-3" unitRef="usd">21499000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
    <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment contextRef="c0" decimals="-3" unitRef="usd">4245000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
    <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment contextRef="c7" decimals="-3" unitRef="usd">6610000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
    <us-gaap:PaymentsToAcquireShortTermInvestments contextRef="c0" decimals="-3" unitRef="usd">67412000</us-gaap:PaymentsToAcquireShortTermInvestments>
    <us-gaap:PaymentsToAcquireShortTermInvestments contextRef="c7" decimals="-3" unitRef="usd">68225000</us-gaap:PaymentsToAcquireShortTermInvestments>
    <us-gaap:ProceedsFromSaleOfShortTermInvestments contextRef="c0" decimals="-3" unitRef="usd">82022000</us-gaap:ProceedsFromSaleOfShortTermInvestments>
    <us-gaap:ProceedsFromSaleOfShortTermInvestments contextRef="c7" decimals="-3" unitRef="usd">65282000</us-gaap:ProceedsFromSaleOfShortTermInvestments>
    <us-gaap:PaymentsForProceedsFromOtherInvestingActivities contextRef="c0" decimals="-3" unitRef="usd">-40000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
    <us-gaap:PaymentsForProceedsFromOtherInvestingActivities contextRef="c7" decimals="-3" unitRef="usd">474000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
    <us-gaap:NetCashProvidedByUsedInInvestingActivities contextRef="c0" decimals="-3" unitRef="usd">10405000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
    <us-gaap:NetCashProvidedByUsedInInvestingActivities contextRef="c7" decimals="-3" unitRef="usd">-10027000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
    <us-gaap:PaymentsForRepurchaseOfCommonStock contextRef="c0" decimals="-3" unitRef="usd">6627000</us-gaap:PaymentsForRepurchaseOfCommonStock>
    <us-gaap:PaymentsForRepurchaseOfCommonStock contextRef="c7" decimals="-3" unitRef="usd">18089000</us-gaap:PaymentsForRepurchaseOfCommonStock>
    <us-gaap:ProceedsFromPaymentsToMinorityShareholders contextRef="c0" decimals="-3" unitRef="usd">-1515000</us-gaap:ProceedsFromPaymentsToMinorityShareholders>
    <us-gaap:ProceedsFromPaymentsToMinorityShareholders contextRef="c7" decimals="-3" unitRef="usd">-283000</us-gaap:ProceedsFromPaymentsToMinorityShareholders>
    <us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations contextRef="c0" decimals="-3" unitRef="usd">-8142000</us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations>
    <us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations contextRef="c7" decimals="-3" unitRef="usd">-18372000</us-gaap:NetCashProvidedByUsedInFinancingActivitiesContinuingOperations>
    <us-gaap:NetCashProvidedByUsedInDiscontinuedOperations contextRef="c0" decimals="-3" unitRef="usd">280000</us-gaap:NetCashProvidedByUsedInDiscontinuedOperations>
    <us-gaap:NetCashProvidedByUsedInDiscontinuedOperations contextRef="c7" decimals="-3" unitRef="usd">88000</us-gaap:NetCashProvidedByUsedInDiscontinuedOperations>
    <us-gaap:NetCashProvidedByUsedInFinancingActivities contextRef="c0" decimals="-3" unitRef="usd">-7862000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
    <us-gaap:NetCashProvidedByUsedInFinancingActivities contextRef="c7" decimals="-3" unitRef="usd">-18284000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect contextRef="c0" decimals="-3" unitRef="usd">52974000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect contextRef="c7" decimals="-3" unitRef="usd">-6812000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c3" decimals="-3" unitRef="usd">146158000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c53" decimals="-3" unitRef="usd">180771000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c2" decimals="-3" unitRef="usd">199132000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c47" decimals="-3" unitRef="usd">173959000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures contextRef="c0" decimals="-3" unitRef="usd">34000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
    <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures contextRef="c7" decimals="-3" unitRef="usd">198000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
    <rex:NonCashFinancingActivitiesEquityAwardsAccrued contextRef="c0" decimals="-3" unitRef="usd">972000</rex:NonCashFinancingActivitiesEquityAwardsAccrued>
    <us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities contextRef="c0" decimals="-3" unitRef="usd">100000</us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities>
    <us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities contextRef="c7" decimals="-3" unitRef="usd">240000</us-gaap:ExcessTaxBenefitFromShareBasedCompensationFinancingActivities>
    <us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability contextRef="c0" decimals="-3" unitRef="usd">3267000</us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability>
    <us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability contextRef="c7" decimals="-3" unitRef="usd">1863000</us-gaap:RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c2" decimals="-3" unitRef="usd">197395000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:CashAndCashEquivalentsAtCarryingValue contextRef="c47" decimals="-3" unitRef="usd">173075000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
    <us-gaap:RestrictedCashCurrent contextRef="c2" decimals="-3" unitRef="usd">1737000</us-gaap:RestrictedCashCurrent>
    <us-gaap:RestrictedCashCurrent contextRef="c47" decimals="-3" unitRef="usd">884000</us-gaap:RestrictedCashCurrent>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c2" decimals="-3" unitRef="usd">199132000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents contextRef="c47" decimals="-3" unitRef="usd">173959000</us-gaap:CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents>
    <us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 99pt 0 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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. On November 18, 2021, the Company
ceased operation of its refined coal business as tax credits could no longer be earned on its operations. Beginning in the third
quarter of fiscal year 2021, the results of the operation of the refined coal business were recognized in discontinued operations.
Prior period amounts have been reclassified to conform with discontinued operations reporting.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Nature of Operations &#x2013; Beginning in the
third quarter of fiscal year 2021, the Company now has one reportable segment, ethanol and by-products. 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. Prior period amounts have been reclassified to conform to the current segment reporting.&lt;/p&gt;</us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock>
    <rex:NumberOfConsolidatedSubsidiaries contextRef="c0" decimals="0" unitRef="pure">4</rex:NumberOfConsolidatedSubsidiaries>
    <us-gaap:NumberOfOperatingSegments contextRef="c5" decimals="0" unitRef="pure">1</us-gaap:NumberOfOperatingSegments>
    <us-gaap:NumberOfOperatingSegments contextRef="c58" decimals="0" unitRef="pure">3</us-gaap:NumberOfOperatingSegments>
    <us-gaap:NumberOfOperatingSegments contextRef="c59" decimals="0" unitRef="pure">2</us-gaap:NumberOfOperatingSegments>
    <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt; 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 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: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;Cash and Cash Equivalents&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;Revenue Recognition&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;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.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;Cost of Sales&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 compensation costs and general facility overhead charges.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt"&gt;Selling, General and Administrative (&#x201c;SG&amp;amp;A&#x201d;)
Expenses&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $210,000 and $916,000 in the third quarter of fiscal years 2021 and 2020, respectively and approximately
$7,366,000 and $3,078,000 in the first nine months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;Financial Instruments&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Income Taxes&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operation of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#x201c;ordinary&#x201d; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $2.8 million and received no refunds of
income taxes during the nine months ended October 31, 2021. The Company paid income taxes of approximately $0.5 million and received
refunds of income taxes of approximately $0.7 million during the nine months ended October 31, 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;As of October 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $8,793,000 and $8,380,000, respectively. Accrued penalties and interest were
approximately $35,000 and approximately $20,000 at October 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.8 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: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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. 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 $0.1 million
and approximately $1.0 million of inventory write-&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;downs in cost of sales at October 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 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: 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&gt;&#160;&lt;/td&gt;
    &lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td colspan="3" style="font-weight: bold; text-align: center"&gt;October&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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="3" style="font-weight: bold; text-align: center"&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td&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: center"&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; padding-left: 5.75pt"&gt;Ethanol and other finished goods&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;7,135&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: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; 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; padding-left: 5.75pt"&gt;Work in process&lt;/td&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;5,097&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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-left: 5.75pt"&gt;Grain and other raw materials&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;17,521&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;14,706&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-left: 5.75pt; padding-bottom: 3px"&gt;Total&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;29,753&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;37,426&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 15 to 40 years for buildings and improvements, and 3 to 20 years for
fixtures and equipment.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 nine months of fiscal year 2021, thus there were no impairment charges in the first nine months
of fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#x201c;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.	&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 12pt; 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: 0"&gt;&lt;b&gt;Investments &lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 &lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Discontinued Operations&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized in discontinued operations. Prior period
amounts have been reclassified to conform with discontinued operations reporting.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;Cash and Cash Equivalents&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: bold 12pt Times New Roman, Times, Serif; margin: 0"&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: 0"&gt;Revenue Recognition&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;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.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&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: 0"&gt;Cost of Sales&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 compensation costs and general facility overhead charges.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&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: 0; text-indent: 0pt"&gt;Selling, General and Administrative (&#x201c;SG&amp;amp;A&#x201d;)
Expenses&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $210,000 and $916,000 in the third quarter of fiscal years 2021 and 2020, respectively and approximately
$7,366,000 and $3,078,000 in the first nine months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;</us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock>
    <rex:OutboundFreightCharges contextRef="c5" decimals="0" unitRef="usd">210000</rex:OutboundFreightCharges>
    <rex:OutboundFreightCharges contextRef="c6" decimals="0" unitRef="usd">916000</rex:OutboundFreightCharges>
    <rex:OutboundFreightCharges contextRef="c0" decimals="0" unitRef="usd">7366000</rex:OutboundFreightCharges>
    <rex:OutboundFreightCharges contextRef="c7" decimals="0" unitRef="usd">3078000</rex:OutboundFreightCharges>
    <us-gaap:FairValueOfFinancialInstrumentsPolicy contextRef="c0">&lt;p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0"&gt;Financial Instruments&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: bold 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;Income Taxes&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operation of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#x201c;ordinary&#x201d; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $2.8 million and received no refunds of
income taxes during the nine months ended October 31, 2021. The Company paid income taxes of approximately $0.5 million and received
refunds of income taxes of approximately $0.7 million during the nine months ended October 31, 2020.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;As of October 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $8,793,000 and $8,380,000, respectively. Accrued penalties and interest were
approximately $35,000 and approximately $20,000 at October 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.8 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: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;</us-gaap:IncomeTaxPolicyTextBlock>
    <us-gaap:IncomeTaxesPaid contextRef="c0" decimals="-5" unitRef="usd">2800000</us-gaap:IncomeTaxesPaid>
    <us-gaap:IncomeTaxesPaid contextRef="c7" decimals="-5" unitRef="usd">500000</us-gaap:IncomeTaxesPaid>
    <us-gaap:ProceedsFromIncomeTaxRefunds contextRef="c7" decimals="-5" unitRef="usd">700000</us-gaap:ProceedsFromIncomeTaxRefunds>
    <us-gaap:UnrecognizedTaxBenefits contextRef="c2" decimals="-3" unitRef="usd">8793000</us-gaap:UnrecognizedTaxBenefits>
    <us-gaap:UnrecognizedTaxBenefits contextRef="c3" decimals="-4" unitRef="usd">8380000</us-gaap:UnrecognizedTaxBenefits>
    <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued contextRef="c2" decimals="-3" unitRef="usd">35000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
    <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued contextRef="c3" decimals="-4" unitRef="usd">20000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
    <us-gaap:UnrecognizedTaxBenefits contextRef="c60" decimals="-5" unitRef="usd">-8800000</us-gaap:UnrecognizedTaxBenefits>
    <us-gaap:InventoryPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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. 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 $0.1 million
and approximately $1.0 million of inventory write-&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;downs in cost of sales at October 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 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: 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&gt;&#160;&lt;/td&gt;
    &lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td colspan="3" style="font-weight: bold; text-align: center"&gt;October&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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="3" style="font-weight: bold; text-align: center"&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td&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: center"&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; padding-left: 5.75pt"&gt;Ethanol and other finished goods&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;7,135&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: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; 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; padding-left: 5.75pt"&gt;Work in process&lt;/td&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;5,097&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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-left: 5.75pt"&gt;Grain and other raw materials&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;17,521&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;14,706&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-left: 5.75pt; padding-bottom: 3px"&gt;Total&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;29,753&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;37,426&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;</us-gaap:InventoryPolicyTextBlock>
    <us-gaap:InventoryWriteDown contextRef="c0" decimals="-5" unitRef="usd">100000</us-gaap:InventoryWriteDown>
    <us-gaap:InventoryWriteDown contextRef="c4" decimals="-6" unitRef="usd">1000000</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: 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 colspan="3" style="font-weight: bold; text-align: center"&gt;October&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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="3" style="font-weight: bold; text-align: center"&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td&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: center"&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; padding-left: 5.75pt"&gt;Ethanol and other finished goods&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;7,135&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: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; 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; padding-left: 5.75pt"&gt;Work in process&lt;/td&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;5,097&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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-left: 5.75pt"&gt;Grain and other raw materials&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;17,521&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;14,706&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-left: 5.75pt; padding-bottom: 3px"&gt;Total&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;29,753&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;37,426&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;</us-gaap:ScheduleOfInventoryCurrentTableTextBlock>
    <us-gaap:InventoryFinishedGoodsNetOfReserves contextRef="c2" decimals="-3" unitRef="usd">7135000</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">5097000</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">17521000</us-gaap:InventoryRawMaterialsNetOfReserves>
    <us-gaap:InventoryRawMaterialsNetOfReserves contextRef="c3" decimals="-3" unitRef="usd">14706000</us-gaap:InventoryRawMaterialsNetOfReserves>
    <us-gaap:InventoryNet contextRef="c2" decimals="-3" unitRef="usd">29753000</us-gaap:InventoryNet>
    <us-gaap:InventoryNet contextRef="c3" decimals="-3" unitRef="usd">37426000</us-gaap:InventoryNet>
    <us-gaap:PropertyPlantAndEquipmentPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 15 to 40 years for buildings and improvements, and 3 to 20 years for
fixtures and equipment.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 nine months of fiscal year 2021, thus there were no impairment charges in the first nine months
of fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#x201c;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.	&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 12pt; 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;</us-gaap:PropertyPlantAndEquipmentPolicyTextBlock>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c61">15</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c62">40 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c63">3</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c64">20 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
    <us-gaap:InvestmentPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Investments &lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 &lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:InvestmentPolicyTextBlock>
    <rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting contextRef="c65" decimals="2" unitRef="pure">0.20</rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting>
    <us-gaap:DiscontinuedOperationsPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Discontinued Operations&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized in discontinued operations. Prior period
amounts have been reclassified to conform with discontinued operations reporting.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;</us-gaap:DiscontinuedOperationsPolicyTextBlock>
    <us-gaap:ComprehensiveIncomePolicyPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;</us-gaap:ComprehensiveIncomePolicyPolicyTextBlock>
    <us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 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: 0; text-indent: 36pt"/&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The following tables shows disaggregated revenue
by product:&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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; October 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;Nine Months Ended&lt;br/&gt; October 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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2020&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; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left; padding-left: 5.4pt"&gt;Sales of products, continuing operations
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;161,598&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;98,850&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;441,657&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;191,971&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: 5.4pt"&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;28,717&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;20,916&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;91,408&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;45,314&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: 5.4pt"&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;11,958&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,661&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;27,364&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,162&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: 5.4pt"&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;2,930&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;562&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,157&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,228&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: 5.4pt"&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;(2,144)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(777)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;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,907)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;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,075)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-left: 5.4pt; padding-bottom: 1px"&gt;Other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;7&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;5&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;107&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;94&lt;/td&gt;&lt;td style="text-align: left; 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="padding-left: 5.4pt"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;203,066&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;124,217&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;562,786&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;246,694&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-left: 5.4pt"&gt;&#160;&lt;/td&gt;&lt;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-left: 5.4pt"&gt;Sales of products, discontinued operations:&lt;/td&gt;&lt;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="padding-left: 5.4pt; padding-bottom: 3px"&gt;Refined coal&lt;sup&gt;1&lt;/sup&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;151&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;34&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;377&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;134&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&lt;sup&gt;1 &lt;/sup&gt;Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.&lt;/p&gt;</us-gaap:RevenueFromContractWithCustomerTextBlock>
    <us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The following tables shows disaggregated revenue
by product:&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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; October 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;Nine Months Ended&lt;br/&gt; October 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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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; padding-bottom: 1px"&gt;&lt;span style="text-decoration:underline"&gt;2020&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; background-color: rgb(229,255,255)"&gt;
    &lt;td style="width: 48%; text-align: left; padding-left: 5.4pt"&gt;Sales of products, continuing operations
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;161,598&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;98,850&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;441,657&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;191,971&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: 5.4pt"&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;28,717&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;20,916&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;91,408&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;45,314&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: 5.4pt"&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;11,958&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,661&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;27,364&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,162&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: 5.4pt"&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;2,930&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;562&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,157&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,228&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: 5.4pt"&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;(2,144)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(777)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;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,907)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;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,075)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="padding-left: 5.4pt; padding-bottom: 1px"&gt;Other&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;7&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;5&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;107&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;94&lt;/td&gt;&lt;td style="text-align: left; 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="padding-left: 5.4pt"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;203,066&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;124,217&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;562,786&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;246,694&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-left: 5.4pt"&gt;&#160;&lt;/td&gt;&lt;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-left: 5.4pt"&gt;Sales of products, discontinued operations:&lt;/td&gt;&lt;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="padding-left: 5.4pt; padding-bottom: 3px"&gt;Refined coal&lt;sup&gt;1&lt;/sup&gt;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;151&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;34&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;377&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;134&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock>
    <us-gaap:Revenues contextRef="c66" decimals="-3" unitRef="usd">161598000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c67" decimals="-3" unitRef="usd">98850000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c58" decimals="-3" unitRef="usd">441657000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c68" decimals="-3" unitRef="usd">191971000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c69" decimals="-3" unitRef="usd">28717000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c70" decimals="-3" unitRef="usd">20916000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c71" decimals="-3" unitRef="usd">91408000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c72" decimals="-3" unitRef="usd">45314000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c73" decimals="-3" unitRef="usd">11958000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c74" decimals="-3" unitRef="usd">4661000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c75" decimals="-3" unitRef="usd">27364000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c76" decimals="-3" unitRef="usd">9162000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c77" decimals="-3" unitRef="usd">2930000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c78" decimals="-3" unitRef="usd">562000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c79" decimals="-3" unitRef="usd">7157000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c80" decimals="-3" unitRef="usd">1228000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c81" decimals="-3" unitRef="usd">-2144000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c82" decimals="-3" unitRef="usd">-777000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c83" decimals="-3" unitRef="usd">-4907000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c84" decimals="-3" unitRef="usd">-1075000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c85" decimals="-3" unitRef="usd">7000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c86" decimals="-3" unitRef="usd">5000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c87" decimals="-3" unitRef="usd">107000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c88" decimals="-3" unitRef="usd">94000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c5" decimals="-3" unitRef="usd">203066000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c6" decimals="-3" unitRef="usd">124217000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c0" decimals="-3" unitRef="usd">562786000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c7" decimals="-3" unitRef="usd">246694000</us-gaap:Revenues>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c89" decimals="-3" unitRef="usd">151000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c90" decimals="-3" unitRef="usd">34000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c91" decimals="-3" unitRef="usd">377000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c92" decimals="-3" unitRef="usd">134000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:LeasesOfLesseeDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;At October 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 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: 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td colspan="8" style="text-align: center; white-space: nowrap;"&gt;&lt;b&gt;Three Months Ended&lt;br/&gt; October 31,&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="8" style="text-align: center"&gt;&lt;b&gt;Nine&#160;Months&#160;Ended&lt;br/&gt; October 31,&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&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 style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
                                                                                      &lt;td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; 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; padding-bottom: 1px; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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 style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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 style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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&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&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 style="font-weight: bold; padding-bottom: 1px"&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&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: 62%; text-align: left; padding-left: 5.4pt"&gt;Operating lease expense&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;1,690&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%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;1,545&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%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;4,805&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%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;4,779&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: 5.4pt; padding-bottom: 1px"&gt;Variable lease expense&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,090&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;79&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,654&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;417&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 5.4pt; padding-bottom: 3px"&gt;Total lease expense&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;2,780&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;1,624&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;6,459&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;5,196&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The following table is a summary of future minimum
rentals on such leases at October 31, 2021 (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; text-align: left; padding-left: 5.75pt"&gt;&lt;span style="text-decoration:underline"&gt;Years Ended January 31,&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right"&gt;Minimum &lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Rentals&lt;/span&gt;&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" 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: 87%; padding-left: 5.75pt; text-align: left"&gt;Remainder of 2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;$1,506&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: 5.75pt"&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; padding-left: 5.75pt"&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; padding-left: 5.75pt"&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-left: 5.75pt"&gt;2026&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;49&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-left: 5.75pt; 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;12,282&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: 5.75pt"&gt;Less: present value discount&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;730&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: 5.75pt; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"/&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;$11,552&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;span style="text-underline-style: double"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;At October 31, 2021, the weighted average remaining
lease term is 2.6 years, and the weighted average discount rate is 4.87% for the above leases.&lt;b&gt;	&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; 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="text-decoration:underline"&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; padding-bottom: 1px"&gt;&lt;b&gt;Minimum &lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Rentals&lt;/span&gt;&lt;/b&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: 87%; text-align: left; padding-left: 5.75pt"&gt;2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%; 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; padding-left: 5.75pt"&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; padding-left: 5.75pt"&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; padding-left: 5.75pt"&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-left: 5.75pt"&gt;2026&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;49&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-left: 5.75pt; 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-left: 5.75pt"&gt;Less: present value discount&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;994&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: 5.75pt; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"/&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;$12,314&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;span style="text-underline-style: double"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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;/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: 95%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td colspan="8" style="text-align: center; white-space: nowrap;"&gt;&lt;b&gt;Three Months Ended&lt;br/&gt; October 31,&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="8" style="text-align: center"&gt;&lt;b&gt;Nine&#160;Months&#160;Ended&lt;br/&gt; October 31,&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&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 style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
                                                                                      &lt;td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; font-weight: bold; text-align: center"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1px; 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; padding-bottom: 1px; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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 style="font-weight: bold; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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 style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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&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&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 style="font-weight: bold; padding-bottom: 1px"&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&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: 62%; text-align: left; padding-left: 5.4pt"&gt;Operating lease expense&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;1,690&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%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;1,545&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%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;4,805&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%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 3%; text-align: right"&gt;4,779&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: 5.4pt; padding-bottom: 1px"&gt;Variable lease expense&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,090&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;79&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,654&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;417&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 5.4pt; padding-bottom: 3px"&gt;Total lease expense&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;2,780&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;1,624&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;6,459&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;5,196&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</us-gaap:LeaseCostTableTextBlock>
    <us-gaap:OperatingLeaseExpense contextRef="c5" decimals="-3" unitRef="usd">1690000</us-gaap:OperatingLeaseExpense>
    <us-gaap:OperatingLeaseExpense contextRef="c6" decimals="-3" unitRef="usd">1545000</us-gaap:OperatingLeaseExpense>
    <us-gaap:OperatingLeaseExpense contextRef="c0" decimals="-3" unitRef="usd">4805000</us-gaap:OperatingLeaseExpense>
    <us-gaap:OperatingLeaseExpense contextRef="c7" decimals="-3" unitRef="usd">4779000</us-gaap:OperatingLeaseExpense>
    <us-gaap:VariableLeaseCost contextRef="c5" decimals="-3" unitRef="usd">1090000</us-gaap:VariableLeaseCost>
    <us-gaap:VariableLeaseCost contextRef="c6" decimals="-3" unitRef="usd">79000</us-gaap:VariableLeaseCost>
    <us-gaap:VariableLeaseCost contextRef="c0" decimals="-3" unitRef="usd">1654000</us-gaap:VariableLeaseCost>
    <us-gaap:VariableLeaseCost contextRef="c7" decimals="-3" unitRef="usd">417000</us-gaap:VariableLeaseCost>
    <us-gaap:LeaseCost contextRef="c5" decimals="-3" unitRef="usd">2780000</us-gaap:LeaseCost>
    <us-gaap:LeaseCost contextRef="c6" decimals="-3" unitRef="usd">1624000</us-gaap:LeaseCost>
    <us-gaap:LeaseCost contextRef="c0" decimals="-3" unitRef="usd">6459000</us-gaap:LeaseCost>
    <us-gaap:LeaseCost contextRef="c7" decimals="-3" unitRef="usd">5196000</us-gaap:LeaseCost>
    <us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The following table is a summary of future minimum
rentals on such leases at October 31, 2021 (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="font-weight: bold; text-align: left; padding-left: 5.75pt"&gt;&lt;span style="text-decoration:underline"&gt;Years Ended January 31,&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right"&gt;Minimum &lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Rentals&lt;/span&gt;&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" 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: 87%; padding-left: 5.75pt; text-align: left"&gt;Remainder of 2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%; text-align: right"&gt;$1,506&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: 5.75pt"&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; padding-left: 5.75pt"&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; padding-left: 5.75pt"&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-left: 5.75pt"&gt;2026&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;49&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-left: 5.75pt; 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;12,282&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: 5.75pt"&gt;Less: present value discount&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;730&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: 5.75pt; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"/&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;$11,552&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;span style="text-underline-style: double"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; 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="text-decoration:underline"&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; padding-bottom: 1px"&gt;&lt;b&gt;Minimum &lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Rentals&lt;/span&gt;&lt;/b&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: 87%; text-align: left; padding-left: 5.75pt"&gt;2022&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%; 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; padding-left: 5.75pt"&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; padding-left: 5.75pt"&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; padding-left: 5.75pt"&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-left: 5.75pt"&gt;2026&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;49&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-left: 5.75pt; 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-left: 5.75pt"&gt;Less: present value discount&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;994&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: 5.75pt; padding-bottom: 3px"&gt;Operating lease liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 3px"/&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;$12,314&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;span style="text-underline-style: double"&gt;&#160;&lt;/span&gt;&lt;/p&gt;</us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock>
    <us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent contextRef="c2" decimals="-3" unitRef="usd">1506000</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">12282000</us-gaap:OperatingLeasesFutureMinimumPaymentsDue>
    <rex:PresentValueDiscount contextRef="c2" decimals="-3" unitRef="usd">730000</rex:PresentValueDiscount>
    <us-gaap:OperatingLeaseLiability contextRef="c2" decimals="-3" unitRef="usd">11552000</us-gaap:OperatingLeaseLiability>
    <us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1 contextRef="c2">P2Y7M6D</us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1>
    <us-gaap:OperatingLeaseWeightedAverageDiscountRatePercent contextRef="c2" decimals="4" unitRef="pure">0.0487</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: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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
October 31, 2021 are summarized below (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&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="text-align: center; padding-bottom: 1pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Fair&#160;Value&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&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="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="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: 53%; text-align: left; padding-left: 5.4pt"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 5%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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-left: 5.4pt; 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="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-2"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;430&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-3"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;430&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 5.4pt; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;430&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;354&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&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"&gt;
    &lt;td style="padding-left: 5.4pt"&gt;&#160;&lt;/td&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&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&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&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-left: 5.4pt"&gt;Forward purchase contracts (3)&lt;/td&gt;&lt;td&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;&lt;div style="-sec-ix-hidden: hidden-fact-4"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;687&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&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;&lt;div style="-sec-ix-hidden: hidden-fact-5"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;687&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: 5.4pt; padding-bottom: 1px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-6"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;3,822&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-7"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;3,822&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px"&gt;Total liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;4,509&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;4,509&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: 0; text-indent: 36pt"&gt;Financial assets and liabilities measured at
fair value on a recurring basis at January 31, 2021 are&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;summarized below (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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="text-align: right; padding-bottom: 1px"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td style="text-align: right; padding-bottom: 1px"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td colspan="3" style="padding-bottom: 1px; text-align: right"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Fair&#160;Value&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&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: 53%; text-align: left; padding-left: 5.4pt"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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-left: 5.4pt"&gt;Forward purchase contracts asset (2)&lt;/td&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;&lt;div style="-sec-ix-hidden: hidden-fact-10"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;&lt;div style="-sec-ix-hidden: hidden-fact-11"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,144&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: 5.4pt; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;2,144&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;354&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;2,498&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-left: 5.4pt"&gt;&#160;&lt;/td&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&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&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&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-left: 5.4pt; padding-bottom: 3px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-12"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;1,794&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-13"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;1,794&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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;There were no assets measured at fair value on
a non-recurring basis at October 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
October 31, 2021 are summarized below (amounts in thousands):&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="text-align: center; padding-bottom: 1pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Fair&#160;Value&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; text-align: center"&gt;&lt;b&gt;&#160;&lt;/b&gt;&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="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: center"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="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: 53%; text-align: left; padding-left: 5.4pt"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 5%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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-left: 5.4pt; 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="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-2"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;430&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-3"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;430&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 5.4pt; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;430&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;354&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&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"&gt;
    &lt;td style="padding-left: 5.4pt"&gt;&#160;&lt;/td&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&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&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&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-left: 5.4pt"&gt;Forward purchase contracts (3)&lt;/td&gt;&lt;td&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;&lt;div style="-sec-ix-hidden: hidden-fact-4"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;687&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&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;&lt;div style="-sec-ix-hidden: hidden-fact-5"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;687&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: 5.4pt; padding-bottom: 1px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-6"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;3,822&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-7"&gt;-&lt;/div&gt;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;3,822&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px"&gt;Total liabilities&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;4,509&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 3px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 3px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;4,509&lt;/td&gt;&lt;td style="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: 85%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right; padding-bottom: 1px"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right; padding-bottom: 1px"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Level 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td style="text-align: right; padding-bottom: 1px"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td colspan="3" style="padding-bottom: 1px; text-align: right"&gt;&lt;span style="border-bottom: Black 1px solid"&gt;&lt;b&gt;Fair&#160;Value&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td colspan="3" style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&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: 53%; text-align: left; padding-left: 5.4pt"&gt;Investment in cooperative (1)&lt;/td&gt;&lt;td style="width: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 2%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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: 2%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 4%; 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-left: 5.4pt"&gt;Forward purchase contracts asset (2)&lt;/td&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;&lt;div style="-sec-ix-hidden: hidden-fact-10"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,144&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;&lt;div style="-sec-ix-hidden: hidden-fact-11"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;2,144&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: 5.4pt; padding-bottom: 3px"&gt;Total assets&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;-&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;2,144&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;354&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;2,498&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-left: 5.4pt"&gt;&#160;&lt;/td&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&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&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&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-left: 5.4pt; padding-bottom: 3px"&gt;Commodity futures liability (3)&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-12"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;1,794&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-13"&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&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 3px double"&gt;1,794&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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock>
    <rex:InvestmentInCooperativeFairValueDisclosure contextRef="c95" 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>
    <rex:ForwardPurchaseContractAsset contextRef="c94" decimals="-3" id="ix_0_fact" unitRef="usd">430000</rex:ForwardPurchaseContractAsset>
    <rex:ForwardPurchaseContractAsset contextRef="c2" decimals="-3" id="ix_1_fact" unitRef="usd">430000</rex:ForwardPurchaseContractAsset>
    <us-gaap:AssetsFairValueDisclosure contextRef="c94" decimals="-3" unitRef="usd">430000</us-gaap:AssetsFairValueDisclosure>
    <us-gaap:AssetsFairValueDisclosure contextRef="c95" decimals="-3" unitRef="usd">354000</us-gaap:AssetsFairValueDisclosure>
    <us-gaap:AssetsFairValueDisclosure contextRef="c2" decimals="-3" unitRef="usd">784000</us-gaap:AssetsFairValueDisclosure>
    <rex:ForwardPurchaseContractsAssetLiabilities contextRef="c94" decimals="-3" id="ix_8_fact" unitRef="usd">687000</rex:ForwardPurchaseContractsAssetLiabilities>
    <rex:ForwardPurchaseContractsAssetLiabilities contextRef="c2" decimals="-3" id="ix_9_fact" unitRef="usd">687000</rex:ForwardPurchaseContractsAssetLiabilities>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c94"
      decimals="-3"
      id="ix_10_fact"
      unitRef="usd">3822000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue contextRef="c2" decimals="-3" id="ix_11_fact" unitRef="usd">3822000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c94" decimals="-3" unitRef="usd">4509000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <us-gaap:FinancialLiabilitiesFairValueDisclosure contextRef="c2" decimals="-3" unitRef="usd">4509000</us-gaap:FinancialLiabilitiesFairValueDisclosure>
    <rex:InvestmentInCooperativeFairValueDisclosure contextRef="c98" 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="c97" decimals="-3" id="ix_2_fact" unitRef="usd">2144000</rex:ForwardPurchaseContractAsset>
    <rex:ForwardPurchaseContractAsset contextRef="c3" decimals="-3" id="ix_3_fact" unitRef="usd">2144000</rex:ForwardPurchaseContractAsset>
    <us-gaap:AssetsFairValueDisclosure contextRef="c97" decimals="-3" unitRef="usd">2144000</us-gaap:AssetsFairValueDisclosure>
    <us-gaap:AssetsFairValueDisclosure contextRef="c98" decimals="-3" unitRef="usd">354000</us-gaap:AssetsFairValueDisclosure>
    <us-gaap:AssetsFairValueDisclosure contextRef="c3" decimals="-3" unitRef="usd">2498000</us-gaap:AssetsFairValueDisclosure>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c97"
      decimals="-3"
      id="ix_12_fact"
      unitRef="usd">1794000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue contextRef="c3" decimals="-3" id="ix_13_fact" unitRef="usd">1794000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
    <us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; 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="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31, &lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&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&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&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; padding-left: 5.75pt"&gt;Land and improvements&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 4%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;27,329&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: 4%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;27,329&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: 5.75pt"&gt;Buildings and improvements&lt;/td&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;23,613&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;23,613&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: 5.75pt"&gt;Machinery, equipment and fixtures&lt;/td&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;294,906&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;293,762&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: 5.75pt"&gt;Construction in progress&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;2,006&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;215&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-left: 5.75pt"&gt;&#160;&lt;/td&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;347,854&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;344,919&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: 5.75pt"&gt;Less: accumulated depreciation&lt;/td&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;(206,649)&lt;/td&gt;&lt;td style="text-align: left"/&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;(194,058)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-left: 5.75pt; padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;141,205&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;150,861&lt;/td&gt;&lt;td style="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: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; 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="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31, &lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&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&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&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; padding-left: 5.75pt"&gt;Land and improvements&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 4%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;27,329&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: 4%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;27,329&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: 5.75pt"&gt;Buildings and improvements&lt;/td&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;23,613&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;23,613&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: 5.75pt"&gt;Machinery, equipment and fixtures&lt;/td&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;294,906&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;293,762&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: 5.75pt"&gt;Construction in progress&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;2,006&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;215&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-left: 5.75pt"&gt;&#160;&lt;/td&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;347,854&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;344,919&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: 5.75pt"&gt;Less: accumulated depreciation&lt;/td&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;(206,649)&lt;/td&gt;&lt;td style="text-align: left"/&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;(194,058)&lt;/td&gt;&lt;td style="text-align: left"/&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td style="padding-left: 5.75pt; padding-bottom: 3px"&gt;Total&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;141,205&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double"&gt;150,861&lt;/td&gt;&lt;td style="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">27329000</us-gaap:LandAndLandImprovements>
    <us-gaap:LandAndLandImprovements contextRef="c3" decimals="-3" unitRef="usd">27329000</us-gaap:LandAndLandImprovements>
    <us-gaap:BuildingsAndImprovementsGross contextRef="c2" decimals="-3" unitRef="usd">23613000</us-gaap:BuildingsAndImprovementsGross>
    <us-gaap:BuildingsAndImprovementsGross contextRef="c3" decimals="-3" unitRef="usd">23613000</us-gaap:BuildingsAndImprovementsGross>
    <us-gaap:MachineryAndEquipmentGross contextRef="c2" decimals="-3" unitRef="usd">294906000</us-gaap:MachineryAndEquipmentGross>
    <us-gaap:MachineryAndEquipmentGross contextRef="c3" decimals="-3" unitRef="usd">293762000</us-gaap:MachineryAndEquipmentGross>
    <us-gaap:ConstructionInProgressGross contextRef="c2" decimals="-3" unitRef="usd">2006000</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">347854000</us-gaap:PropertyPlantAndEquipmentGross>
    <us-gaap:PropertyPlantAndEquipmentGross contextRef="c3" decimals="-3" unitRef="usd">344919000</us-gaap:PropertyPlantAndEquipmentGross>
    <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment contextRef="c2" decimals="-3" unitRef="usd">206649000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
    <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment contextRef="c3" decimals="-3" unitRef="usd">194058000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c2" decimals="-3" unitRef="usd">141205000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:PropertyPlantAndEquipmentNet contextRef="c3" decimals="-3" unitRef="usd">150861000</us-gaap:PropertyPlantAndEquipmentNet>
    <us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; 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="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&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&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&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; padding-left: 5.75pt"&gt;Accrued payroll and related items&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;3,727&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: 4%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; 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; padding-left: 5.75pt"&gt;Accrued utility charges&lt;/td&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;3,473&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Accrued transportation related items&lt;/td&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;578&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Accrued real estate taxes&lt;/td&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;1,419&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Commodity futures&lt;/td&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;3,822&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Forward purchase contracts&lt;/td&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;687&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;-&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: 5.75pt"&gt;Accrued income taxes&lt;/td&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;62&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;55&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-left: 5.75pt"&gt;Other&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&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;353&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&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;362&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: 3px; padding-left: 5.75pt"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&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,121&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"&gt;&#160;&lt;/td&gt;
    &lt;td style="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,754&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">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; 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="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold"&gt;&#160;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&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&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&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; padding-left: 5.75pt"&gt;Accrued payroll and related items&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 4%"&gt;&#160;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; text-align: right"&gt;3,727&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: 4%"&gt;&#160;&#160;&#160;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 6%; 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; padding-left: 5.75pt"&gt;Accrued utility charges&lt;/td&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;3,473&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Accrued transportation related items&lt;/td&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;578&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Accrued real estate taxes&lt;/td&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;1,419&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Commodity futures&lt;/td&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;3,822&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;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; padding-left: 5.75pt"&gt;Forward purchase contracts&lt;/td&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;687&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;-&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: 5.75pt"&gt;Accrued income taxes&lt;/td&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;62&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;55&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-left: 5.75pt"&gt;Other&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&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;353&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td&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;362&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: 3px; padding-left: 5.75pt"&gt;Total&lt;/td&gt;&lt;td style="padding-bottom: 3px"&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,121&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"&gt;&#160;&lt;/td&gt;
    &lt;td style="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,754&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">3727000</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">3473000</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">578000</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">1419000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
    <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent contextRef="c3" decimals="-3" unitRef="usd">1778000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
    <rex:CommodityFutures contextRef="c2" decimals="-3" unitRef="usd">3822000</rex:CommodityFutures>
    <rex:CommodityFutures contextRef="c3" decimals="-3" unitRef="usd">1794000</rex:CommodityFutures>
    <rex:ForwardPurchaseContractsAssetLiabilities contextRef="c2" decimals="-3" unitRef="usd">687000</rex:ForwardPurchaseContractsAssetLiabilities>
    <us-gaap:AccruedIncomeTaxes contextRef="c2" decimals="-3" unitRef="usd">62000</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">353000</us-gaap:OtherAccruedLiabilitiesCurrent>
    <us-gaap:OtherAccruedLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">362000</us-gaap:OtherAccruedLiabilitiesCurrent>
    <us-gaap:AccruedLiabilitiesCurrent contextRef="c2" decimals="-3" unitRef="usd">14121000</us-gaap:AccruedLiabilitiesCurrent>
    <us-gaap:AccruedLiabilitiesCurrent contextRef="c3" decimals="-3" unitRef="usd">8754000</us-gaap:AccruedLiabilitiesCurrent>
    <us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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 style="text-align: center; padding-left: 5.4pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="6" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Asset Derivatives&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;Fair Value &lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="6" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Liability Derivatives&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;Fair Value &lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify; padding-left: 5.4pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31, &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31,&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify; padding-left: 5.4pt"&gt;&#160;&lt;/td&gt;&lt;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="width: 40%; text-align: justify; padding-left: 5.4pt"&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: 10%; 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: 10%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-15"&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: 10%; text-align: right"&gt;3,822&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#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,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; padding-left: 5.4pt"&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;430&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;687&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; padding-left: 5.4pt"&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;430&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,509&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: 0 0 0 36pt; text-align: justify"&gt;(1) Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately
690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3
million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 23.75pt; text-align: justify"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 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 5.7 million
bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of January 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;As of October 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 October 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 $1,737,000 and approximately $1,657,000 to secure the Company&#x2019;s
derivative position at October 31, 2021 and January 31, 2021, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The Company recognized losses (included in net
sales and revenue) on derivative financial instruments of approximately $2,144,000 and $777,000 for the third quarter of fiscal
years 2021 and 2020, respectively. The Company recognized losses (included in net sales and revenue) on derivative financial instruments
of approximately $4,907,000 and $1,076,000 for the first nine months of fiscal years 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The Company recognized gains (included in cost
of sales) on derivative financial instruments of approximately $5,474,000 and losses of approximately $26,000 for the third quarter
of fiscal years 2021 and 2020, respectively. The Company recognized losses (included in cost of sales) on derivative financial
instruments of approximately $2,562,000 and approximately $1,785,000 for the first nine 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: 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: 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 style="text-align: center; padding-left: 5.4pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="6" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Asset Derivatives&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;Fair Value &lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="6" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Liability Derivatives&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;Fair Value &lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify; padding-left: 5.4pt"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31, &lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October&#160;31,&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;br/&gt;
    &lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td style="text-align: left"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: justify; padding-left: 5.4pt"&gt;&#160;&lt;/td&gt;&lt;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="width: 40%; text-align: justify; padding-left: 5.4pt"&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: 10%; 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: 10%; text-align: right"&gt;&lt;div style="-sec-ix-hidden: hidden-fact-15"&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: 10%; text-align: right"&gt;3,822&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 3%"&gt;&#160;&#160;&#160;&#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,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; padding-left: 5.4pt"&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;430&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;687&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; padding-left: 5.4pt"&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;430&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,509&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: 0 0 0 36pt; text-align: justify"&gt;(1) Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately
690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3
million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 23.75pt; text-align: justify"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 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 5.7 million
bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of January 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;</us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock>
    <us-gaap:DerivativeLiabilities
      contextRef="c106"
      decimals="-3"
      id="ix_17_fact"
      unitRef="usd">3822000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeLiabilities
      contextRef="c107"
      decimals="-3"
      id="ix_18_fact"
      unitRef="usd">1794000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeAssets
      contextRef="c108"
      decimals="-3"
      id="ix_14_fact"
      unitRef="usd">430000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeAssets
      contextRef="c109"
      decimals="-3"
      id="ix_15_fact"
      unitRef="usd">2144000</us-gaap:DerivativeAssets>
    <us-gaap:DerivativeLiabilities
      contextRef="c108"
      decimals="-3"
      id="ix_16_fact"
      unitRef="usd">687000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeAssets contextRef="c2" decimals="-3" unitRef="usd">430000</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">4509000</us-gaap:DerivativeLiabilities>
    <us-gaap:DerivativeLiabilities contextRef="c3" decimals="-3" unitRef="usd">1794000</us-gaap:DerivativeLiabilities>
    <rex:CommodityFuturesQuantity contextRef="c99" decimals="0" unitRef="bu">690000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c100" decimals="-5" unitRef="gal">5500000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c101" decimals="-5" unitRef="bu">6900000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c102" decimals="-5" unitRef="bu">2300000</rex:CommodityFuturesQuantity>
    <rex:CommodityFuturesQuantity contextRef="c103" decimals="-6" unitRef="bu">0</rex:CommodityFuturesQuantity>
    <rex:ForwardPurchaseContractsQuantity contextRef="c104" decimals="-5" unitRef="bu">5700000</rex:ForwardPurchaseContractsQuantity>
    <rex:ForwardPurchaseContractsQuantity contextRef="c105" decimals="-5" unitRef="bu">6400000</rex:ForwardPurchaseContractsQuantity>
    <rex:CommodityFuturesQuantity contextRef="c104" decimals="-5" unitRef="bu">6700000</rex:CommodityFuturesQuantity>
    <us-gaap:DebtInstrumentCollateralAmount contextRef="c2" decimals="-3" unitRef="usd">1737000</us-gaap:DebtInstrumentCollateralAmount>
    <us-gaap:DebtInstrumentCollateralAmount contextRef="c3" decimals="-3" unitRef="usd">1657000</us-gaap:DebtInstrumentCollateralAmount>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c5" decimals="-3" unitRef="usd">2144000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c6" decimals="-3" unitRef="usd">777000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c0" decimals="0" unitRef="usd">4907000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue contextRef="c7" decimals="0" unitRef="usd">1076000</rex:GainLossOnDerivativeInstrumentsNetSalesAndRevenue>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c5" decimals="-3" unitRef="usd">5474000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c6" decimals="-3" unitRef="usd">26000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c0" decimals="-3" unitRef="usd">2562000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:GainLossOnDerivativeInstrumentsNetPretax contextRef="c7" decimals="-3" unitRef="usd">1785000</us-gaap:GainLossOnDerivativeInstrumentsNetPretax>
    <us-gaap:InvestmentTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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 Courier New, Courier, Monospace; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The following table summarizes the Company&#x2019;s
equity method investment at October 31, 2021 and January 31, 2021 (dollars in thousands):&lt;/p&gt;&lt;p style="font: 12pt Courier New, Courier, Monospace; margin: 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&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&#160;&lt;/td&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;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: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;Entity&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; padding-bottom: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;Ownership&#160;Percentage&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;October 31, 2021&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;January 31, 2021&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;"&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: center"&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: 28%; text-align: left"&gt;Big River&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: 19%; 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 style="width: 19%; text-align: right"&gt;$30,715&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: 19%; 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Undistributed earnings of the Company&#x2019;s
equity method investee totaled approximately $10.7 million and approximately $9.4 million at October 31, 2021 and January 31, 2021,
respectively. The Company received dividends from its equity method investee of approximately $1.5 million and approximately $2.5
million in the first nine months of fiscal year 2021 and 2020, respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;Three Months Ended&lt;br/&gt; October 31,&lt;/td&gt;&lt;td style="white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;Nine Months Ended&lt;br/&gt; October 31,&lt;/td&gt;&lt;td style="white-space: nowrap;"&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&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&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: 44%; 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: right"&gt;&#160;&#160;&#160;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;347,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: right"&gt;&#160;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;209,397&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: right"&gt;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;966,858&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: right"&gt;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;537,155&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&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;7,092&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;15,419&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;27,993&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;13,041&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 from continuing operations&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;3,390&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;11,167&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;26,802&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;1,627&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&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;3,390&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;11,167&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;26,802&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;1,627&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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;At October 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $21,620,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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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">he following table summarizes the Company&#x2019;s
equity method investment at October 31, 2021 and January 31, 2021 (dollars 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&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&gt;&#160;&lt;/td&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;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: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;Entity&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: center; padding-bottom: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;Ownership&#160;Percentage&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;October 31, 2021&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"&gt;&lt;span style="text-decoration:underline"&gt;January 31, 2021&lt;/span&gt;&lt;/td&gt;&lt;td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;"&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: center"&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: 28%; text-align: left"&gt;Big River&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: 19%; 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 style="width: 19%; text-align: right"&gt;$30,715&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: 19%; 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: 0"&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">30715000</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">10700000</us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees>
    <us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees contextRef="c3" decimals="-5" unitRef="usd">9400000</us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees>
    <us-gaap:EquityMethodInvestmentDividendsOrDistributions contextRef="c7" decimals="-5" unitRef="usd">2500000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
    <rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif"&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;Three Months Ended&lt;br/&gt; October 31,&lt;/td&gt;&lt;td style="white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;Nine Months Ended&lt;br/&gt; October 31,&lt;/td&gt;&lt;td style="white-space: nowrap;"&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&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&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: 44%; 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: right"&gt;&#160;&#160;&#160;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;347,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: right"&gt;&#160;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;209,397&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: right"&gt;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;966,858&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: right"&gt;&#160;$&lt;/td&gt;&lt;td style="width: 9%; text-align: right"&gt;537,155&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&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;7,092&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;15,419&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;27,993&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;13,041&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 from continuing operations&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;3,390&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;11,167&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;26,802&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;1,627&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&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;3,390&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;11,167&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;26,802&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: right"&gt;$&lt;/td&gt;&lt;td style="text-align: right"&gt;1,627&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: 0"&gt;&#160;&lt;/p&gt;</rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock>
    <us-gaap:Revenues contextRef="c110" decimals="-3" unitRef="usd">347059000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c111" decimals="-3" unitRef="usd">209397000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c112" decimals="-3" unitRef="usd">966858000</us-gaap:Revenues>
    <us-gaap:Revenues contextRef="c113" decimals="-3" unitRef="usd">537155000</us-gaap:Revenues>
    <us-gaap:GrossProfit contextRef="c110" decimals="-3" unitRef="usd">7092000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c111" decimals="-3" unitRef="usd">15419000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c112" decimals="-3" unitRef="usd">27993000</us-gaap:GrossProfit>
    <us-gaap:GrossProfit contextRef="c113" decimals="-3" unitRef="usd">13041000</us-gaap:GrossProfit>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c110" decimals="-3" unitRef="usd">3390000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c111" decimals="-3" unitRef="usd">11167000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c112" decimals="-3" unitRef="usd">26802000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest contextRef="c113" decimals="-3" unitRef="usd">1627000</us-gaap:IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest>
    <us-gaap:NetIncomeLoss contextRef="c110" decimals="-3" unitRef="usd">3390000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c111" decimals="-3" unitRef="usd">11167000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c112" decimals="-3" unitRef="usd">26802000</us-gaap:NetIncomeLoss>
    <us-gaap:NetIncomeLoss contextRef="c113" decimals="-3" unitRef="usd">1627000</us-gaap:NetIncomeLoss>
    <us-gaap:ShortTermInvestments contextRef="c2" decimals="-4" unitRef="usd">21620000</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: 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: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0pt"&gt;awards in its consolidated
financial statements over the requisite service period on a straight-line basis. At October 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: 0; text-align: justify; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt"&gt;At October 31, 2021 and
January 31, 2021, unrecognized compensation cost related to nonvested restricted stock was approximately $126,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: 0; text-align: justify; 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; text-align: left;"&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="11" style="font-weight: bold; text-align: center"&gt;Nine Months Ended October 31, 2021&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&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&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: center"&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: center"&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: center; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Non-Vested&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Shares&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&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 Fair Value&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;(000&#x2019;s)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt; Average Remaining&lt;br/&gt; Vesting Term&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;(in years)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right"&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;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%"&gt;Non-Vested at January 31, 2021&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;19,705&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;1,398&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;1&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td&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&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="padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;12,447&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;900&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;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="padding-bottom: 2px"&gt;Non-Vested at October 31, 2021&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;10,061&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;773&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 2px"&gt;2&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; 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; text-align: left;"&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"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="11" style="font-weight: bold; text-align: center"&gt;Nine Months Ended October 31, 2020&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&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&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: center"&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: center"&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: center; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Non-Vested&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Shares&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&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; &lt;span style="text-decoration:underline"&gt;(000&#x2019;s)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt; Average Remaining&lt;br/&gt; Vesting Term&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;(in years)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&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;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%"&gt;Non-Vested at January 31, 2020&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;28,576&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;2,193&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;2&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td&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;6,158&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;416&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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&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="padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;15,029&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,211&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left; 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="padding-bottom: 2px"&gt;Non-Vested at October 31, 2020&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;19,705&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;1,398&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 2px"&gt;2&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt"&gt;The above tables include
5,714 and 14,777 non-vested shares at October 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&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0pt"&gt;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="c114" decimals="-4" unitRef="shares">550000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant contextRef="c114" decimals="0" unitRef="shares">471027</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized contextRef="c115" decimals="-3" unitRef="usd">126000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized contextRef="c116" 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: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;"&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="11" style="font-weight: bold; text-align: center"&gt;Nine Months Ended October 31, 2021&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&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&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: center"&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: center"&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: center; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Non-Vested&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Shares&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&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 Fair Value&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;(000&#x2019;s)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt; Average Remaining&lt;br/&gt; Vesting Term&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;(in years)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right"&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;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%"&gt;Non-Vested at January 31, 2021&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;19,705&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;1,398&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;1&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td&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&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="padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;12,447&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;900&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom"&gt;
    &lt;td style="text-align: right"&gt;&#160;&lt;/td&gt;&lt;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="padding-bottom: 2px"&gt;Non-Vested at October 31, 2021&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;10,061&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;773&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 2px"&gt;2&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; 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; text-align: left;"&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"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="11" style="font-weight: bold; text-align: center"&gt;Nine Months Ended October 31, 2020&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&gt;&#160;&lt;/td&gt;
    &lt;td colspan="2" style="text-align: center"&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: center"&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: center"&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: center; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Non-Vested&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;Shares&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&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; &lt;span style="text-decoration:underline"&gt;(000&#x2019;s)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;Weighted&lt;br/&gt; Average Remaining&lt;br/&gt; Vesting Term&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;(in years)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&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;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%"&gt;Non-Vested at January 31, 2020&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;28,576&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;2,193&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;2&lt;/td&gt;&lt;td style="width: 3%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td&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;6,158&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;416&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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&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="padding-bottom: 1px"&gt;Vested&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;15,029&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,211&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: left; 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="padding-bottom: 2px"&gt;Non-Vested at October 31, 2020&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;19,705&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;1,398&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; padding-bottom: 2px"&gt;2&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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="c53" decimals="-3" unitRef="shares">28576000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue contextRef="c53" decimals="-3" unitRef="usd">2193000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
    <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c7">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross contextRef="c7" decimals="-3" unitRef="shares">6158000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue contextRef="c7" decimals="-3" unitRef="usdPershares">416000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod contextRef="c7" decimals="-3" unitRef="shares">15029000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod>
    <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested contextRef="c7" decimals="-3" unitRef="usd">1211000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c47" decimals="-3" unitRef="shares">19705000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue contextRef="c47" decimals="-3" unitRef="usd">1398000</rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue>
    <rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition contextRef="c7">P2Y</rex:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c117" decimals="0" unitRef="shares">5714</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber contextRef="c118" decimals="0" unitRef="shares">14777</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber>
    <us-gaap:IncomeTaxDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operations of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#x201c;ordinary&#x201d; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The Company&#x2019;s income tax provision from
continuing operations was approximately $4.3 million and approximately $5.0 million for the three months ended October 31, 2021
and 2020, respectively. The Company&#x2019;s income tax provision (benefit) from continuing operations was approximately $8.3 million
and approximately $(0.4) million for the nine months ended October 31, 2021 and 2020, respectively. The Company&#x2019;s income
tax provision for the third quarter of fiscal year 2020 included a provision of approximately $1.8 million related to reversing
previously recognized tax benefits associated with the lengthening of a net operating loss carryback allowed by the CARES Act as
the Company no longer had a year to date estimated taxable loss.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;The Company&#x2019;s income tax benefit from discontinued
operations was approximately $4.9 million and approximately $1.0 million for the three months ended October 31, 2021 and 2020,
respectively. The Company&#x2019;s income tax benefit from discontinued operations was approximately $12.6 million and $4.9 million
for the nine months ended October 31, 2021 and 2020, respectively. The benefit is derived from the level of tax credits generated
from the refined coal business and the tax benefit of the loss from operations. Through its refined coal business, the Company
earned production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities for up
to 20 years.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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. The Company ceased operation of its refined coal business on 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: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;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: 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&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; white-space: nowrap;"&gt;Nine Months Ended&lt;br/&gt; October 31,&lt;/td&gt;&lt;td&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&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&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: 65%; text-align: left"&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 9%; 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: 5%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 9%; 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;15&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(57)&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="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;413&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;8,828&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;7,313&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:IncomeTaxDisclosureTextBlock>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c5" decimals="-5" unitRef="usd">4300000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c6" decimals="-5" unitRef="usd">5000000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c0" decimals="-5" unitRef="usd">8300000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefit contextRef="c7" decimals="-5" unitRef="usd">-400000</us-gaap:IncomeTaxExpenseBenefit>
    <us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability contextRef="c119" decimals="-5" unitRef="usd">1800000</us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c5" decimals="-5" unitRef="usd">4900000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c6" decimals="-5" unitRef="usd">1000000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c0" decimals="-5" unitRef="usd">12600000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c7" decimals="-5" unitRef="usd">4900000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <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&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; white-space: nowrap;"&gt;Nine Months Ended&lt;br/&gt; October 31,&lt;/td&gt;&lt;td&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&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&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: 65%; text-align: left"&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 9%; 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: 5%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 9%; 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;15&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(57)&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="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;413&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;-&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-bottom: 2px"&gt;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;8,828&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;7,313&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&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="c53" decimals="-3" unitRef="usd">7370000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions contextRef="c0" decimals="-3" unitRef="usd">15000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
    <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions contextRef="c7" decimals="-3" unitRef="usd">-57000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
    <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions contextRef="c0" decimals="-3" unitRef="usd">413000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromCurrentPeriodTaxPositions>
    <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties contextRef="c2" decimals="-3" unitRef="usd">8828000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties contextRef="c47" decimals="-3" unitRef="usd">7313000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
    <us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Note 12. &lt;i&gt;Discontinued Operations&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized as discontinued operations. Below is a
table reflecting certain items of the Consolidated Condensed Statement of Operations that were reclassified as discontinued operations
for the periods indicated (amounts in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;&#160;&lt;/b&gt;&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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 October 31,&lt;/td&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;Nine Months Ended October 31,&lt;/td&gt;&lt;td&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&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&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: 52%; text-align: left"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;Net sales and revenue&lt;sup&gt;1&lt;/sup&gt;&lt;/span&gt;&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: 7%; text-align: right"&gt;151&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: 7%; text-align: right"&gt;34&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: 7%; text-align: right"&gt;377&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: 7%; text-align: right"&gt;134&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="padding-bottom: 1px"&gt;Cost of Sales&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;3,033&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,284&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;8,015&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;4,375&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left"&gt;Gross 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;(2,882)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,250)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,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;(4,241)&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;Selling, general and administrative&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;230&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;(12)&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;665&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;(107)&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left"&gt;Income 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;(3,112)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,238)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(8,303)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,134)&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;Benefit for income taxes&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;4,927&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;985&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;12,566&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;4,863&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left"&gt;Net income from discontinued operations, net of tax&lt;/td&gt;&lt;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,815&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(253)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,263&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;729&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;Net loss attributable to noncontrolling interests&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;137&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;58&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;370&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;193&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-bottom: 2px"&gt;Net income (loss) attributable to REX common shareholders&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;1,952&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;(195)&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;4,633&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;922&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&lt;sup&gt;1 &lt;/sup&gt;Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Below is a table reflecting certain items of
the Consolidated Condensed Balance Sheets that were reclassified as discontinued operations for the periods indicated (amounts
in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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="white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October 31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td&gt;Assets:&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&#160;&#160;&#160;&#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&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;Current assets:&lt;/td&gt;
    &lt;td&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 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&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: 69%; text-align: left; padding-left: 10pt"&gt;Prepaid expenses and other&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 5%; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;146&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 7%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;34&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="padding-left: 10pt; padding-bottom: 1px"&gt;Inventory&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;246&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;454&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 20pt"&gt;Total current assets&lt;/td&gt;
    &lt;td&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 style="text-align: right"&gt;392&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;488&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: 10pt; padding-bottom: 1px"&gt;Property and equipment, net&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;233&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;2,325&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 20pt; padding-bottom: 1px"&gt;Total Assets&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;625&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;2,813&lt;/td&gt;&lt;td style="text-align: left; 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: right"&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&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&gt;Liabilities:&lt;/td&gt;
    &lt;td&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 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&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;Current liabilities:&lt;/td&gt;
    &lt;td&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 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&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-left: 10pt"&gt;Accounts payable, trade&lt;/td&gt;
    &lt;td&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 style="text-align: right"&gt;253&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;334&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: 10pt; padding-bottom: 1px"&gt;Accrued expenses and other current liabilities&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;29&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;201&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 20pt; padding-bottom: 1px"&gt;Total current liabilities&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;282&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;535&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 20pt; padding-bottom: 1px"&gt;Total liabilities&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;282&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;535&lt;/td&gt;&lt;td style="text-align: left; 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: right"&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&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: 2px"&gt;Net assets included in discontinued operations&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;343&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;2,278&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock>
    <us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock contextRef="c0">Below is a
table reflecting certain items of the Consolidated Condensed Statement of Operations that were reclassified as discontinued operations
for the periods indicated (amounts in thousands):&lt;table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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 October 31,&lt;/td&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;Nine Months Ended October 31,&lt;/td&gt;&lt;td&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&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"&gt;&lt;span style="text-decoration:underline"&gt;2020&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&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: 52%; text-align: left"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;Net sales and revenue&lt;sup&gt;1&lt;/sup&gt;&lt;/span&gt;&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: 7%; text-align: right"&gt;151&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: 7%; text-align: right"&gt;34&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: 7%; text-align: right"&gt;377&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: 7%; text-align: right"&gt;134&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="padding-bottom: 1px"&gt;Cost of Sales&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;3,033&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;1,284&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;8,015&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;4,375&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left"&gt;Gross 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;(2,882)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,250)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,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;(4,241)&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;Selling, general and administrative&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;230&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;(12)&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;665&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;(107)&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left"&gt;Income 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;(3,112)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,238)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(8,303)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,134)&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;Benefit for income taxes&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;4,927&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;985&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;12,566&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;4,863&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left"&gt;Net income from discontinued operations, net of tax&lt;/td&gt;&lt;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,815&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;(253)&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;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,263&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;729&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;Net loss attributable to noncontrolling interests&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;137&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;58&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;370&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;193&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-bottom: 2px"&gt;Net income (loss) attributable to REX common shareholders&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;1,952&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;(195)&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;4,633&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;922&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&lt;sup&gt;1 &lt;/sup&gt;Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.&lt;/p&gt;</us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c5" decimals="-3" id="ix_19_fact" unitRef="usd">151000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c6" decimals="-3" id="ix_20_fact" unitRef="usd">34000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c0" decimals="-3" id="ix_21_fact" unitRef="usd">377000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue contextRef="c7" decimals="-3" id="ix_22_fact" unitRef="usd">134000</us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold contextRef="c5" decimals="-3" unitRef="usd">3033000</us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold contextRef="c6" decimals="-3" unitRef="usd">1284000</us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold contextRef="c0" decimals="-3" unitRef="usd">8015000</us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold contextRef="c7" decimals="-3" unitRef="usd">4375000</us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss contextRef="c5" decimals="-3" unitRef="usd">-2882000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss contextRef="c6" decimals="-3" unitRef="usd">-1250000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss contextRef="c0" decimals="-3" unitRef="usd">-7638000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss contextRef="c7" decimals="-3" unitRef="usd">-4241000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense contextRef="c5" decimals="-3" unitRef="usd">230000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense contextRef="c6" decimals="-3" unitRef="usd">-12000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense contextRef="c0" decimals="-3" unitRef="usd">665000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense contextRef="c7" decimals="-3" unitRef="usd">-107000</us-gaap:DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome contextRef="c5" decimals="-3" unitRef="usd">-3112000</us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome contextRef="c6" decimals="-3" unitRef="usd">-1238000</us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome contextRef="c0" decimals="-3" unitRef="usd">-8303000</us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome contextRef="c7" decimals="-3" unitRef="usd">-4134000</us-gaap:DisposalGroupIncludingDiscontinuedOperationOtherIncome>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c5" decimals="-3" unitRef="usd">4927000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c6" decimals="-3" unitRef="usd">985000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c0" decimals="-3" unitRef="usd">12566000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation contextRef="c7" decimals="-3" unitRef="usd">4863000</us-gaap:DiscontinuedOperationTaxEffectOfDiscontinuedOperation>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c5" decimals="-3" unitRef="usd">1815000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c6" decimals="-3" unitRef="usd">-253000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c0" decimals="-3" unitRef="usd">4263000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax contextRef="c7" decimals="-3" unitRef="usd">729000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTax>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c5" decimals="-3" unitRef="usd">-137000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c6" decimals="-3" unitRef="usd">-58000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c0" decimals="-3" unitRef="usd">-370000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest contextRef="c7" decimals="-3" unitRef="usd">-193000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c5" decimals="-3" unitRef="usd">1952000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c6" decimals="-3" unitRef="usd">-195000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c0" decimals="-3" unitRef="usd">4633000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity contextRef="c7" decimals="-3" unitRef="usd">922000</us-gaap:IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity>
    <us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock contextRef="c120">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;Below is a table reflecting certain items of
the Consolidated Condensed Balance Sheets that were reclassified as discontinued operations for the periods indicated (amounts
in thousands):&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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="white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;October 31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;
    &lt;td colspan="3" style="text-align: center"&gt;&lt;span style="font-family: Times New Roman, Times, Serif"&gt;&lt;b&gt;January&#160;31,&lt;br/&gt; &lt;span style="text-decoration:underline"&gt;2021&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="font-weight: bold; white-space: nowrap;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; background-color: rgb(229,255,255)"&gt;
    &lt;td&gt;Assets:&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right"&gt;&#160;&#160;&#160;&#160;&#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&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;Current assets:&lt;/td&gt;
    &lt;td&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 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&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: 69%; text-align: left; padding-left: 10pt"&gt;Prepaid expenses and other&lt;/td&gt;
    &lt;td style="width: 3%"&gt;&#160;&lt;/td&gt;&lt;td style="width: 5%; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;146&lt;/td&gt;&lt;td style="width: 1%; text-align: left"&gt;&#160;&lt;/td&gt;&lt;td style="width: 8%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 7%"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 1%; text-align: left"&gt;$&lt;/td&gt;&lt;td style="width: 2%; text-align: right"&gt;34&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="padding-left: 10pt; padding-bottom: 1px"&gt;Inventory&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;246&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;454&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 20pt"&gt;Total current assets&lt;/td&gt;
    &lt;td&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 style="text-align: right"&gt;392&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;488&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: 10pt; padding-bottom: 1px"&gt;Property and equipment, net&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;233&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;2,325&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 20pt; padding-bottom: 1px"&gt;Total Assets&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;625&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;2,813&lt;/td&gt;&lt;td style="text-align: left; 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: right"&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&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&gt;Liabilities:&lt;/td&gt;
    &lt;td&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 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&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;Current liabilities:&lt;/td&gt;
    &lt;td&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 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&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-left: 10pt"&gt;Accounts payable, trade&lt;/td&gt;
    &lt;td&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 style="text-align: right"&gt;253&lt;/td&gt;&lt;td style="text-align: left"&gt;&#160;&lt;/td&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;334&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: 10pt; padding-bottom: 1px"&gt;Accrued expenses and other current liabilities&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;29&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;201&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style="vertical-align: bottom; "&gt;
    &lt;td style="text-align: left; padding-left: 20pt; padding-bottom: 1px"&gt;Total current liabilities&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;282&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;535&lt;/td&gt;&lt;td style="text-align: left; 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="text-align: left; padding-left: 20pt; padding-bottom: 1px"&gt;Total liabilities&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;282&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 1px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 1px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 1px solid"&gt;&#160;&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 1px solid"&gt;535&lt;/td&gt;&lt;td style="text-align: left; 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: right"&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&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: 2px"&gt;Net assets included in discontinued operations&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px; text-align: right"&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;343&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;td style="padding-bottom: 2px"&gt;&#160;&lt;/td&gt;
    &lt;td&gt;&#160;&lt;/td&gt;
    &lt;td style="text-align: left; border-bottom: Black 2px double"&gt;$&lt;/td&gt;&lt;td style="text-align: right; border-bottom: Black 2px double"&gt;2,278&lt;/td&gt;&lt;td style="text-align: left; padding-bottom: 2px"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets contextRef="c2" decimals="-3" unitRef="usd">146000</us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets contextRef="c3" decimals="-3" unitRef="usd">34000</us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationInventory1 contextRef="c2" decimals="-3" unitRef="usd">246000</us-gaap:DisposalGroupIncludingDiscontinuedOperationInventory1>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationInventory1 contextRef="c3" decimals="-3" unitRef="usd">454000</us-gaap:DisposalGroupIncludingDiscontinuedOperationInventory1>
    <us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent contextRef="c2" decimals="-3" unitRef="usd">392000</us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent>
    <us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent contextRef="c3" decimals="-3" unitRef="usd">488000</us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment contextRef="c2" decimals="-3" unitRef="usd">233000</us-gaap:DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment contextRef="c3" decimals="-3" unitRef="usd">2325000</us-gaap:DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment>
    <us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation contextRef="c2" decimals="-3" unitRef="usd">625000</us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation>
    <us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation contextRef="c3" decimals="-3" unitRef="usd">2813000</us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationAccountsPayable contextRef="c2" decimals="-3" unitRef="usd">253000</us-gaap:DisposalGroupIncludingDiscontinuedOperationAccountsPayable>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationAccountsPayable contextRef="c3" decimals="-3" unitRef="usd">334000</us-gaap:DisposalGroupIncludingDiscontinuedOperationAccountsPayable>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities contextRef="c2" decimals="-3" unitRef="usd">29000</us-gaap:DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities>
    <us-gaap:DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities contextRef="c3" decimals="-3" unitRef="usd">201000</us-gaap:DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities>
    <us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent contextRef="c2" decimals="-3" unitRef="usd">-282000</us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent>
    <us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent contextRef="c3" decimals="-3" unitRef="usd">-535000</us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent>
    <us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation contextRef="c2" decimals="-3" unitRef="usd">282000</us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation>
    <us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation contextRef="c3" decimals="-3" unitRef="usd">535000</us-gaap:LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation>
    <rex:NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent contextRef="c2" decimals="-3" unitRef="usd">343000</rex:NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent>
    <rex:NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent contextRef="c3" decimals="-3" unitRef="usd">2278000</rex:NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent>
    <us-gaap:CommitmentsAndContingenciesDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Note 13. &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: 0"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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), 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: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;One Earth and NuGen have combined forward purchase
contracts for approximately 12.4 million bushels of corn, the principal raw material for their ethanol plants, and they have combined
forward purchase contracts for approximately 2.1 million MmBtu (million British thermal unit) of natural gas.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;One Earth and NuGen have combined sales commitments
for approximately 50.3 million gallons of ethanol, approximately 113,000 tons of distillers grains and approximately 13.5 million
pounds of non-food grade corn oil.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 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.0 million and approximately $0.5 million in the third quarter
of fiscal years 2021 and 2020, respectively. Such fees totaled approximately $5.1 million and approximately $1.9 million for the
nine months ended October 31, 2021 and 2020, respectively.&lt;/p&gt;</us-gaap:CommitmentsAndContingenciesDisclosureTextBlock>
    <rex:QuantityOfBushelsUnderForwardPurchaseContract contextRef="c121" decimals="-5" unitRef="bu">12400000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
    <rex:QuantityOfNaturalGasUnderSalesCommitment contextRef="c121" decimals="1" unitRef="mmbtu">2.1</rex:QuantityOfNaturalGasUnderSalesCommitment>
    <rex:QuantityOfEthanolUnderSalesCommitment contextRef="c121" decimals="-5" unitRef="gal">50300000</rex:QuantityOfEthanolUnderSalesCommitment>
    <rex:QuantityOfDistillersGrainsUnderSalesCommitment contextRef="c121" decimals="0" unitRef="t">113000</rex:QuantityOfDistillersGrainsUnderSalesCommitment>
    <rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments contextRef="c121" decimals="-5" unitRef="lb">13500000</rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments>
    <rex:FeesIncurredBySubsidiary contextRef="c122" decimals="-5" unitRef="usd">2000000</rex:FeesIncurredBySubsidiary>
    <rex:FeesIncurredBySubsidiary contextRef="c123" decimals="-5" unitRef="usd">500000</rex:FeesIncurredBySubsidiary>
    <rex:FeesIncurredBySubsidiary contextRef="c124" decimals="-5" unitRef="usd">5100000</rex:FeesIncurredBySubsidiary>
    <rex:FeesIncurredBySubsidiary contextRef="c125" decimals="-5" unitRef="usd">1900000</rex:FeesIncurredBySubsidiary>
    <us-gaap:RelatedPartyTransactionsDisclosureTextBlock contextRef="c0">&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0"&gt;&lt;b&gt;Note 14. &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: 0"&gt;&lt;b&gt;&lt;i&gt;&#160;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;During the third quarters of fiscal years 2021
and 2020, One Earth and NuGen purchased approximately $22.9 million and approximately $16.9 million, respectively, of corn (and
other supplies) from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately $60.3
million and approximately $34.0 million for the nine months ended October 31, 2021 and 2020, respectively. The Company had amounts
payable to related parties of approximately $1.7 million and approximately $0.7 million at October 31, 2021 and January 31, 2021,
respectively.&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;&#160;&lt;/p&gt;&lt;p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"&gt;During the third quarters of fiscal years 2021
and 2020, the Company recognized (reduced) commission expense of approximately $40,000 and approximately $(15,000), payable to
the minority investor in the refined coal entity. During the first nine months of fiscal years 2021 and 2020, the Company recognized
(reduced) commission expense of approximately $0.2 million and approximately $(0.2) million, respectively. The commission expense
is associated with the refined coal business which is classified within discontinued operations. The Company had accrued liabilities
related to the commission expense of approximately $0.1 million at January 31, 2021, recorded within current liabilities held for
sale.&lt;/p&gt;</us-gaap:RelatedPartyTransactionsDisclosureTextBlock>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c126" decimals="-5" unitRef="usd">22900000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c127" decimals="-5" unitRef="usd">16900000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c128" decimals="-5" unitRef="usd">60300000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c129" decimals="-5" unitRef="usd">34000000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c121" decimals="-5" unitRef="usd">1700000</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:AccountsPayableRelatedPartiesCurrent contextRef="c130" decimals="-5" unitRef="usd">700000</us-gaap:AccountsPayableRelatedPartiesCurrent>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c131" decimals="0" unitRef="usd">40000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c132" decimals="0" unitRef="usd">-15000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c133" decimals="-5" unitRef="usd">200000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:CostsAndExpensesRelatedParty contextRef="c134" decimals="-5" unitRef="usd">-200000</us-gaap:CostsAndExpensesRelatedParty>
    <us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes contextRef="c135" decimals="-5" unitRef="usd">100000</us-gaap:AccruedLiabilitiesForCommissionsExpenseAndTaxes>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c93"
      id="hidden-fact-0"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c94"
      id="hidden-fact-1"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c93"
      id="hidden-fact-2"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c95"
      id="hidden-fact-3"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractsAssetLiabilities
      contextRef="c93"
      id="hidden-fact-4"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractsAssetLiabilities
      contextRef="c95"
      id="hidden-fact-5"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c93"
      id="hidden-fact-6"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c95"
      id="hidden-fact-7"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c96"
      id="hidden-fact-8"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:InvestmentInCooperativeFairValueDisclosure
      contextRef="c97"
      id="hidden-fact-9"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c96"
      id="hidden-fact-10"
      unitRef="usd"
      xsi:nil="true"/>
    <rex:ForwardPurchaseContractAsset
      contextRef="c98"
      id="hidden-fact-11"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c96"
      id="hidden-fact-12"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue
      contextRef="c98"
      id="hidden-fact-13"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:DerivativeAssets
      contextRef="c106"
      id="hidden-fact-14"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:DerivativeAssets
      contextRef="c107"
      id="hidden-fact-15"
      unitRef="usd"
      xsi:nil="true"/>
    <us-gaap:DerivativeLiabilities
      contextRef="c109"
      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">Q3</dei:DocumentFiscalPeriodFocus>
    <dei:DocumentFiscalYearFocus contextRef="c0">2021</dei:DocumentFiscalYearFocus>
    <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="#hidden-fact-11"
          xlink:label="hidden-fact-11"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_3_fact"
          xlink:label="ix_3_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_1_fact"
          xlink:label="ix_1_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-3"
          xlink:label="hidden-fact-3"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_0_fact"
          xlink:label="ix_0_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-10"
          xlink:label="hidden-fact-10"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_2_fact"
          xlink:label="ix_2_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-2"
          xlink:label="hidden-fact-2"
          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 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="hidden-fact-11"
          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_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-3"
          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-10"
          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:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-2"
          xlink:to="ix_0_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#hidden-fact-0"
          xlink:label="hidden-fact-0"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_4_fact"
          xlink:label="ix_4_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-9"
          xlink:label="hidden-fact-9"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-8"
          xlink:label="hidden-fact-8"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_6_fact"
          xlink:label="ix_6_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_5_fact"
          xlink:label="ix_5_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-1"
          xlink:label="hidden-fact-1"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_7_fact"
          xlink:label="ix_7_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-0"
          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="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="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="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="ix_5_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_7_fact"
          xlink:to="ix_1_footnote"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#hidden-fact-4"
          xlink:label="hidden-fact-4"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_11_fact"
          xlink:label="ix_11_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-5"
          xlink:label="hidden-fact-5"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-12"
          xlink:label="hidden-fact-12"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-13"
          xlink:label="hidden-fact-13"
          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="#ix_10_fact"
          xlink:label="ix_10_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_8_fact"
          xlink:label="ix_8_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-6"
          xlink:label="hidden-fact-6"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_13_fact"
          xlink:label="ix_13_fact"
          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 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="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_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-7"
          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:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-12"
          xlink:to="ix_2_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-13"
          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="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="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-6"
          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:loc
          xlink:href="#hidden-fact-16"
          xlink:label="hidden-fact-16"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_16_fact"
          xlink:label="ix_16_fact"
          xlink:type="locator"/>
        <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: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">Forward purchase contracts
assets are included in prepaid expenses and other current assets. These contracts are for purchases of approximately 5.7 million
bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of 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_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: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:loc
          xlink:href="#hidden-fact-15"
          xlink:label="hidden-fact-15"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#hidden-fact-14"
          xlink:label="hidden-fact-14"
          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: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">Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately
690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3
million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.</link:footnote>
        <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:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="hidden-fact-14"
          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: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:loc
          xlink:href="#ix_21_fact"
          xlink:label="ix_21_fact"
          xlink:type="locator"/>
        <link:loc
          xlink:href="#ix_22_fact"
          xlink:label="ix_22_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">Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was 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:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_21_fact"
          xlink:to="ix_5_footnote"
          xlink:type="arc"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="ix_22_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="idm140124597510264">
<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">9 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Dec. 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,920,351<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">Oct. 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">Q3<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="idm140124598407832">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Consolidated Condensed Balance Sheets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Oct. 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">$ 197,395<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">21,620<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">1,737<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">40,026<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">29,753<span></span>
</td>
<td class="nump">37,426<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">5,930<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">10,389<span></span>
</td>
<td class="nump">12,751<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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent', window );">Current assets held for sale</a></td>
<td class="nump">392<span></span>
</td>
<td class="nump">488<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_AssetsCurrent', window );">Total current assets</a></td>
<td class="nump">307,242<span></span>
</td>
<td class="nump">258,750<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_PropertyPlantAndEquipmentNet', window );">Property and equipment, net</a></td>
<td class="nump">141,205<span></span>
</td>
<td class="nump">150,861<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_OperatingLeaseRightOfUseAsset', window );">Operating lease right-of-use assets</a></td>
<td class="nump">11,817<span></span>
</td>
<td class="nump">12,678<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_OtherAssetsNoncurrent', window );">Deferred taxes and other assets</a></td>
<td class="nump">33,190<span></span>
</td>
<td class="nump">25,275<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_EquityMethodInvestments', window );">Equity method investment</a></td>
<td class="nump">30,715<span></span>
</td>
<td class="nump">29,456<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_AssetsHeldForSaleNotPartOfDisposalGroup', window );">Assets held for sale</a></td>
<td class="nump">233<span></span>
</td>
<td class="nump">2,325<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">524,402<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 $1.7 million and $0.7 million with related parties at October 31, 2021 and January 31, 2021, respectively)</a></td>
<td class="nump">27,133<span></span>
</td>
<td class="nump">16,573<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">4,999<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_AccruedLiabilitiesCurrent', window );">Accrued expenses and other current liabilities</a></td>
<td class="nump">14,121<span></span>
</td>
<td class="nump">8,754<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_OtherLiabilitiesCurrent', window );">Current liabilities held for sale (includes $0.1 million with related parties at January 31, 2021)</a></td>
<td class="nump">282<span></span>
</td>
<td class="nump">535<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_LiabilitiesCurrent', window );">Total current liabilities</a></td>
<td class="nump">46,535<span></span>
</td>
<td class="nump">30,737<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_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="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_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="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_OperatingLeaseLiabilityNoncurrent', window );">Long-term operating lease liabilities</a></td>
<td class="nump">6,553<span></span>
</td>
<td class="nump">7,439<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_OtherLiabilitiesNoncurrent', window );">Other long-term liabilities</a></td>
<td class="nump">2,581<span></span>
</td>
<td class="nump">273<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_LiabilitiesNoncurrent', window );">Total long-term liabilities</a></td>
<td class="nump">13,164<span></span>
</td>
<td class="nump">11,425<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_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="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_CommonStockValue', window );">Common stock</a></td>
<td class="nump">299<span></span>
</td>
<td class="nump">299<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_AdditionalPaidInCapitalCommonStock', window );">Paid-in capital</a></td>
<td class="nump">149,299<span></span>
</td>
<td class="nump">149,110<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_RetainedEarningsAccumulatedDeficit', window );">Retained earnings</a></td>
<td class="nump">620,924<span></span>
</td>
<td class="nump">589,986<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_TreasuryStockValue', window );">Treasury stock</a></td>
<td class="num">(361,199)<span></span>
</td>
<td class="num">(354,612)<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_StockholdersEquity', window );">Total REX shareholders&#8217; equity</a></td>
<td class="nump">409,323<span></span>
</td>
<td class="nump">384,783<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_MinorityInterest', window );">Noncontrolling interests</a></td>
<td class="nump">55,380<span></span>
</td>
<td class="nump">52,400<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_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Total equity</a></td>
<td class="nump">464,703<span></span>
</td>
<td class="nump">437,183<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_LiabilitiesAndStockholdersEquity', window );">Total liabilities and equity</a></td>
<td class="nump">$ 524,402<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_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_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_AssetsHeldForSaleNotPartOfDisposalGroup">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 held-for-sale that are not part of a disposal group.</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 15<br> -Paragraph 4<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123398962&amp;loc=d3e400-110220<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_AssetsHeldForSaleNotPartOfDisposalGroup</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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 held-for-sale that are not part of a disposal group, expected to be sold 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://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 360<br> -SubTopic 10<br> -Section 15<br> -Paragraph 4<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=123398962&amp;loc=d3e400-110220<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_AssetsHeldForSaleNotPartOfDisposalGroupCurrent</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_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="idm140124598065960">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Consolidated Condensed Balance Sheets (Parentheticals)<br></strong></div></th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr><th class="th">
<div>Jan. 31, 2021 </div>
<div>USD ($)</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>
</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">$ 700<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_CurrentLiabilitiesHeldForSaleRelatedParties', window );">Current liabilities held for sale, related parties</a></td>
<td class="nump">$ 100<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CurrentLiabilitiesHeldForSaleRelatedParties">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_CurrentLiabilitiesHeldForSaleRelatedParties</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_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="idm140124598173736">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Consolidated Condensed Statement 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">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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">$ 203,066<span></span>
</td>
<td class="nump">$ 124,217<span></span>
</td>
<td class="nump">$ 562,786<span></span>
</td>
<td class="nump">$ 246,694<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 $22,928 and $16,861 with related parties for the quarters ended October 31, 2021 and 2020, respectively, and $60,311 and $34,021 with related parties for the nine months ended October 31, 2021 and 2020, respectively)</a></td>
<td class="nump">177,914<span></span>
</td>
<td class="nump">105,288<span></span>
</td>
<td class="nump">504,003<span></span>
</td>
<td class="nump">235,435<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</a></td>
<td class="nump">25,152<span></span>
</td>
<td class="nump">18,929<span></span>
</td>
<td class="nump">58,783<span></span>
</td>
<td class="nump">11,259<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</a></td>
<td class="num">(6,310)<span></span>
</td>
<td class="num">(4,269)<span></span>
</td>
<td class="num">(22,444)<span></span>
</td>
<td class="num">(13,407)<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 of unconsolidated affiliates</a></td>
<td class="nump">349<span></span>
</td>
<td class="nump">1,152<span></span>
</td>
<td class="nump">2,763<span></span>
</td>
<td class="nump">168<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">35<span></span>
</td>
<td class="nump">537<span></span>
</td>
<td class="nump">117<span></span>
</td>
<td class="nump">1,403<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">19,226<span></span>
</td>
<td class="nump">16,349<span></span>
</td>
<td class="nump">39,219<span></span>
</td>
<td class="num">(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_IncomeTaxExpenseBenefit', window );">(Provision) benefit for income taxes</a></td>
<td class="num">(4,338)<span></span>
</td>
<td class="num">(5,037)<span></span>
</td>
<td class="num">(8,329)<span></span>
</td>
<td class="nump">444<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_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest', window );">Net income (loss) from continuing operations</a></td>
<td class="nump">14,888<span></span>
</td>
<td class="nump">11,312<span></span>
</td>
<td class="nump">30,890<span></span>
</td>
<td class="num">(133)<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_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity', window );">Net income attributable to noncontrolling interests (continuing operations)</a></td>
<td class="num">(1,562)<span></span>
</td>
<td class="num">(2,276)<span></span>
</td>
<td class="num">(4,585)<span></span>
</td>
<td class="num">(1,331)<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_IncomeLossFromContinuingOperations', window );">Net income (loss) attributable to REX common shareholders (continuing operations)</a></td>
<td class="nump">13,326<span></span>
</td>
<td class="nump">9,036<span></span>
</td>
<td class="nump">26,305<span></span>
</td>
<td class="num">(1,464)<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_IncomeLossFromDiscontinuedOperationsNetOfTax', window );">Net income (loss) from discontinued operations, net of tax (includes expense of $39 and $(15) with related parties for the quarters ended October 31, 2021 and 2020, respectively and $230 and $(160) with related parties for the nine months ended October 31, 2021 and 2020, respectively)</a></td>
<td class="nump">1,815<span></span>
</td>
<td class="num">(253)<span></span>
</td>
<td class="nump">4,263<span></span>
</td>
<td class="nump">729<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest', window );">Net income attributable to noncontrolling interests (discontinued operations)</a></td>
<td class="nump">137<span></span>
</td>
<td class="nump">58<span></span>
</td>
<td class="nump">370<span></span>
</td>
<td class="nump">193<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity', window );">Net income (loss) attributable to REX common shareholders (discontinued operations)</a></td>
<td class="nump">1,952<span></span>
</td>
<td class="num">(195)<span></span>
</td>
<td class="nump">4,633<span></span>
</td>
<td class="nump">922<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">$ 15,278<span></span>
</td>
<td class="nump">$ 8,841<span></span>
</td>
<td class="nump">$ 30,938<span></span>
</td>
<td class="num">$ (542)<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">5,963<span></span>
</td>
<td class="nump">6,143<span></span>
</td>
<td class="nump">5,994<span></span>
</td>
<td class="nump">6,221<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_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare', window );">Basic and diluted net income (loss) per share from continuing operations attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 2.23<span></span>
</td>
<td class="nump">$ 1.47<span></span>
</td>
<td class="nump">$ 4.39<span></span>
</td>
<td class="num">$ (0.24)<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_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare', window );">Basic and diluted net income (loss) per share from discontinued operations attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">0.33<span></span>
</td>
<td class="num">(0.03)<span></span>
</td>
<td class="nump">0.77<span></span>
</td>
<td class="nump">0.15<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_EarningsPerShareBasicAndDiluted', window );">Basic and diluted net income (loss) per share attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 2.56<span></span>
</td>
<td class="nump">$ 1.44<span></span>
</td>
<td class="nump">$ 5.16<span></span>
</td>
<td class="num">$ (0.09)<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_IncomeLossFromContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 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 810<br> -SubTopic 10<br> -Section 45<br> -Paragraph 18<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4613673-111683<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><br>Reference 3: 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 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 11<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22694-107794<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 4<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22595-107794<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.13)<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 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 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 11<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=124431687&amp;loc=d3e22694-107794<br><br>Reference 9: 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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_IncomeLossFromContinuingOperations</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_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 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://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 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 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<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_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity</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_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_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_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 (loss) from continuing operations per each basic and diluted share of common stock or unit when the per share amount is the same for both basic and diluted shares.</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_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare</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_IncomeLossFromDiscontinuedOperationsNetOfTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(12))<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 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 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 270<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109227538&amp;loc=d3e44648-109337<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_IncomeLossFromDiscontinuedOperationsNetOfTax</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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<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 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4568447-111683<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<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 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest</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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 7: 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 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity</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_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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>Per basic and diluted share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation and gain (loss) from the disposal of the discontinued operation, when the per share amount is the same.</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_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare</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_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_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="idm140124593022312">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Consolidated Condensed Statement of Operations (Parentheticals) - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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">$ 22,928<span></span>
</td>
<td class="nump">$ 16,861<span></span>
</td>
<td class="nump">$ 60,311<span></span>
</td>
<td class="nump">$ 34,021<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 );">Net income (loss) from discontinued operations, net of tax, related parties</a></td>
<td class="nump">$ 39<span></span>
</td>
<td class="num">$ (15)<span></span>
</td>
<td class="nump">$ 230<span></span>
</td>
<td class="num">$ (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_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_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>
</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="idm140124606108776">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Consolidated Condensed Statements of Equity - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th"><div>Total</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>
</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">$ 453,606<span></span>
</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>
</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="text">&#160;<span></span>
</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>
</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="nump">596<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">(542)<span></span>
</td>
<td class="nump">1,138<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="num">(18,918)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (18,918)<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_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">306<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="num">(283)<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">(283)<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="nump">88<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">88<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">122<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="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_StockIssuedDuringPeriodValueShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense</a></td>
<td class="nump">362<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 74<span></span>
</td>
<td class="nump">288<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_StockIssuedDuringPeriodSharesShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense (in Shares)</a></td>
<td class="text">&#160;<span></span>
</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>
</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 Oct. 31, 2020</a></td>
<td class="nump">435,451<span></span>
</td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (353,910)<span></span>
</td>
<td class="nump">149,077<span></span>
</td>
<td class="nump">586,443<span></span>
</td>
<td class="nump">53,542<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 Oct. 31, 2020</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,852<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">437,739<span></span>
</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>
</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="text">&#160;<span></span>
</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>
</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="nump">11,059<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">8,841<span></span>
</td>
<td class="nump">2,218<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="num">(13,328)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (13,328)<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_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">197<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="num">(124)<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">(124)<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="nump">63<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">63<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">42<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 9<span></span>
</td>
<td class="nump">33<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 Oct. 31, 2020</a></td>
<td class="nump">435,451<span></span>
</td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (353,910)<span></span>
</td>
<td class="nump">149,077<span></span>
</td>
<td class="nump">586,443<span></span>
</td>
<td class="nump">53,542<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 Oct. 31, 2020</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,852<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">437,183<span></span>
</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>
</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="text">&#160;<span></span>
</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>
</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="nump">35,153<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">30,938<span></span>
</td>
<td class="nump">4,215<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="num">(6,627)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (6,627)<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_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">84<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="num">(1,515)<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">(1,515)<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="nump">280<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">280<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">1,100<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="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_StockIssuedDuringPeriodValueShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense</a></td>
<td class="nump">229<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 40<span></span>
</td>
<td class="nump">189<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_StockIssuedDuringPeriodSharesShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense (in Shares)</a></td>
<td class="text">&#160;<span></span>
</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>
</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 Oct. 31, 2021</a></td>
<td class="nump">464,703<span></span>
</td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (361,199)<span></span>
</td>
<td class="nump">149,299<span></span>
</td>
<td class="nump">620,924<span></span>
</td>
<td class="nump">55,380<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 Oct. 31, 2021</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,933<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">453,297<span></span>
</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>
</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="text">&#160;<span></span>
</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>
</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="nump">16,703<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,278<span></span>
</td>
<td class="nump">1,425<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="num">(5,271)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (5,271)<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_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">67<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="num">(211)<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">(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_ProceedsFromContributionsFromAffiliates', window );">Capital contributions</a></td>
<td class="nump">141<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">141<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="nump">44<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 8<span></span>
</td>
<td class="nump">36<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 Oct. 31, 2021</a></td>
<td class="nump">$ 464,703<span></span>
</td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (361,199)<span></span>
</td>
<td class="nump">$ 149,299<span></span>
</td>
<td class="nump">$ 620,924<span></span>
</td>
<td class="nump">$ 55,380<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 Oct. 31, 2021</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,933<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="idm140124597517704">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Consolidated Condensed Statements of Cash Flows<br> $ in Thousands</strong></div></th>
<th class="th" colspan="1">3 Months Ended</th>
<th class="th" colspan="2">9 Months Ended</th>
</tr>
<tr>
<th class="th">
<div>Oct. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Oct. 31, 2021 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Oct. 31, 2020 </div>
<div>USD ($)</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_StatementOfCashFlowsAbstract', window );"><strong>Statement of Cash Flows [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_ProfitLoss', window );">Net income including noncontrolling interests</a></td>
<td class="nump">$ 11,059<span></span>
</td>
<td class="nump">$ 35,153<span></span>
</td>
<td class="nump">$ 596<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_IncomeLossFromDiscontinuedOperationsNetOfTax', window );">Net income from discontinued operations, net of tax</a></td>
<td class="num">(253)<span></span>
</td>
<td class="nump">4,263<span></span>
</td>
<td class="nump">729<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 );">Net income (loss) from continuing operations</a></td>
<td class="nump">11,312<span></span>
</td>
<td class="nump">30,890<span></span>
</td>
<td class="num">(133)<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>
<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="text">&#160;<span></span>
</td>
<td class="nump">13,505<span></span>
</td>
<td class="nump">13,604<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_AmortizationOfIntangibleAssets', window );">Amortization of operating lease right-of-use assets</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">4,128<span></span>
</td>
<td class="nump">3,982<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 from equity method investments</a></td>
<td class="num">(1,152)<span></span>
</td>
<td class="num">(2,763)<span></span>
</td>
<td class="num">(168)<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">1,504<span></span>
</td>
<td class="nump">2,506<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="text">&#160;<span></span>
</td>
<td class="num">(36)<span></span>
</td>
<td class="num">(200)<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="text">&#160;<span></span>
</td>
<td class="nump">5,840<span></span>
</td>
<td class="num">(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_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="nump">42<span></span>
</td>
<td class="nump">1,100<span></span>
</td>
<td class="nump">122<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_GainLossOnSaleOfPropertyPlantEquipment', window );">Gain on sale of property and equipment &#8211; net</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(1)<span></span>
</td>
<td class="num">(58)<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>
<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="text">&#160;<span></span>
</td>
<td class="num">(20,313)<span></span>
</td>
<td class="nump">473<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="text">&#160;<span></span>
</td>
<td class="nump">7,673<span></span>
</td>
<td class="nump">14,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_IncreaseDecreaseInIncomeTaxesReceivable', window );">Refundable income taxes</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(332)<span></span>
</td>
<td class="num">(130)<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="text">&#160;<span></span>
</td>
<td class="nump">1,912<span></span>
</td>
<td class="num">(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_IncreaseDecreaseInAccountsPayableTrade', window );">Accounts payable, trade</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10,916<span></span>
</td>
<td class="num">(4,361)<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="text">&#160;<span></span>
</td>
<td class="nump">2,776<span></span>
</td>
<td class="num">(4,966)<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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations', window );">Net cash provided by operating activities from continuing operations</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">56,799<span></span>
</td>
<td class="nump">23,704<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_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations', window );">Net cash used in operating activities from discontinued operations</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(6,368)<span></span>
</td>
<td class="num">(2,205)<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 operating activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">50,431<span></span>
</td>
<td class="nump">21,499<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>
<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="text">&#160;<span></span>
</td>
<td class="num">(4,245)<span></span>
</td>
<td class="num">(6,610)<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="text">&#160;<span></span>
</td>
<td class="num">(67,412)<span></span>
</td>
<td class="num">(68,225)<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="text">&#160;<span></span>
</td>
<td class="nump">82,022<span></span>
</td>
<td class="nump">65,282<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_PaymentsForProceedsFromOtherInvestingActivities', window );">Other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">40<span></span>
</td>
<td class="num">(474)<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_NetCashProvidedByUsedInInvestingActivities', window );">Net cash provided by (used in) investing activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10,405<span></span>
</td>
<td class="num">(10,027)<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_CashFlowsFromFinancingActivitiesAbstract', window );"><strong>Cash flows from financing activities:</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="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="text">&#160;<span></span>
</td>
<td class="num">(6,627)<span></span>
</td>
<td class="num">(18,089)<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="text">&#160;<span></span>
</td>
<td class="num">(1,515)<span></span>
</td>
<td class="num">(283)<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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations', window );">Net cash used in financing activities from continuing operations</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(8,142)<span></span>
</td>
<td class="num">(18,372)<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_NetCashProvidedByUsedInDiscontinuedOperations', window );">Net cash provided by financing activities from discontinued operations</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">280<span></span>
</td>
<td class="nump">88<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_NetCashProvidedByUsedInFinancingActivities', window );">Net cash used in financing activities</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(7,862)<span></span>
</td>
<td class="num">(18,284)<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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect', window );">Net increase (decrease) in cash, cash equivalents and restricted cash</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">52,974<span></span>
</td>
<td class="num">(6,812)<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, beginning of period</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">146,158<span></span>
</td>
<td class="nump">180,771<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, end of period</a></td>
<td class="nump">173,959<span></span>
</td>
<td class="nump">199,132<span></span>
</td>
<td class="nump">173,959<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_NonCashInvestingActivitiesAccruedCapitalExpenditures', window );">Non cash investing activities &#8211; Accrued capital expenditures</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">34<span></span>
</td>
<td class="nump">198<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_NonCashFinancingActivitiesEquityAwardsAccrued', window );">Non cash financing activities &#8211; Stock awards accrued</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">972<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_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities', window );">Non cash financing activities &#8211; Stock awards issued</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">100<span></span>
</td>
<td class="nump">240<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_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability', window );">Right-of-use assets acquired and liabilities incurred upon lease execution</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">3,267<span></span>
</td>
<td class="nump">1,863<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_CashAndCashEquivalentsAtCarryingValue', window );">Cash and cash equivalents</a></td>
<td class="nump">173,075<span></span>
</td>
<td class="nump">197,395<span></span>
</td>
<td class="nump">173,075<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">884<span></span>
</td>
<td class="nump">1,737<span></span>
</td>
<td class="nump">884<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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents', window );">Total cash, cash equivalents and restricted cash</a></td>
<td class="nump">$ 173,959<span></span>
</td>
<td class="nump">$ 199,132<span></span>
</td>
<td class="nump">$ 173,959<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_CashFlowsFromFinancingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_CashFlowsFromFinancingActivitiesAbstract</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_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_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_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_AmortizationOfIntangibleAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect 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 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 350<br> -SubTopic 30<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=66006027&amp;loc=d3e16323-109275<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 30<br> -Section 45<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=6388964&amp;loc=d3e16225-109274<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_AmortizationOfIntangibleAssets</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_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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) of operating activities of 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 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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (c)(1)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations</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_GainLossOnSaleOfPropertyPlantEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.</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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_GainLossOnSaleOfPropertyPlantEquipment</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_IncomeLossFromDiscontinuedOperationsNetOfTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(12))<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 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 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 270<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109227538&amp;loc=d3e44648-109337<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_IncomeLossFromDiscontinuedOperationsNetOfTax</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_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_NetCashProvidedByUsedInDiscontinuedOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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>Increase (decrease) in cash associated with the entity's discontinued 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 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_NetCashProvidedByUsedInDiscontinuedOperations</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_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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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) of financing activities, excluding 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/2009/role/commonPracticeRef<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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations</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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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, excluding 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 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 25<br> -URI http://asc.fasb.org/extlink&amp;oid=123570139&amp;loc=d3e3536-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_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations</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_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_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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementOfCashFlowsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementOfCashFlowsAbstract</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>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="idm140124597171544">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0 99pt 0 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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. On November 18, 2021, the Company
ceased operation of its refined coal business as tax credits could no longer be earned on its operations. Beginning in the third
quarter of fiscal year 2021, the results of the operation of the refined coal business were recognized in discontinued operations.
Prior period amounts have been reclassified to conform with discontinued operations reporting.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Nature of Operations &#8211; Beginning in the
third quarter of fiscal year 2021, the Company now has one reportable segment, ethanol and by-products. 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. Prior period amounts have been reclassified to conform to the current segment reporting.</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="idm140124594631176">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 2. <i>Accounting Policies </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"> 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 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: bold 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0">Cash and Cash Equivalents</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: bold 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0">Revenue Recognition</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0">Cost of Sales</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 compensation costs and general facility overhead charges.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 0pt">Selling, General and Administrative (&#8220;SG&amp;A&#8221;)
Expenses</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $210,000 and $916,000 in the third quarter of fiscal years 2021 and 2020, respectively and approximately
$7,366,000 and $3,078,000 in the first nine months of fiscal years 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0">Financial Instruments</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: bold 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Income Taxes</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operation of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#8220;ordinary&#8221; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $2.8 million and received no refunds of
income taxes during the nine months ended October 31, 2021. The Company paid income taxes of approximately $0.5 million and received
refunds of income taxes of approximately $0.7 million during the nine months ended October 31, 2020.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of October 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $8,793,000 and $8,380,000, respectively. Accrued penalties and interest were
approximately $35,000 and approximately $20,000 at October 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.8 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: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Inventories</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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. 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 $0.1 million
and approximately $1.0 million of inventory write-</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">downs in cost of sales at October 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 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: 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>&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">October&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">January&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; padding-left: 5.75pt">Ethanol and other finished goods</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">7,135</td><td style="width: 1%; text-align: left">&#160;</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; 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; padding-left: 5.75pt">Work in process</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,097</td><td style="text-align: left">&#160;</td>
    <td>&#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-left: 5.75pt">Grain and other raw materials</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">17,521</td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">14,706</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">29,753</td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">37,426</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Property and Equipment </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 15 to 40 years for buildings and improvements, and 3 to 20 years for
fixtures and equipment.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 nine months of fiscal year 2021, thus there were no impairment charges in the first nine months
of fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#8220;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.	</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 12pt; 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: 0"><b>Investments </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 </p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Discontinued Operations</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized in discontinued operations. Prior period
amounts have been reclassified to conform with discontinued operations reporting.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Comprehensive Income</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Accounting Changes and Recently Issued Accounting Standards </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="idm140124597177048">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 3. <i>Net Sales and Revenue</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 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: 0; text-indent: 36pt"/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following tables shows disaggregated revenue
by product:</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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/> October 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">Nine Months Ended<br/> October 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; padding-bottom: 1px"><span style="text-decoration:underline">2021</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2020</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2021</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2020</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: 48%; text-align: left; padding-left: 5.4pt">Sales of products, continuing operations
Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">161,598</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">98,850</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">441,657</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">191,971</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">28,717</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">20,916</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">91,408</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">45,314</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: 5.4pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">11,958</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,661</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">27,364</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,162</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,930</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">562</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,157</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,228</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: 5.4pt">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,144)</td><td style="text-align: left"/><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(777)</td><td style="text-align: left"/><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,907)</td><td style="text-align: left"/><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,075)</td><td style="text-align: left"/></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.4pt; padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">7</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">5</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">107</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">94</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.4pt">Total</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">203,066</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">124,217</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">562,786</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">246,694</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 5.4pt">Sales of products, discontinued operations:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-left: 5.4pt; padding-bottom: 3px">Refined coal<sup>1</sup></td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">151</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">34</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">377</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">134</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><sup>1 </sup>Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.</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="idm140124594541832">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Leases<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 4. <i>Leases</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At October 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 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: 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td><b>&#160;</b></td>
    <td><b>&#160;</b></td><td colspan="8" style="text-align: center; white-space: nowrap;"><b>Three Months Ended<br/> October 31,</b></td><td><b>&#160;</b></td><td>&#160;&#160;&#160;&#160;&#160;&#160;<b>&#160;</b></td>
    <td colspan="8" style="text-align: center"><b>Nine&#160;Months&#160;Ended<br/> October 31,</b></td><td><b>&#160;</b></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 style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
                                                                                      <td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;&#160;&#160;&#160;</td><td style="font-weight: bold; padding-bottom: 1px; 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; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2020</span></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 style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></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 style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2020</span></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>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2">&#160;</td><td>&#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: 62%; text-align: left; padding-left: 5.4pt">Operating lease expense</td>
    <td style="width: 3%">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">1,690</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">1,545</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">4,805</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">4,779</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 1px">Variable lease expense</td>
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,090</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">79</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,654</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">417</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total lease expense</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">2,780</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,624</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">6,459</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">5,196</td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
</tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table is a summary of future minimum
rentals on such leases at October 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; text-align: left; padding-left: 5.75pt"><span style="text-decoration:underline">Years Ended January 31,</span></td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right">Minimum <br/> <span style="text-decoration:underline">Rentals</span></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" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 87%; padding-left: 5.75pt; text-align: left">Remainder of 2022</td><td style="width: 3%">&#160;&#160;</td>
    <td style="width: 1%; text-align: left">&#160;&#160;&#160;&#160;</td><td style="width: 8%; text-align: right">$1,506</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">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; padding-left: 5.75pt">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; padding-left: 5.75pt">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-left: 5.75pt">2026</td><td>&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">49</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">12,282</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: 5.75pt">Less: present value discount</td><td>&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">730</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px"/><td style="text-align: right; border-bottom: Black 3px double">$11,552</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><span style="text-underline-style: double">&#160;</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At October 31, 2021, the weighted average remaining
lease term is 2.6 years, and the weighted average discount rate is 4.87% for the above leases.<b>	</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; 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="text-decoration:underline">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; padding-bottom: 1px"><b>Minimum <br/> <span style="text-decoration:underline">Rentals</span></b></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: 87%; text-align: left; padding-left: 5.75pt">2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;&#160;&#160;&#160;</td><td style="width: 8%; 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; padding-left: 5.75pt">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; padding-left: 5.75pt">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; padding-left: 5.75pt">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-left: 5.75pt">2026</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">49</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; 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-left: 5.75pt">Less: present value discount</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">994</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px"/><td style="text-align: right; border-bottom: Black 3px double">$12,314</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><span style="text-underline-style: double">&#160;</span></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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.</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="idm140124594647880">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Fair Value<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 5. <i>Fair Value</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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
October 31, 2021 are summarized below (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#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="text-align: center; padding-bottom: 1pt"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 1</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 2</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 3</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Fair&#160;Value</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left; padding-left: 5.4pt">Investment in cooperative (1)</td><td style="width: 2%">&#160;</td>
    <td style="width: 3%">&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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-left: 5.4pt; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-2">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">430</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-3">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">430</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">430</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">354</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">784</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>&#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: 5.4pt">Forward purchase contracts (3)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-4">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">687</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-5">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">687</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: 5.4pt; padding-bottom: 1px">Commodity futures liability (3)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-6">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">3,822</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-7">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">3,822</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">4,509</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">4,509</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Financial assets and liabilities measured at
fair value on a recurring basis at January 31, 2021 are</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">summarized below (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="text-align: right; padding-bottom: 1px"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 1</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 2</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 3</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td style="text-align: right; padding-bottom: 1px"><b>&#160;</b></td><td colspan="3" style="padding-bottom: 1px; text-align: right"><span style="border-bottom: Black 1px solid"><b>Fair&#160;Value</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: right">&#160;</td><td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left; padding-left: 5.4pt">Investment in cooperative (1)</td><td style="width: 2%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td>
    <td style="width: 2%">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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-left: 5.4pt">Forward purchase contracts asset (2)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-10">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,144</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-11">-</div></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,144</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: 5.4pt; padding-bottom: 3px">Total assets</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">2,144</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">354</td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">2,498</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>&#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: 5.4pt; padding-bottom: 3px">Commodity futures liability (3)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><div style="-sec-ix-hidden: hidden-fact-12">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,794</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><div style="-sec-ix-hidden: hidden-fact-13">-</div></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,794</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">There were no assets measured at fair value on
a non-recurring basis at October 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="idm140124593136184">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 6. <i>Property and Equipment</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31, <br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#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; padding-left: 5.75pt">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">27,329</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">27,329</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Buildings and improvements</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,613</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,613</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: 5.75pt">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">294,906</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">293,762</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Construction in progress</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,006</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">215</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.75pt">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">347,854</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">344,919</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Less: accumulated depreciation</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(206,649)</td><td style="text-align: left"/><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(194,058)</td><td style="text-align: left"/></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">141,205</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">150,861</td><td style="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="idm140124593026584">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 7. <i>Accrued Expenses and Other Current Liabilities </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued payroll and related items</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">3,727</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; 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; padding-left: 5.75pt">Accrued utility charges</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,473</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued transportation related items</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">578</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued real estate taxes</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,419</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Commodity futures</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,822</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Forward purchase contracts</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">687</td><td style="text-align: left">&#160;</td><td>&#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="text-align: left; padding-left: 5.75pt">Accrued income taxes</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">62</td><td style="text-align: left">&#160;</td><td>&#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; ">
    <td style="padding-left: 5.75pt">Other</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">353</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">362</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 5.75pt">Total</td><td style="padding-bottom: 3px">&#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,121</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#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,754</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="idm140124608226424">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 8. <i>Derivative Financial Instruments </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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 style="text-align: center; padding-left: 5.4pt"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="6" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Asset Derivatives</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif">Fair Value </span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="6" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Liability Derivatives</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif">Fair Value </span></b></td><td style="text-align: left"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 5.4pt"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31, </b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 5.4pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 40%; text-align: justify; padding-left: 5.4pt">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; 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: 10%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-15">-</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: 10%; text-align: right">3,822</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; 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; padding-left: 5.4pt">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">430</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">687</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; padding-left: 5.4pt">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">430</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,509</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: 0 0 0 36pt; text-align: justify">(1) Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately
690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3
million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 23.75pt; text-align: justify">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 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 5.7 million
bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of January 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of October 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 October 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 $1,737,000 and approximately $1,657,000 to secure the Company&#8217;s
derivative position at October 31, 2021 and January 31, 2021, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company recognized losses (included in net
sales and revenue) on derivative financial instruments of approximately $2,144,000 and $777,000 for the third quarter of fiscal
years 2021 and 2020, respectively. The Company recognized losses (included in net sales and revenue) on derivative financial instruments
of approximately $4,907,000 and $1,076,000 for the first nine months of fiscal years 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company recognized gains (included in cost
of sales) on derivative financial instruments of approximately $5,474,000 and losses of approximately $26,000 for the third quarter
of fiscal years 2021 and 2020, respectively. The Company recognized losses (included in cost of sales) on derivative financial
instruments of approximately $2,562,000 and approximately $1,785,000 for the first nine 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="idm140124594595224">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Investments<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 9. <i>Investments </i></b></p><p style="font: 12pt Courier New, Courier, Monospace; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following table summarizes the Company&#8217;s
equity method investment at October 31, 2021 and January 31, 2021 (dollars in thousands):</p><p style="font: 12pt Courier New, Courier, Monospace; margin: 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>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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: 1pt; white-space: nowrap;"><span style="text-decoration:underline">Entity</span></td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">Ownership&#160;Percentage</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">October 31, 2021</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">January 31, 2021</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#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: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 28%; text-align: left">Big River</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 19%; 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 style="width: 19%; text-align: right">$30,715</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: 19%; 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Undistributed earnings of the Company&#8217;s
equity method investee totaled approximately $10.7 million and approximately $9.4 million at October 31, 2021 and January 31, 2021,
respectively. The Company received dividends from its equity method investee of approximately $1.5 million and approximately $2.5
million in the first nine months of fiscal year 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Three Months Ended<br/> October 31,</td><td style="white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Nine Months Ended<br/> October 31,</td><td style="white-space: nowrap;">&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 44%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;&#160;&#160;&#160;$</td><td style="width: 9%; text-align: right">347,059</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;&#160;$</td><td style="width: 9%; text-align: right">209,397</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 9%; text-align: right">966,858</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 9%; text-align: right">537,155</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">7,092</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">15,419</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">27,993</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">13,041</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 from continuing operations</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3,390</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">11,167</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">26,802</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">1,627</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3,390</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">11,167</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">26,802</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">1,627</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">At October 31, 2021, the Company owned certificates
of deposit that had an amortized cost, or carrying value, of approximately $21,620,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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="idm140124597119480">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Employee Benefits<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 10. <i>Employee Benefits</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0pt">awards in its consolidated
financial statements over the requisite service period on a straight-line basis. At October 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: 0; text-align: justify; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">At October 31, 2021 and
January 31, 2021, unrecognized compensation cost related to nonvested restricted stock was approximately $126,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: 0; text-align: justify; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="11" style="font-weight: bold; text-align: center">Nine Months Ended October 31, 2021</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#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="text-align: center; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/> <span style="text-decoration:underline">Shares</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average
    Grant<br/> Date Fair Value<br/> <span style="text-decoration:underline">(000&#8217;s)</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Remaining<br/> Vesting Term<br/> <span style="text-decoration:underline">(in years)</span></b></span></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%">Non-Vested at January 31, 2021</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">19,705</td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">$</td><td style="width: 2%; text-align: right">1,398</td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">1</td><td style="width: 3%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>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>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="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">12,447</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">900</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-bottom: 2px">Non-Vested at October 31, 2021</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; border-bottom: Black 2px double">10,061</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">773</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; padding-bottom: 2px">2</td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="11" style="font-weight: bold; text-align: center">Nine Months Ended October 31, 2020</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#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="text-align: center; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/> <span style="text-decoration:underline">Shares</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Grant<br/> Date&#160;Fair&#160;Value<br/> <span style="text-decoration:underline">(000&#8217;s)</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Remaining<br/> Vesting Term<br/> <span style="text-decoration:underline">(in years)</span></b></span></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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%">Non-Vested at January 31, 2020</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">28,576</td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">$</td><td style="width: 2%; text-align: right">2,193</td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">2</td><td style="width: 3%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,158</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">416</td><td style="text-align: left">&#160;</td><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>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="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">15,029</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,211</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; 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="padding-bottom: 2px">Non-Vested at October 31, 2020</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; border-bottom: Black 2px double">19,705</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">1,398</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; padding-bottom: 2px">2</td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">The above tables include
5,714 and 14,777 non-vested shares at October 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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 0pt">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="idm140124594491624">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Income Taxes<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 11<i>. Income Taxes </i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operations of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#8220;ordinary&#8221; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company&#8217;s income tax provision from
continuing operations was approximately $4.3 million and approximately $5.0 million for the three months ended October 31, 2021
and 2020, respectively. The Company&#8217;s income tax provision (benefit) from continuing operations was approximately $8.3 million
and approximately $(0.4) million for the nine months ended October 31, 2021 and 2020, respectively. The Company&#8217;s income
tax provision for the third quarter of fiscal year 2020 included a provision of approximately $1.8 million related to reversing
previously recognized tax benefits associated with the lengthening of a net operating loss carryback allowed by the CARES Act as
the Company no longer had a year to date estimated taxable loss.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The Company&#8217;s income tax benefit from discontinued
operations was approximately $4.9 million and approximately $1.0 million for the three months ended October 31, 2021 and 2020,
respectively. The Company&#8217;s income tax benefit from discontinued operations was approximately $12.6 million and $4.9 million
for the nine months ended October 31, 2021 and 2020, respectively. The benefit is derived from the level of tax credits generated
from the refined coal business and the tax benefit of the loss from operations. Through its refined coal business, the Company
earned production tax credits pursuant to IRC Section 45. The credits can be used to reduce future income tax liabilities for up
to 20 years.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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. The Company ceased operation of its refined coal business on 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">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: 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>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Nine Months Ended<br/> October 31,</td><td>&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 65%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 9%; text-align: right">8,400</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 9%; 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">15</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(57)</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="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">413</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 2px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">8,828</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">7,313</td><td style="text-align: left; padding-bottom: 2px">&#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="idm140124594449640">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Discontinued Operations<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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_DiscontinuedOperationsAndDisposalGroupsAbstract', window );"><strong>Discontinued Operations and Disposal Groups [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_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock', window );">Disposal Groups, Including Discontinued Operations, Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Note 12. <i>Discontinued Operations</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized as discontinued operations. Below is a
table reflecting certain items of the Consolidated Condensed Statement of Operations that were reclassified as discontinued operations
for the periods indicated (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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 October 31,</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended October 31,</td><td>&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 52%; text-align: left"><span style="font-family: Times New Roman, Times, Serif">Net sales and revenue<sup>1</sup></span></td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 7%; text-align: right">151</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: 7%; text-align: right">34</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: 7%; text-align: right">377</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: 7%; text-align: right">134</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Cost of Sales</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">3,033</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,284</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">8,015</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">4,375</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Gross loss</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,882)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,250)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(7,638)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,241)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Selling, general and administrative</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">230</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(12)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">665</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(107)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income before income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(3,112)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,238)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(8,303)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,134)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Benefit for income taxes</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">4,927</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">985</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">12,566</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">4,863</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net income from discontinued operations, net of tax</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,815</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(253)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,263</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">729</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Net loss attributable to noncontrolling interests</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">137</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">58</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">370</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">193</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 2px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">1,952</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">(195)</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">4,633</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">922</td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><sup>1 </sup>Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Below is a table reflecting certain items of
the Consolidated Condensed Balance Sheets that were reclassified as discontinued operations for the periods indicated (amounts
in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="white-space: nowrap;">&#160;</td>
    <td>&#160;</td><td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>October 31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Assets:</td>
    <td>&#160;</td><td style="text-align: right">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Current assets:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 69%; text-align: left; padding-left: 10pt">Prepaid expenses and other</td>
    <td style="width: 3%">&#160;</td><td style="width: 5%; text-align: right">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 2%; text-align: right">146</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 7%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 2%; text-align: right">34</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; padding-bottom: 1px">Inventory</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">246</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">454</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt">Total current assets</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">392</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">488</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; padding-bottom: 1px">Property and equipment, net</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">233</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,325</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total Assets</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">625</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,813</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td>Liabilities:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Current liabilities:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt">Accounts payable, trade</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">253</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">334</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; padding-bottom: 1px">Accrued expenses and other current liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">29</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">201</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total current liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">282</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">535</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">282</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">535</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 2px">Net assets included in discontinued operations</td>
    <td>&#160;</td><td style="padding-bottom: 2px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">343</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">2,278</td><td style="text-align: left; padding-bottom: 2px">&#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_DiscontinuedOperationsAndDisposalGroupsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DiscontinuedOperationsAndDisposalGroupsAbstract</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_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component.</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> -URI http://asc.fasb.org/topic&amp;trid=2155823<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -URI http://asc.fasb.org/subtopic&amp;trid=2122178<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_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock</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="idm140124597132488">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 13. <i>Commitments and Contingencies</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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), 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined forward purchase
contracts for approximately 12.4 million bushels of corn, the principal raw material for their ethanol plants, and they have combined
forward purchase contracts for approximately 2.1 million MmBtu (million British thermal unit) of natural gas.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately 50.3 million gallons of ethanol, approximately 113,000 tons of distillers grains and approximately 13.5 million
pounds of non-food grade corn oil.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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.0 million and approximately $0.5 million in the third quarter
of fiscal years 2021 and 2020, respectively. Such fees totaled approximately $5.1 million and approximately $1.9 million for the
nine months ended October 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>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="idm140124609248600">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 0"><b>Note 14. <i>Related-Party Transactions</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b><i>&#160;</i></b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">During the third quarters of fiscal years 2021
and 2020, One Earth and NuGen purchased approximately $22.9 million and approximately $16.9 million, respectively, of corn (and
other supplies) from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately $60.3
million and approximately $34.0 million for the nine months ended October 31, 2021 and 2020, respectively. The Company had amounts
payable to related parties of approximately $1.7 million and approximately $0.7 million at October 31, 2021 and January 31, 2021,
respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">During the third quarters of fiscal years 2021
and 2020, the Company recognized (reduced) commission expense of approximately $40,000 and approximately $(15,000), payable to
the minority investor in the refined coal entity. During the first nine months of fiscal years 2021 and 2020, the Company recognized
(reduced) commission expense of approximately $0.2 million and approximately $(0.2) million, respectively. The commission expense
is associated with the refined coal business which is classified within discontinued operations. The Company had accrued liabilities
related to the commission expense of approximately $0.1 million at January 31, 2021, recorded within current liabilities held for
sale.</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>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="idm140124610524696">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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_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: 0">Cash and Cash Equivalents</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: bold 12pt Times New Roman, Times, Serif; margin: 0">&#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_RevenueRecognitionPolicyTextBlock', window );">Revenue [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0">Revenue Recognition</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">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.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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_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: 0">Cost of Sales</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 compensation costs and general facility overhead charges.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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_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: 0; text-indent: 0pt">Selling, General and Administrative (&#8220;SG&amp;A&#8221;)
Expenses</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $210,000 and $916,000 in the third quarter of fiscal years 2021 and 2020, respectively and approximately
$7,366,000 and $3,078,000 in the first nine months of fiscal years 2021 and 2020, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#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_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: 0">Financial Instruments</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: bold 12pt Times New Roman, Times, Serif; margin: 0">&#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_IncomeTaxPolicyTextBlock', window );">Income Tax, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Income Taxes</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Prior to the third quarter of fiscal year 2021,
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 nine months ended October 31, 2020. Beginning on November 18, 2021, we are unable to
earn additional tax credits related to the refined coal facility, and as such, have ceased operation of that facility. As earning
these credits is what had caused the significant changes in the estimated annual effective tax rate from small changes in estimated
&#8220;ordinary&#8221; income and we have now classified the refined coal segment as discontinued operations, we have returned
to using the annual effective tax rate method to calculate the provision or benefit for income taxes from continuing operations
beginning in the three and nine month periods ended October 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 $2.8 million and received no refunds of
income taxes during the nine months ended October 31, 2021. The Company paid income taxes of approximately $0.5 million and received
refunds of income taxes of approximately $0.7 million during the nine months ended October 31, 2020.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">As of October 31, 2021, and January 31, 2021,
total unrecognized tax benefits were approximately $8,793,000 and $8,380,000, respectively. Accrued penalties and interest were
approximately $35,000 and approximately $20,000 at October 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.8 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: 0"><b>&#160;</b></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_InventoryPolicyTextBlock', window );">Inventory, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Inventories</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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. 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 $0.1 million
and approximately $1.0 million of inventory write-</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">downs in cost of sales at October 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 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: 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>&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">October&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">January&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; padding-left: 5.75pt">Ethanol and other finished goods</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">7,135</td><td style="width: 1%; text-align: left">&#160;</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; 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; padding-left: 5.75pt">Work in process</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,097</td><td style="text-align: left">&#160;</td>
    <td>&#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-left: 5.75pt">Grain and other raw materials</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">17,521</td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">14,706</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">29,753</td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">37,426</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></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_PropertyPlantAndEquipmentPolicyTextBlock', window );">Property, Plant and Equipment, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Property and Equipment </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 15 to 40 years for buildings and improvements, and 3 to 20 years for
fixtures and equipment.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 nine months of fiscal year 2021, thus there were no impairment charges in the first nine months
of fiscal year 2021. During fiscal year 2020, the Company concluded that the impact of the coronavirus (&#8220;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.	</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 12pt; 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><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: 0"><b>Investments </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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 </p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0">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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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_DiscontinuedOperationsPolicyTextBlock', window );">Discontinued Operations, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Discontinued Operations</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">On November 18, 2021, the Company ceased operation
of its refined coal business as tax credits could no longer be earned on its operation. Beginning in the third quarter of fiscal
year 2021, the results of the operations of the refined coal business will be recognized in discontinued operations. Prior period
amounts have been reclassified to conform with discontinued operations reporting.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><b>&#160;</b></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_ComprehensiveIncomePolicyPolicyTextBlock', window );">Comprehensive Income, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Comprehensive Income</b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 0">&#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_NewAccountingPronouncementsPolicyPolicyTextBlock', window );">New Accounting Pronouncements, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>Accounting Changes and Recently Issued Accounting Standards </b></p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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_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_DiscontinuedOperationsPolicyTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 discontinued operations. Includes, but is not limited to, method of interest allocation to a 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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section S99<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=26872618&amp;loc=d3e7436-122677<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_DiscontinuedOperationsPolicyTextBlock</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="idm140124593060440">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 80%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">October&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td>
    <td style="font-weight: bold">&#160;</td><td colspan="3" style="font-weight: bold; text-align: center">January&#160;31,<br/> <span style="text-decoration:underline">2021</span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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; background-color: rgb(229,255,255)">
    <td style="width: 70%; text-align: left; padding-left: 5.75pt">Ethanol and other finished goods</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">7,135</td><td style="width: 1%; text-align: left">&#160;</td>
    <td style="width: 3%">&#160;</td><td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; 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; padding-left: 5.75pt">Work in process</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,097</td><td style="text-align: left">&#160;</td>
    <td>&#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-left: 5.75pt">Grain and other raw materials</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">17,521</td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">14,706</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">29,753</td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">37,426</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><b>&#160;</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_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="idm140124594542664">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Net Sales and Revenue (Tables)<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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_ScheduleOfSegmentReportingInformationBySegmentTextBlock', window );">Schedule of Segment Reporting Information, by Segment [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">The following tables shows disaggregated revenue
by product:</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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/> October 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">Nine Months Ended<br/> October 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; padding-bottom: 1px"><span style="text-decoration:underline">2021</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2020</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2021</span></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; padding-bottom: 1px"><span style="text-decoration:underline">2020</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: 48%; text-align: left; padding-left: 5.4pt">Sales of products, continuing operations
Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 8%; text-align: right">161,598</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">98,850</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">441,657</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">191,971</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">28,717</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">20,916</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">91,408</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">45,314</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: 5.4pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">11,958</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,661</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">27,364</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,162</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,930</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">562</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">7,157</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,228</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: 5.4pt">Derivative financial instruments losses</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,144)</td><td style="text-align: left"/><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(777)</td><td style="text-align: left"/><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,907)</td><td style="text-align: left"/><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,075)</td><td style="text-align: left"/></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.4pt; padding-bottom: 1px">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">7</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">5</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">107</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">94</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.4pt">Total</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">203,066</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">124,217</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">562,786</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">246,694</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 5.4pt">Sales of products, discontinued operations:</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-left: 5.4pt; padding-bottom: 3px">Refined coal<sup>1</sup></td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">151</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">34</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">377</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">134</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 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_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_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>
</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="idm140124609701256">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Leases (Tables)<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 95%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td><b>&#160;</b></td>
    <td><b>&#160;</b></td><td colspan="8" style="text-align: center; white-space: nowrap;"><b>Three Months Ended<br/> October 31,</b></td><td><b>&#160;</b></td><td>&#160;&#160;&#160;&#160;&#160;&#160;<b>&#160;</b></td>
    <td colspan="8" style="text-align: center"><b>Nine&#160;Months&#160;Ended<br/> October 31,</b></td><td><b>&#160;</b></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 style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
                                                                                      <td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2021</span></td><td style="padding-bottom: 1px; font-weight: bold; text-align: center">&#160;&#160;&#160;&#160;</td><td style="font-weight: bold; padding-bottom: 1px; 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; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2020</span></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 style="font-weight: bold; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center"><span style="text-decoration:underline">2021</span></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 style="font-weight: bold; padding-bottom: 1px; text-align: center">&#160;</td>
    <td colspan="2" style="font-weight: bold; padding-bottom: 1px; text-align: center"><span style="text-decoration:underline">2020</span></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>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td style="font-weight: bold; padding-bottom: 1px">&#160;</td>
    <td colspan="2">&#160;</td><td>&#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: 62%; text-align: left; padding-left: 5.4pt">Operating lease expense</td>
    <td style="width: 3%">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">1,690</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">1,545</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">4,805</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 3%; text-align: right">4,779</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 1px">Variable lease expense</td>
    <td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,090</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">79</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,654</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">417</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total lease expense</td>
    <td style="padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">2,780</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,624</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">6,459</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">5,196</td><td style="text-align: left; padding-bottom: 3px">&#160;</td>
</tr>
</table><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: 0; text-indent: 36pt">The following table is a summary of future minimum
rentals on such leases at October 31, 2021 (amounts in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="font-weight: bold; text-align: left; padding-left: 5.75pt"><span style="text-decoration:underline">Years Ended January 31,</span></td><td style="font-weight: bold">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right">Minimum <br/> <span style="text-decoration:underline">Rentals</span></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" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 87%; padding-left: 5.75pt; text-align: left">Remainder of 2022</td><td style="width: 3%">&#160;&#160;</td>
    <td style="width: 1%; text-align: left">&#160;&#160;&#160;&#160;</td><td style="width: 8%; text-align: right">$1,506</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">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; padding-left: 5.75pt">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; padding-left: 5.75pt">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-left: 5.75pt">2026</td><td>&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">49</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; text-align: left">Total</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">12,282</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: 5.75pt">Less: present value discount</td><td>&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">730</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px"/><td style="text-align: right; border-bottom: Black 3px double">$11,552</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><span style="text-underline-style: double">&#160;</span></p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 40%; 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="text-decoration:underline">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; padding-bottom: 1px"><b>Minimum <br/> <span style="text-decoration:underline">Rentals</span></b></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: 87%; text-align: left; padding-left: 5.75pt">2022</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;&#160;&#160;&#160;</td><td style="width: 8%; 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; padding-left: 5.75pt">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; padding-left: 5.75pt">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; padding-left: 5.75pt">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-left: 5.75pt">2026</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">49</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 5.75pt; 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-left: 5.75pt">Less: present value discount</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">994</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt; padding-bottom: 3px">Operating lease liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px"/><td style="text-align: right; border-bottom: Black 3px double">$12,314</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0"><span style="text-underline-style: double">&#160;</span></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_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>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="idm140124593121432">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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
October 31, 2021 are summarized below (amounts in thousands):<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="text-align: center; padding-bottom: 1pt"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 1</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 2</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 3</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Fair&#160;Value</b></span></td><td style="padding-bottom: 1pt; text-align: center"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td><td style="text-align: center">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: center">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left; padding-left: 5.4pt">Investment in cooperative (1)</td><td style="width: 2%">&#160;</td>
    <td style="width: 3%">&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 5%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 2%">&#160;</td>
    <td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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-left: 5.4pt; padding-bottom: 1px">Forward purchase contracts (2)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-2">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">430</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-3">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">430</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total assets</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">430</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">354</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">784</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>&#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: 5.4pt">Forward purchase contracts (3)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-4">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">687</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-5">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">687</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: 5.4pt; padding-bottom: 1px">Commodity futures liability (3)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-6">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">3,822</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid"><div style="-sec-ix-hidden: hidden-fact-7">-</div></td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">3,822</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.4pt; padding-bottom: 3px">Total liabilities</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">4,509</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">-</td><td style="text-align: left; padding-bottom: 3px">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">4,509</td><td style="text-align: left">&#160;</td></tr>
</table><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="text-align: right; padding-bottom: 1px"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 1</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 2</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td colspan="3" style="text-align: right; padding-bottom: 1px"><span style="border-bottom: Black 1px solid"><b>Level 3</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td>
    <td style="text-align: right; padding-bottom: 1px"><b>&#160;</b></td><td colspan="3" style="padding-bottom: 1px; text-align: right"><span style="border-bottom: Black 1px solid"><b>Fair&#160;Value</b></span></td><td style="padding-bottom: 1px; text-align: right"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: right">&#160;</td><td colspan="3" style="text-align: right">&#160;</td><td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 53%; text-align: left; padding-left: 5.4pt">Investment in cooperative (1)</td><td style="width: 2%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; 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: 2%">&#160;</td>
    <td style="width: 3%">&#160;</td>
    <td style="width: 2%; text-align: left">$</td><td style="width: 4%; text-align: right">354</td><td style="width: 1%; text-align: left">&#160;</td>
    <td style="width: 2%">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 4%; 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-left: 5.4pt">Forward purchase contracts asset (2)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-10">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,144</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right"><div style="-sec-ix-hidden: hidden-fact-11">-</div></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,144</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: 5.4pt; padding-bottom: 3px">Total assets</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">-</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">2,144</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">354</td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">2,498</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 5.4pt">&#160;</td><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>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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>&#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: 5.4pt; padding-bottom: 3px">Commodity futures liability (3)</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><div style="-sec-ix-hidden: hidden-fact-12">-</div></td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,794</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double"><div style="-sec-ix-hidden: hidden-fact-13">-</div></td><td style="text-align: left">&#160;</td>
    <td>&#160;</td><td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 3px double">$</td><td style="text-align: right; border-bottom: Black 3px double">1,794</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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: 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: 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: 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>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="idm140124594485624">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 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: 0; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31, <br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#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; padding-left: 5.75pt">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">27,329</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">27,329</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Buildings and improvements</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,613</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,613</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: 5.75pt">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">294,906</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">293,762</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Construction in progress</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,006</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">215</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.75pt">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">347,854</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">344,919</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 5.75pt">Less: accumulated depreciation</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(206,649)</td><td style="text-align: left"/><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(194,058)</td><td style="text-align: left"/></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 5.75pt; padding-bottom: 3px">Total</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">141,205</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-top: Black 1px solid; border-bottom: Black 3px double">$</td><td style="text-align: right; border-top: Black 1px solid; border-bottom: Black 3px double">150,861</td><td style="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>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="idm140124593121432">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 65%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td><td style="font-weight: bold">&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued payroll and related items</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; text-align: right">3,727</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 4%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 6%; 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; padding-left: 5.75pt">Accrued utility charges</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,473</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued transportation related items</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">578</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Accrued real estate taxes</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,419</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Commodity futures</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,822</td><td style="text-align: left">&#160;</td><td>&#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; padding-left: 5.75pt">Forward purchase contracts</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">687</td><td style="text-align: left">&#160;</td><td>&#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="text-align: left; padding-left: 5.75pt">Accrued income taxes</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">62</td><td style="text-align: left">&#160;</td><td>&#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; ">
    <td style="padding-left: 5.75pt">Other</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">353</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">362</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 5.75pt">Total</td><td style="padding-bottom: 3px">&#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,121</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#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,754</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>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="idm140124594522360">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 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: 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 style="text-align: center; padding-left: 5.4pt"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="6" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Asset Derivatives</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif">Fair Value </span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="6" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>Liability Derivatives</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif">Fair Value </span></b></td><td style="text-align: left"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 5.4pt"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31, </b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>October&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td><td><b>&#160;</b></td>
    <td colspan="2" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,</b></span><b><br/>
    <span style="font-family: Times New Roman, Times, Serif"><span style="text-decoration:underline">2021</span></span></b></td><td style="text-align: left"><b>&#160;</b></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 5.4pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 40%; text-align: justify; padding-left: 5.4pt">Commodity futures (1)</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; 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: 10%; text-align: right"><div style="-sec-ix-hidden: hidden-fact-15">-</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: 10%; text-align: right">3,822</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;&#160;&#160;&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; 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; padding-left: 5.4pt">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">430</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">687</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; padding-left: 5.4pt">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">430</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,509</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: 0 0 0 36pt; text-align: justify">(1) Commodity futures liabilities
are included in accrued expenses and other current liabilities. These contracts include short/sell positions for approximately
690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3
million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 23.75pt; text-align: justify">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0 0 0 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 5.7 million
bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of January 31, 2021.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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_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>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="idm140124594442440">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Investments (Tables)<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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">he following table summarizes the Company&#8217;s
equity method investment at October 31, 2021 and January 31, 2021 (dollars 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>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: center">&#160;</td><td>&#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: 1pt; white-space: nowrap;"><span style="text-decoration:underline">Entity</span></td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: center; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">Ownership&#160;Percentage</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">October 31, 2021</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; padding-bottom: 1pt; white-space: nowrap;">&#160;</td>
    <td colspan="2" style="font-weight: bold; text-align: right; padding-bottom: 1pt; white-space: nowrap;"><span style="text-decoration:underline">January 31, 2021</span></td><td style="padding-bottom: 1pt; font-weight: bold; white-space: nowrap;">&#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: center">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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: 28%; text-align: left">Big River</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 19%; 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 style="width: 19%; text-align: right">$30,715</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: 19%; 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: 0">&#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: 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: 0">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Three Months Ended<br/> October 31,</td><td style="white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Nine Months Ended<br/> October 31,</td><td style="white-space: nowrap;">&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 44%; text-align: left">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;&#160;&#160;&#160;$</td><td style="width: 9%; text-align: right">347,059</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;&#160;$</td><td style="width: 9%; text-align: right">209,397</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 9%; text-align: right">966,858</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: right">&#160;$</td><td style="width: 9%; text-align: right">537,155</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Gross profit</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">7,092</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">15,419</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">27,993</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">13,041</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 from continuing operations</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3,390</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">11,167</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">26,802</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">1,627</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Net income</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">3,390</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">11,167</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">26,802</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: right">$</td><td style="text-align: right">1,627</td><td style="text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 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_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>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="idm140124593021736">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;">
<tr style="vertical-align: bottom">
    <td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="11" style="font-weight: bold; text-align: center">Nine Months Ended October 31, 2021</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#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="text-align: center; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/> <span style="text-decoration:underline">Shares</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average
    Grant<br/> Date Fair Value<br/> <span style="text-decoration:underline">(000&#8217;s)</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Remaining<br/> Vesting Term<br/> <span style="text-decoration:underline">(in years)</span></b></span></td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%">Non-Vested at January 31, 2021</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">19,705</td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">$</td><td style="width: 2%; text-align: right">1,398</td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">1</td><td style="width: 3%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>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>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="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">12,447</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">900</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: right">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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="padding-bottom: 2px">Non-Vested at October 31, 2021</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; border-bottom: Black 2px double">10,061</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">773</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; padding-bottom: 2px">2</td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-align: justify; text-indent: 36pt">&#160;</p><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif; text-align: left;">
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="11" style="font-weight: bold; text-align: center">Nine Months Ended October 31, 2020</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: center">&#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="text-align: center; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Non-Vested<br/> <span style="text-decoration:underline">Shares</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Grant<br/> Date&#160;Fair&#160;Value<br/> <span style="text-decoration:underline">(000&#8217;s)</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>Weighted<br/> Average Remaining<br/> Vesting Term<br/> <span style="text-decoration:underline">(in years)</span></b></span></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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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: 52%">Non-Vested at January 31, 2020</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">28,576</td><td style="width: 3%; text-align: left">&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">$</td><td style="width: 2%; text-align: right">2,193</td><td style="width: 3%; text-align: left">&#160;&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 3%; text-align: left">&#160;</td><td style="width: 2%; text-align: right">2</td><td style="width: 3%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td>Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,158</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">416</td><td style="text-align: left">&#160;</td><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>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="padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">15,029</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,211</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="text-align: right; padding-bottom: 1px">&#160;</td><td style="text-align: left; 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="padding-bottom: 2px">Non-Vested at October 31, 2020</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; border-bottom: Black 2px double">19,705</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">1,398</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="text-align: right; padding-bottom: 2px">2</td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 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>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="idm140124597125464">
<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">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center; white-space: nowrap;">Nine Months Ended<br/> October 31,</td><td>&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 65%; text-align: left">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 9%; text-align: right">8,400</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 5%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 9%; 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">15</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(57)</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="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">413</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">-</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 2px">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">8,828</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">7,313</td><td style="text-align: left; padding-bottom: 2px">&#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>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="idm140124594370200">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Discontinued Operations (Tables)<br></strong></div></th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr><th class="th"><div>Oct. 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_DiscontinuedOperationsTablesLineItems', window );"><strong>Discontinued Operations (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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock', window );">Disposal Groups, Including Discontinued Operations [Table Text Block]</a></td>
<td class="text">Below is a
table reflecting certain items of the Consolidated Condensed Statement of Operations that were reclassified as discontinued operations
for the periods indicated (amounts in thousands):<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 95%; 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 October 31,</td><td>&#160;</td><td style="font-weight: bold">&#160;</td>
    <td colspan="6" style="font-weight: bold; text-align: center">Nine Months Ended October 31,</td><td>&#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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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"><span style="text-decoration:underline">2021</span></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"><span style="text-decoration:underline">2020</span></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" 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: 52%; text-align: left"><span style="font-family: Times New Roman, Times, Serif">Net sales and revenue<sup>1</sup></span></td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 7%; text-align: right">151</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: 7%; text-align: right">34</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: 7%; text-align: right">377</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: 7%; text-align: right">134</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px">Cost of Sales</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">3,033</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,284</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">8,015</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">4,375</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Gross loss</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(2,882)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,250)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(7,638)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,241)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Selling, general and administrative</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">230</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(12)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">665</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">(107)</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Income before income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(3,112)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(1,238)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(8,303)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(4,134)</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Benefit for income taxes</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">4,927</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">985</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">12,566</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">4,863</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Net income from discontinued operations, net of tax</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,815</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">(253)</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,263</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">729</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px">Net loss attributable to noncontrolling interests</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">137</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">58</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">370</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">193</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 2px">Net income (loss) attributable to REX common shareholders</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">1,952</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">(195)</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">4,633</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">922</td><td style="text-align: left; padding-bottom: 2px">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 22.5pt">&#160;</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt"><sup>1 </sup>Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was sold.</p><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_DiscontinuedOperationsTablesLineItems', window );"><strong>Discontinued Operations (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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock', window );">Disposal Groups, Including Discontinued Operations [Table Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0; text-indent: 36pt">Below is a table reflecting certain items of
the Consolidated Condensed Balance Sheets that were reclassified as discontinued operations for the periods indicated (amounts
in thousands):</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 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="white-space: nowrap;">&#160;</td>
    <td>&#160;</td><td colspan="3" style="font-weight: bold; text-align: center; white-space: nowrap;"><span style="font-family: Times New Roman, Times, Serif"><b>October 31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td><td style="font-weight: bold; white-space: nowrap;">&#160;</td>
    <td colspan="3" style="text-align: center"><span style="font-family: Times New Roman, Times, Serif"><b>January&#160;31,<br/> <span style="text-decoration:underline">2021</span></b></span></td><td style="font-weight: bold; white-space: nowrap;">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td>Assets:</td>
    <td>&#160;</td><td style="text-align: right">&#160;&#160;&#160;&#160;&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left">Current assets:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 69%; text-align: left; padding-left: 10pt">Prepaid expenses and other</td>
    <td style="width: 3%">&#160;</td><td style="width: 5%; text-align: right">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 2%; text-align: right">146</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 8%">&#160;</td>
    <td style="width: 7%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 2%; text-align: right">34</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; padding-bottom: 1px">Inventory</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">246</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">454</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt">Total current assets</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">392</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">488</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; padding-bottom: 1px">Property and equipment, net</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">233</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,325</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total Assets</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">625</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">2,813</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td>Liabilities:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left">Current liabilities:</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt">Accounts payable, trade</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">253</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">334</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; padding-bottom: 1px">Accrued expenses and other current liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">29</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">201</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total current liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">282</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">535</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 20pt; padding-bottom: 1px">Total liabilities</td>
    <td>&#160;</td><td style="padding-bottom: 1px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">282</td><td style="text-align: left; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">535</td><td style="text-align: left; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td>&#160;</td>
    <td>&#160;</td><td style="text-align: right">&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><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></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 2px">Net assets included in discontinued operations</td>
    <td>&#160;</td><td style="padding-bottom: 2px; text-align: right">&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">343</td><td style="text-align: left; padding-bottom: 2px">&#160;</td><td style="padding-bottom: 2px">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: left; border-bottom: Black 2px double">$</td><td style="text-align: right; border-bottom: Black 2px double">2,278</td><td style="text-align: left; padding-bottom: 2px">&#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_rex_DiscontinuedOperationsTablesLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DiscontinuedOperationsTablesLineItems</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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 information related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component.</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 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=SL51724579-110230<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1474-107760<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5D<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721677-107760<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721659-107760<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721665-107760<br><br>Reference 7: 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 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<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 10: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 11: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721671-107760<br><br>Reference 12: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 13: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 4A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721663-107760<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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock</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>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="idm140124608437256">
<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">3 Months Ended</th>
<th class="th" colspan="1">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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>
<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="text">&#160;<span></span>
</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_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">1<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_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="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>
<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="text">&#160;<span></span>
</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>
<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>
<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="text">&#160;<span></span>
</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_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_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>
</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="idm140124598193048">
<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">9 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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">$ 210,000<span></span>
</td>
<td class="nump">$ 916,000<span></span>
</td>
<td class="nump">$ 7,366,000<span></span>
</td>
<td class="nump">$ 3,078,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">2,800,000<span></span>
</td>
<td class="nump">500,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="text">&#160;<span></span>
</td>
<td class="nump">$ 700,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,793,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">8,793,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">35,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">35,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">$ 100,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,000,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_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">15<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_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">3<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">40 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_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,800,000)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (8,800,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>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="idm140124588312504">
<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>Oct. 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">$ 7,135<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">5,097<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">17,521<span></span>
</td>
<td class="nump">14,706<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">$ 29,753<span></span>
</td>
<td class="nump">$ 37,426<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>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="idm140124597633080">
<tr>
<th class="tl" colspan="2" rowspan="2"><div style="width: 200px;"><strong>Net Sales and Revenue (Details) - Schedule of Disaggregated Revenue by Product - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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="th" style="border-bottom: 0px;"><sup></sup></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 );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 203,066<span></span>
</td>
<td class="nump">$ 124,217<span></span>
</td>
<td class="nump">$ 562,786<span></span>
</td>
<td class="nump">$ 246,694<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_DisposalGroupIncludingDiscontinuedOperationRevenue', window );">Sales of products, discontinued operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">151<span></span>
</td>
<td class="nump">34<span></span>
</td>
<td class="nump">377<span></span>
</td>
<td class="nump">134<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="th" style="border-bottom: 0px;"><sup></sup></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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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>
<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 );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">161,598<span></span>
</td>
<td class="nump">98,850<span></span>
</td>
<td class="nump">441,657<span></span>
</td>
<td class="nump">191,971<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="th" style="border-bottom: 0px;"><sup></sup></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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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>
<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_Revenues', window );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">28,717<span></span>
</td>
<td class="nump">20,916<span></span>
</td>
<td class="nump">91,408<span></span>
</td>
<td class="nump">45,314<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="th" style="border-bottom: 0px;"><sup></sup></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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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>
<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 );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">11,958<span></span>
</td>
<td class="nump">4,661<span></span>
</td>
<td class="nump">27,364<span></span>
</td>
<td class="nump">9,162<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="th" style="border-bottom: 0px;"><sup></sup></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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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>
<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_Revenues', window );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">2,930<span></span>
</td>
<td class="nump">562<span></span>
</td>
<td class="nump">7,157<span></span>
</td>
<td class="nump">1,228<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_DerivativeFinancialInstrumentsLossesMember', window );">Derivative financial instruments losses [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>
<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="th" style="border-bottom: 0px;"><sup></sup></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 );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(2,144)<span></span>
</td>
<td class="num">(777)<span></span>
</td>
<td class="num">(4,907)<span></span>
</td>
<td class="num">(1,075)<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_OtherMember', window );">Other[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>
<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="th" style="border-bottom: 0px;"><sup></sup></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_Revenues', window );">Sales of products, continuing operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">7<span></span>
</td>
<td class="nump">5<span></span>
</td>
<td class="nump">107<span></span>
</td>
<td class="nump">94<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="th" style="border-bottom: 0px;"><sup></sup></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_SegmentReportingInformationLineItems', window );"><strong>Segment Reporting Information [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>
<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_DisposalGroupIncludingDiscontinuedOperationRevenue', window );">Sales of products, discontinued operations</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 151<span></span>
</td>
<td class="nump">$ 34<span></span>
</td>
<td class="nump">$ 377<span></span>
</td>
<td class="nump">$ 134<span></span>
</td>
</tr>
<tr><td colspan="5"></td></tr>
<tr><td colspan="5"><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">Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was 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_DisposalGroupIncludingDiscontinuedOperationRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 attributable to disposal group, including, but not limited to, 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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 2: 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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_DisposalGroupIncludingDiscontinuedOperationRevenue</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_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_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=rex_DerivativeFinancialInstrumentsLossesMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DerivativeFinancialInstrumentsLossesMember</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_OtherMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_OtherMember</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>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="idm140124594661656">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Leases (Details)<br></strong></div></th>
<th class="th"><div>Oct. 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 7 months 6 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.87%<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>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="idm140124588362248">
<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">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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,690<span></span>
</td>
<td class="nump">$ 1,545<span></span>
</td>
<td class="nump">$ 4,805<span></span>
</td>
<td class="nump">$ 4,779<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">1,090<span></span>
</td>
<td class="nump">79<span></span>
</td>
<td class="nump">1,654<span></span>
</td>
<td class="nump">417<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,780<span></span>
</td>
<td class="nump">$ 1,624<span></span>
</td>
<td class="nump">$ 6,459<span></span>
</td>
<td class="nump">$ 5,196<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>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="idm140124598069128">
<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>Oct. 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">$ 1,506<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">12,282<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">730<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">$ 11,552<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>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="idm140124597920856">
<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>Oct. 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 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</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">430<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_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">784<span></span>
</td>
<td class="nump">2,498<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_ForwardPurchaseContractsAssetLiabilities', window );">Forward purchase contracts</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">687<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_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures liability</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">3,822<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_FinancialLiabilitiesFairValueDisclosure', window );">Total liabilities</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">4,509<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_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="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="text"> <span></span>
</td>
<td class="text"> <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</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 custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsAssetLiabilities', window );">Forward purchase contracts</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="text"> <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_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="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="text"> <span></span>
</td>
<td class="text"> <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</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">430<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_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">430<span></span>
</td>
<td class="nump">2,144<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_ForwardPurchaseContractsAssetLiabilities', window );">Forward purchase contracts</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">687<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_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue', window );">Commodity futures liability</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">3,822<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_FinancialLiabilitiesFairValueDisclosure', window );">Total liabilities</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">4,509<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_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 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</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="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_AssetsFairValueDisclosure', 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="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_ForwardPurchaseContractsAssetLiabilities', window );">Forward purchase contracts</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="text"> <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_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_ForwardPurchaseContractsAssetLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ForwardPurchaseContractsAssetLiabilities</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_AssetsFairValueDisclosure">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 portion of 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 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_AssetsFairValueDisclosure</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>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="idm140124597812952">
<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>Oct. 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,329<span></span>
</td>
<td class="nump">$ 27,329<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,613<span></span>
</td>
<td class="nump">23,613<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">294,906<span></span>
</td>
<td class="nump">293,762<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">2,006<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">347,854<span></span>
</td>
<td class="nump">344,919<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">(206,649)<span></span>
</td>
<td class="num">(194,058)<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">$ 141,205<span></span>
</td>
<td class="nump">$ 150,861<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>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="idm140124609178904">
<tr>
<th class="tl" colspan="2" 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>Oct. 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="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_EmployeeRelatedLiabilitiesCurrent', window );">Accrued payroll and related items</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 3,727<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="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">3,473<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="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">578<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="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,419<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="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">3,822<span></span>
</td>
<td class="nump">1,794<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_ForwardPurchaseContractsAssetLiabilities', window );">Forward purchase contracts</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">687<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_AccruedIncomeTaxes', window );">Accrued income taxes</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">62<span></span>
</td>
<td class="nump">55<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_OtherAccruedLiabilitiesCurrent', window );">Other</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">353<span></span>
</td>
<td class="nump">362<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_AccruedLiabilitiesCurrent', window );">Total</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 14,121<span></span>
</td>
<td class="nump">$ 8,754<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 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_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_ForwardPurchaseContractsAssetLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ForwardPurchaseContractsAssetLiabilities</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_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>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="idm140124598209272">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Derivative Financial Instruments (Details)<br> gal in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">9 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th">
<div>Oct. 31, 2021 </div>
<div>USD ($) </div>
<div>bu </div>
<div>gal</div>
</th>
<th class="th">
<div>Oct. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Oct. 31, 2021 </div>
<div>USD ($) </div>
<div>bu </div>
<div>gal</div>
</th>
<th class="th">
<div>Oct. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jan. 31, 2021 </div>
<div>USD ($) </div>
<div>bu</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">$ 1,737,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1,737,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">2,144,000<span></span>
</td>
<td class="nump">$ 777,000<span></span>
</td>
<td class="nump">4,907,000<span></span>
</td>
<td class="nump">$ 1,076,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">$ 5,474,000<span></span>
</td>
<td class="nump">$ 26,000<span></span>
</td>
<td class="nump">$ 2,562,000<span></span>
</td>
<td class="nump">$ 1,785,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_AssetsMember', window );">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">6,700,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6,700,000<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_ForwardPurchaseContractsQuantity', window );">Forward Purchase Contracts, Quantity (in US Bushels)</a></td>
<td class="nump">5,700,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">5,700,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6,400,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_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="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">690,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">690,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">6,900,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_ContractWithCustomerDurationAxis=rex_ShortSellMember', window );">Short/Sell [Member] | Liability [Member] | Ethanol [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 | gal</a></td>
<td class="nump">5.5<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">5.5<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_ContractWithCustomerDurationAxis=rex_LongBuyMember', window );">Long/Buy [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="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">2,300,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,300,000<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_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>
<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_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_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_TradingActivityByTypeAxis=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_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>
</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="idm140124588306440">
<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>Oct. 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">$ 430<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,509<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="text"> <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">3,822<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">430<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="nump">$ 687<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 include short/sell positions for approximately
690,000 bushels of corn and 5.5 million gallons of ethanol at October 31, 2021. These contracts include short/sell positions for
approximately 6.9 million bushels of corn at January 31, 2021. These contracts included long/buy positions for approximately 2.3
million bushels of corn at October 31, 2021. There were no long/buy positions at January 31, 2021. Commodity futures assets, had
there been any at either October 31, 2021 or January 31, 2021 would be included in prepaid expenses and other assets.</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 5.7 million
bushels of corn at October 31, 2021 and 6.4 million bushels of corn at January 31, 2021. Forward contract liabilities are included
in accrued expenses and other current liabilities. These contracts are for purchases of approximately 6.7 million bushels of corn
at October 31, 2021. There were no forward contract liabilities as of 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>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="idm140124592795976">
<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="2">9 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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_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="nump">$ 10,700<span></span>
</td>
<td class="text">&#160;<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">1,504<span></span>
</td>
<td class="nump">$ 2,506<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="nump">$ 21,620<span></span>
</td>
<td class="text">&#160;<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="nump">0.10%<span></span>
</td>
<td class="text">&#160;<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>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="idm140124594647880">
<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>Oct. 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">$ 30,715<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>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="idm140124597790104">
<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">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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">$ 347,059<span></span>
</td>
<td class="nump">$ 209,397<span></span>
</td>
<td class="nump">$ 966,858<span></span>
</td>
<td class="nump">$ 537,155<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</a></td>
<td class="nump">7,092<span></span>
</td>
<td class="nump">15,419<span></span>
</td>
<td class="nump">27,993<span></span>
</td>
<td class="nump">13,041<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 from continuing operations</a></td>
<td class="nump">3,390<span></span>
</td>
<td class="nump">11,167<span></span>
</td>
<td class="nump">26,802<span></span>
</td>
<td class="nump">1,627<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</a></td>
<td class="nump">$ 3,390<span></span>
</td>
<td class="nump">$ 11,167<span></span>
</td>
<td class="nump">$ 26,802<span></span>
</td>
<td class="nump">$ 1,627<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>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="idm140124608708232">
<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>Oct. 31, 2021</div></th>
<th class="th"><div>Jan. 31, 2021</div></th>
<th class="th"><div>Oct. 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">$ 126<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>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="idm140124619240552">
<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">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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>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="idm140124608654744">
<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">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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="nump">$ 4,338<span></span>
</td>
<td class="nump">$ 5,037<span></span>
</td>
<td class="nump">$ 8,329<span></span>
</td>
<td class="num">$ (444)<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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation', window );">Discontinued Operation, Tax Effect of Discontinued Operation</a></td>
<td class="nump">$ 4,927<span></span>
</td>
<td class="nump">$ 985<span></span>
</td>
<td class="nump">$ 12,566<span></span>
</td>
<td class="nump">4,863<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="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_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="nump">$ 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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 2: 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 (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123586238&amp;loc=d3e38679-109324<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<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 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 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 9: 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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation</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_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>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="idm140124592876184">
<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">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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">15<span></span>
</td>
<td class="num">(57)<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">413<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,828<span></span>
</td>
<td class="nump">$ 7,313<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>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="idm140124609059960">
<tr>
<th class="tl" colspan="2" rowspan="2"><div style="width: 200px;"><strong>Discontinued Operations (Details) - Schedule Of Discontinued Items Statement of Operations - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">9 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract', window );"><strong>Schedule Of Discontinued Items Statement of Operations [Abstract]</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>
<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_DisposalGroupIncludingDiscontinuedOperationRevenue', window );">Net sales and revenue</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">$ 151<span></span>
</td>
<td class="nump">$ 34<span></span>
</td>
<td class="nump">$ 377<span></span>
</td>
<td class="nump">$ 134<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_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold', window );">Cost of Sales</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">3,033<span></span>
</td>
<td class="nump">1,284<span></span>
</td>
<td class="nump">8,015<span></span>
</td>
<td class="nump">4,375<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_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss', window );">Gross loss</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(2,882)<span></span>
</td>
<td class="num">(1,250)<span></span>
</td>
<td class="num">(7,638)<span></span>
</td>
<td class="num">(4,241)<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_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense', window );">Selling, general and administrative</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">230<span></span>
</td>
<td class="num">(12)<span></span>
</td>
<td class="nump">665<span></span>
</td>
<td class="num">(107)<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_DisposalGroupIncludingDiscontinuedOperationOtherIncome', window );">Income before income taxes</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="num">(3,112)<span></span>
</td>
<td class="num">(1,238)<span></span>
</td>
<td class="num">(8,303)<span></span>
</td>
<td class="num">(4,134)<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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation', window );">Benefit for income taxes</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">4,927<span></span>
</td>
<td class="nump">985<span></span>
</td>
<td class="nump">12,566<span></span>
</td>
<td class="nump">4,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_IncomeLossFromDiscontinuedOperationsNetOfTax', window );">Net income from discontinued operations, net of tax</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">1,815<span></span>
</td>
<td class="num">(253)<span></span>
</td>
<td class="nump">4,263<span></span>
</td>
<td class="nump">729<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest', window );">Net loss attributable to noncontrolling interests</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">137<span></span>
</td>
<td class="nump">58<span></span>
</td>
<td class="nump">370<span></span>
</td>
<td class="nump">193<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity', window );">Net income (loss) attributable to REX common shareholders</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">$ 1,952<span></span>
</td>
<td class="num">$ (195)<span></span>
</td>
<td class="nump">$ 4,633<span></span>
</td>
<td class="nump">$ 922<span></span>
</td>
</tr>
<tr><td colspan="5"></td></tr>
<tr><td colspan="5"><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">Refined coal sales were recorded
net of the cost of coal as the Company purchased the coal feedstock from the customer to which the processed refined coal was 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_rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract</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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 2: 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 (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=123586238&amp;loc=d3e38679-109324<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<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 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 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 9: 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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation</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_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 costs of goods sold attributable to disposal group, including, but not limited to, discontinued operation.</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 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold</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_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 general and administrative expense attributable to disposal group, including, but not limited to, 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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense</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_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 gross profit attributable to disposal group, including, but not limited to, discontinued operation.</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 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss</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_DisposalGroupIncludingDiscontinuedOperationOtherIncome">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 other income attributable to disposal group, including, but not limited to, 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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_DisposalGroupIncludingDiscontinuedOperationOtherIncome</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_DisposalGroupIncludingDiscontinuedOperationRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 attributable to disposal group, including, but not limited to, 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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 2: 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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ 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_DisposalGroupIncludingDiscontinuedOperationRevenue</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_IncomeLossFromDiscontinuedOperationsNetOfTax">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 220<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(12))<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 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 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<br><br>Reference 9: http://www.xbrl.org/2003/role/disclosureRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 270<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109227538&amp;loc=d3e44648-109337<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_IncomeLossFromDiscontinuedOperationsNetOfTax</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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<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 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4568447-111683<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<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 45<br> -Paragraph 19<br> -URI http://asc.fasb.org/extlink&amp;oid=123454820&amp;loc=SL4569616-111683<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 9: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest</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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e957-107759<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3A<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721523-107759<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 3B<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721525-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=d3e1361-107760<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5C<br> -Subparagraph (b)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 7: 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 8: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1012-107759<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_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity</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>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="idm140124588308600">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Oct. 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_CurrentAssetsAbstract0', 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_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets', window );">Prepaid expenses and other</a></td>
<td class="nump">$ 146<span></span>
</td>
<td class="nump">$ 34<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_DisposalGroupIncludingDiscontinuedOperationInventory1', window );">Inventory</a></td>
<td class="nump">246<span></span>
</td>
<td class="nump">454<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_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent', window );">Assets</a></td>
<td class="nump">392<span></span>
</td>
<td class="nump">488<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_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment', window );">Property and equipment, net</a></td>
<td class="nump">233<span></span>
</td>
<td class="nump">2,325<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_AssetsOfDisposalGroupIncludingDiscontinuedOperation', window );">Total Assets</a></td>
<td class="nump">625<span></span>
</td>
<td class="nump">2,813<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_CurrentLiabilitiesAbstract0', 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_DisposalGroupIncludingDiscontinuedOperationAccountsPayable', window );">Accounts payable, trade</a></td>
<td class="nump">253<span></span>
</td>
<td class="nump">334<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_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities', window );">Accrued expenses and other current liabilities</a></td>
<td class="nump">29<span></span>
</td>
<td class="nump">201<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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent', window );">Total current liabilities</a></td>
<td class="nump">282<span></span>
</td>
<td class="nump">535<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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation', window );">Total liabilities</a></td>
<td class="nump">282<span></span>
</td>
<td class="nump">535<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_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent', window );">Net assets included in discontinued operations</a></td>
<td class="nump">$ 343<span></span>
</td>
<td class="nump">$ 2,278<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_CurrentAssetsAbstract0">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_CurrentAssetsAbstract0</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_CurrentLiabilitiesAbstract0">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_CurrentLiabilitiesAbstract0</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_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent</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_AssetsOfDisposalGroupIncludingDiscontinuedOperation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as assets attributable to disposal group held for sale or disposed of.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 5: 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 6: 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 5C<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<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_AssetsOfDisposalGroupIncludingDiscontinuedOperation</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_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as assets attributable to disposal group held for sale or disposed of, expected to be disposed of 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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<br><br>Reference 2: 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 5C<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=123351718&amp;loc=d3e2473-110228<br><br>Reference 5: 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 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 7: 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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<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_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent</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_DisposalGroupIncludingDiscontinuedOperationAccountsPayable">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as accounts payable attributable to disposal group held for sale or disposed of.</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 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<br><br>Reference 3: 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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<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_DisposalGroupIncludingDiscontinuedOperationAccountsPayable</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_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as accrued liabilities attributable to disposal group held for sale or disposed of.</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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<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_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities</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_DisposalGroupIncludingDiscontinuedOperationInventory1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as inventory attributable to disposal group held for sale or disposed of.</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 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<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_DisposalGroupIncludingDiscontinuedOperationInventory1</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_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as prepaid and other assets attributable to disposal group held for sale or disposed of.</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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets</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_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as property, plant and equipment attributable to disposal group held for sale or disposed of.</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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment</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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as liabilities attributable to disposal group held for sale or disposed of.</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 20<br> -Section 50<br> -Paragraph 7<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721683-107760<br><br>Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<br><br>Reference 3: 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 5C<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation</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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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 classified as liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of 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://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 2: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 10<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=d3e1107-107759<br><br>Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 50<br> -Paragraph 5B<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721673-107760<br><br>Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -SubTopic 20<br> -Section 45<br> -Paragraph 11<br> -URI http://asc.fasb.org/extlink&amp;oid=109222160&amp;loc=SL51721533-107759<br><br>Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=123351718&amp;loc=d3e2473-110228<br><br>Reference 6: 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 3<br> -Subparagraph (e)<br> -URI http://asc.fasb.org/extlink&amp;oid=109226691&amp;loc=d3e2941-110230<br><br>Reference 7: 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 5C<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=109222650&amp;loc=SL51721675-107760<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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent</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>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="idm140124609059672">
<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">9 Months Ended</th>
</tr>
<tr>
<th class="th">
<div>Oct. 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>Oct. 31, 2020 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Oct. 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>Oct. 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">12.4<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">12.4<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">2.1<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2.1<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">50.3<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">50.3<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">113,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">113,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">13.5<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">13.5<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.0<span></span>
</td>
<td class="nump">$ 0.5<span></span>
</td>
<td class="nump">$ 5.1<span></span>
</td>
<td class="nump">$ 1.9<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>65
<FILENAME>R56.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="idm140124589486248">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Related-Party Transactions (Details) - USD ($)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">9 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 31, 2020</div></th>
<th class="th"><div>Oct. 31, 2021</div></th>
<th class="th"><div>Oct. 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_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">$ 39,000<span></span>
</td>
<td class="num">$ (15,000)<span></span>
</td>
<td class="nump">$ 230,000<span></span>
</td>
<td class="num">$ (160,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_AccountsPayableRelatedPartiesCurrent', window );">Accounts Payable, Related Parties, Current</a></td>
<td class="nump">1,700<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1,700<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 700<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="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_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">22,900,000<span></span>
</td>
<td class="nump">16,900,000<span></span>
</td>
<td class="nump">60,300,000<span></span>
</td>
<td class="nump">34,000,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_AccountsPayableRelatedPartiesCurrent', window );">Accounts Payable, Related Parties, Current</a></td>
<td class="nump">1,700,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1,700,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">700,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_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="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_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">$ 40,000<span></span>
</td>
<td class="num">$ (15,000)<span></span>
</td>
<td class="nump">$ 200,000<span></span>
</td>
<td class="num">$ (200,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_AccruedLiabilitiesForCommissionsExpenseAndTaxes', window );">Accrued Liabilities for Commissions, Expense and Taxes</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">$ 100,000<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>EXCEL
<SEQUENCE>66
<FILENAME>Financial_Report.xlsx
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 Financial_Report.xlsx
M4$L#!!0    ( .)\@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    " #B?(-3[&VN.>X    K @  $0   &1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]?^3ZG(^-UTO?UE^[QS=XQ>< _QO
M\?@%4$L#!!0    ( .)\@U./X;=ITP$  #8A   3    6T-O;G1E;G1?5'EP
M97-=+GAM;,W:R6[",!0%T%]!V5;$> @=!&S:;EL6_0$W>4!$$ENVH?#W=<(@
MM:*HB$J]&R)B^]T76SJ;9/2VM>1[F[IJ_#A9A& ?&//Y@FKM4V.IB2,SXVH=
MXE\W9U;G2STG)@:#(<M-$Z@)_=#62":C)YKI515ZSYMXVY>F&2>.*I_T'G<3
MVZQQHJVMRER'.,[63?$MI;]/2./*;HY?E-;?Q D).YG0COP<L%_WNB;GRH)Z
M4^W"BZ[C++:IF _;BGQZOL2)'LUL5N94F'Q5QR6IMXYTX1=$H:[27=&;\\DA
M[C#M?OG5^5V9<X%QYM09Z^.).;H\[G D[>J^C87(A?+\(QX38^FKGX_:TRZH
M^&5VW-X/XY;=>7C67:[?XZ]G?*Q_81\"I \)TH<"Z2,#Z6,(TL<M2!]W('W<
M@_3!!RB-H(C*44CE**9R%%0YBJH<A56.XBI'@96CR"I09!4HL@H4606*K )%
M5H$BJT"15:#(*E!D%2BR2A19)8JL$D56B2*K1)%5HL@J4625*+)*%%DEBJP*
M15:%(JM"D56AR*I09%4HLBH4616*K I%5H4B:X8B:X8B:X8B:X8B:X8B:X8B
M:_:?LKX;L_SK-_GM-:UUV1SR6?>YQ.034$L! A0#%     @ XGR#4P=!36*!
M    L0   !               ( !     &1O8U!R;W!S+V%P<"YX;6Q02P$"
M% ,4    " #B?(-3[&VN.>X    K @  $0              @ &O    9&]C
M4')O<',O8V]R92YX;6Q02P$"% ,4    " #B?(-3F5R<(Q &  "<)P  $P
M            @ ', 0  >&PO=&AE;64O=&AE;64Q+GAM;%!+ 0(4 Q0    (
M .)\@U/]G 4G/@4  '\5   8              " @0T(  !X;"]W;W)K<VAE
M971S+W-H965T,2YX;6Q02P$"% ,4    " #B?(-3J)!O!V8&  #"&@  &
M            @(&!#0  >&PO=V]R:W-H965T<R]S:&5E=#(N>&UL4$L! A0#
M%     @ XGR#4XDA,')- @  %04  !@              ("!'10  'AL+W=O
M<FMS:&5E=',O<VAE970S+GAM;%!+ 0(4 Q0    ( .)\@U-,I (7P@8  '@<
M   8              " @: 6  !X;"]W;W)K<VAE971S+W-H965T-"YX;6Q0
M2P$"% ,4    " #B?(-3G]ZW1\H"  #6!P  &               @(&8'0
M>&PO=V]R:W-H965T<R]S:&5E=#4N>&UL4$L! A0#%     @ XGR#4T=7ASA7
M!P  &2D  !@              ("!F"   'AL+W=O<FMS:&5E=',O<VAE970V
M+GAM;%!+ 0(4 Q0    ( .)\@U/Y@!HI20@  $XE   8              "
M@24H  !X;"]W;W)K<VAE971S+W-H965T-RYX;6Q02P$"% ,4    " #B?(-3
MQ;\V.I<&  #@$   &               @(&D,   >&PO=V]R:W-H965T<R]S
M:&5E=#@N>&UL4$L! A0#%     @ XGR#4T''<,"Q$   !"P  !@
M     ("!<3<  'AL+W=O<FMS:&5E=',O<VAE970Y+GAM;%!+ 0(4 Q0    (
M .)\@U-<D,1]%04  ,0*   9              " @5A(  !X;"]W;W)K<VAE
M971S+W-H965T,3 N>&UL4$L! A0#%     @ XGR#4QFJ)V@-!0  %@P  !D
M             ("!I$T  'AL+W=O<FMS:&5E=',O<VAE970Q,2YX;6Q02P$"
M% ,4    " #B?(-3.NA3;,H'  !-%   &0              @('H4@  >&PO
M=V]R:W-H965T<R]S:&5E=#$R+GAM;%!+ 0(4 Q0    ( .)\@U,(AV?:\@(
M #<&   9              " @>E:  !X;"]W;W)K<VAE971S+W-H965T,3,N
M>&UL4$L! A0#%     @ XGR#4RM>L/\R P  SP8  !D              ("!
M$EX  'AL+W=O<FMS:&5E=',O<VAE970Q-"YX;6Q02P$"% ,4    " #B?(-3
M$EE'%Y<'  !/%@  &0              @(%[80  >&PO=V]R:W-H965T<R]S
M:&5E=#$U+GAM;%!+ 0(4 Q0    ( .)\@U-G[=H&> 0   ,+   9
M      " @4EI  !X;"]W;W)K<VAE971S+W-H965T,38N>&UL4$L! A0#%
M  @ XGR#4XJISB4Q!@  C0X  !D              ("!^&T  'AL+W=O<FMS
M:&5E=',O<VAE970Q-RYX;6Q02P$"% ,4    " #B?(-3W"@ZL\L'  #_%
M&0              @(%@=   >&PO=V]R:W-H965T<R]S:&5E=#$X+GAM;%!+
M 0(4 Q0    ( .)\@U.%B0#D*@4  (P+   9              " @6)\  !X
M;"]W;W)K<VAE971S+W-H965T,3DN>&UL4$L! A0#%     @ XGR#4Y(>4^IR
M!    PH  !D              ("!PX$  'AL+W=O<FMS:&5E=',O<VAE970R
M,"YX;6Q02P$"% ,4    " #B?(-3ZQV$4]<#  "<"0  &0
M@(%LA@  >&PO=V]R:W-H965T<R]S:&5E=#(Q+GAM;%!+ 0(4 Q0    ( .)\
M@U-3#H(XP!   /$P   9              " @7J*  !X;"]W;W)K<VAE971S
M+W-H965T,C(N>&UL4$L! A0#%     @ XGR#4P,PXTR[ @  D@4  !D
M         ("!<9L  'AL+W=O<FMS:&5E=',O<VAE970R,RYX;6Q02P$"% ,4
M    " #B?(-34GU2,'D#  #F!@  &0              @(%CG@  >&PO=V]R
M:W-H965T<R]S:&5E=#(T+GAM;%!+ 0(4 Q0    ( .)\@U.KPVWRJ@,  '8(
M   9              " @1.B  !X;"]W;W)K<VAE971S+W-H965T,C4N>&UL
M4$L! A0#%     @ XGR#4T/Q506G P  0PD  !D              ("!]*4
M 'AL+W=O<FMS:&5E=',O<VAE970R-BYX;6Q02P$"% ,4    " #B?(-3ZQH(
M1>H"   <!@  &0              @('2J0  >&PO=V]R:W-H965T<R]S:&5E
M=#(W+GAM;%!+ 0(4 Q0    ( .)\@U-](J*])@,  '8&   9
M  " @?.L  !X;"]W;W)K<VAE971S+W-H965T,C@N>&UL4$L! A0#%     @
MXGR#4W^4C'6,!   N@L  !D              ("!4+   'AL+W=O<FMS:&5E
M=',O<VAE970R.2YX;6Q02P$"% ,4    " #B?(-3%3G$0'\#   5"   &0
M            @($3M0  >&PO=V]R:W-H965T<R]S:&5E=#,P+GAM;%!+ 0(4
M Q0    ( .)\@U.(C_A)"0,  .$&   9              " @<FX  !X;"]W
M;W)K<VAE971S+W-H965T,S$N>&UL4$L! A0#%     @ XGR#4ZS#)%K: @
M( 8  !D              ("!";P  'AL+W=O<FMS:&5E=',O<VAE970S,BYX
M;6Q02P$"% ,4    " #B?(-3]BR-R+H$  #-"P  &0              @($:
MOP  >&PO=V]R:W-H965T<R]S:&5E=#,S+GAM;%!+ 0(4 Q0    ( .)\@U/D
M=OAUH0(  *D(   9              " @0O$  !X;"]W;W)K<VAE971S+W-H
M965T,S0N>&UL4$L! A0#%     @ XGR#4T5;,D^M!   B10  !D
M     ("!X\8  'AL+W=O<FMS:&5E=',O<VAE970S-2YX;6Q02P$"% ,4
M" #B?(-3=17S;8P"  "$!@  &0              @(''RP  >&PO=V]R:W-H
M965T<R]S:&5E=#,V+GAM;%!+ 0(4 Q0    ( .)\@U-75&_P(@4  '<6   9
M              " @8K.  !X;"]W;W)K<VAE971S+W-H965T,S<N>&UL4$L!
M A0#%     @ XGR#4U0?GO M @  A 4  !D              ("!X],  'AL
M+W=O<FMS:&5E=',O<VAE970S."YX;6Q02P$"% ,4    " #B?(-3:&4]D,L"
M  "3"   &0              @(%'U@  >&PO=V]R:W-H965T<R]S:&5E=#,Y
M+GAM;%!+ 0(4 Q0    ( .)\@U.G8'&]Y0(  . (   9              "
M@4G9  !X;"]W;W)K<VAE971S+W-H965T-# N>&UL4$L! A0#%     @ XGR#
M4_NCB_-B!0  \QT  !D              ("!9=P  'AL+W=O<FMS:&5E=',O
M<VAE970T,2YX;6Q02P$"% ,4    " #B?(-373JETML"  !$"   &0
M        @('^X0  >&PO=V]R:W-H965T<R]S:&5E=#0R+GAM;%!+ 0(4 Q0
M   ( .)\@U.?TZG%O ,  -H+   9              " @1#E  !X;"]W;W)K
M<VAE971S+W-H965T-#,N>&UL4$L! A0#%     @ XGR#4\*P>M@:!   0!$
M !D              ("! ^D  'AL+W=O<FMS:&5E=',O<VAE970T-"YX;6Q0
M2P$"% ,4    " #B?(-32?\'GXH$   S$@  &0              @(%4[0
M>&PO=V]R:W-H965T<R]S:&5E=#0U+GAM;%!+ 0(4 Q0    ( .)\@U.T7@,(
M!@,  !4(   9              " @17R  !X;"]W;W)K<VAE971S+W-H965T
M-#8N>&UL4$L! A0#%     @ XGR#4ZKZ1B,@ @  $@4  !D
M ("!4O4  'AL+W=O<FMS:&5E=',O<VAE970T-RYX;6Q02P$"% ,4    " #B
M?(-3X@3:B#0#  #J"0  &0              @(&I]P  >&PO=V]R:W-H965T
M<R]S:&5E=#0X+GAM;%!+ 0(4 Q0    ( .)\@U-T\>/J:0,  &8,   9
M          " @13[  !X;"]W;W)K<VAE971S+W-H965T-#DN>&UL4$L! A0#
M%     @ XGR#4RA>I?R4 P  M@P  !D              ("!M/X  'AL+W=O
M<FMS:&5E=',O<VAE970U,"YX;6Q02P$"% ,4    " #B?(-3"N7&\Q,#  !%
M"0  &0              @(%_ @$ >&PO=V]R:W-H965T<R]S:&5E=#4Q+GAM
M;%!+ 0(4 Q0    ( .)\@U/GCHWRQ (  &@'   9              " @<D%
M 0!X;"]W;W)K<VAE971S+W-H965T-3(N>&UL4$L! A0#%     @ XGR#4S1?
M]Z^O!   A!   !D              ("!Q @! 'AL+W=O<FMS:&5E=',O<VAE
M970U,RYX;6Q02P$"% ,4    " #B?(-3/6,(WSH#  "L"@  &0
M    @(&J#0$ >&PO=V]R:W-H965T<R]S:&5E=#4T+GAM;%!+ 0(4 Q0    (
M .)\@U/GM47*V0,  ) ,   9              " @1L1 0!X;"]W;W)K<VAE
M971S+W-H965T-34N>&UL4$L! A0#%     @ XGR#4U["9R5S P  /@T  !D
M             ("!*Q4! 'AL+W=O<FMS:&5E=',O<VAE970U-BYX;6Q02P$"
M% ,4    " #B?(-3,<0LCQ\#   *$@  #0              @ '5& $ >&PO
M<W1Y;&5S+GAM;%!+ 0(4 Q0    ( .)\@U.7BKL<P    !,"   +
M      "  1\< 0!?<F5L<R\N<F5L<U!+ 0(4 Q0    ( .)\@U,31N-74 0
M !HE   /              "  0@= 0!X;"]W;W)K8F]O:RYX;6Q02P$"% ,4
M    " #B?(-3##^0_.4!  !_(0  &@              @ &%(0$ >&PO7W)E
M;',O=V]R:V)O;VLN>&UL+G)E;'-02P$"% ,4    " #B?(-3C^&W:=,!   V
M(0  $P              @ &B(P$ 6T-O;G1E;G1?5'EP97-=+GAM;%!+!08
1    0 !  '<1  "F)0$    !

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>67
<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>68
<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>69
<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>136</ContextCount>
  <ElementCount>323</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>39</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="c102599_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="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Consolidated Condensed Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Condensed Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Consolidated Condensed Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Consolidated Condensed Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Consolidated Condensed Statement of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Consolidated Condensed Statement of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Consolidated Condensed Statement of Operations (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals</Role>
      <ShortName>Consolidated Condensed Statement of Operations (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Consolidated Condensed Statements of Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Consolidated Condensed Statements of Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Statement - Consolidated Condensed Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Consolidated Condensed Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_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="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Discontinued Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DiscontinuedOperations</Role>
      <ShortName>Discontinued Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - 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>20</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - 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>21</Position>
    </Report>
    <Report instance="c102599_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="c102599_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="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Net Sales and Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/NetSalesandRevenueTables</Role>
      <ShortName>Net Sales and Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/NetSalesandRevenue</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - 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>25</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - 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>26</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - 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>27</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - 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>28</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - 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>29</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - 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>30</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - 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>31</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - 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>32</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - Discontinued Operations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/DiscontinuedOperationsTables</Role>
      <ShortName>Discontinued Operations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DiscontinuedOperations</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - 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>34</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - 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>35</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - 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>36</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - Net Sales and Revenue (Details) - Schedule of Disaggregated Revenue by Product</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable</Role>
      <ShortName>Net Sales and Revenue (Details) - Schedule of Disaggregated Revenue by Product</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/NetSalesandRevenueTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - 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>38</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - 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>39</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - 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>40</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - 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>41</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - 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>42</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - 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>43</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>043 - 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>44</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>044 - 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>45</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>045 - 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>46</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>046 - 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>47</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>047 - 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>48</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>048 - 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>49</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>049 - 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>50</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>050 - 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>51</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>051 - 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>52</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>052 - Disclosure - Discontinued Operations (Details) - Schedule Of Discontinued Items Statement of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable</Role>
      <ShortName>Discontinued Operations (Details) - Schedule Of Discontinued Items Statement of Operations</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DiscontinuedOperationsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>053 - Disclosure - Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable</Role>
      <ShortName>Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/DiscontinuedOperationsTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>054 - 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>55</Position>
    </Report>
    <Report instance="c102599_10q-ixbrl.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>055 - 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>56</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="c102599_10q-ixbrl.htm">c102599_10q-ixbrl.htm</File>
    <File>c102599_ex31.htm</File>
    <File>c102599_ex32.htm</File>
    <File>rex-20211031.xsd</File>
    <File>rex-20211031_cal.xml</File>
    <File>rex-20211031_def.xml</File>
    <File>rex-20211031_lab.xml</File>
    <File>rex-20211031_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/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>72
<FILENAME>MetaLinks.json
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
{
 "instance": {
  "c102599_10q-ixbrl.htm": {
   "axisCustom": 0,
   "axisStandard": 15,
   "contextCount": 136,
   "dts": {
    "calculationLink": {
     "local": [
      "rex-20211031_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "rex-20211031_def.xml"
     ]
    },
    "inline": {
     "local": [
      "c102599_10q-ixbrl.htm"
     ]
    },
    "labelLink": {
     "local": [
      "rex-20211031_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "rex-20211031_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "rex-20211031.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",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd"
     ]
    }
   },
   "elementCount": 390,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 7,
    "http://www.rexamerican.com/20211031": 10,
    "http://xbrl.sec.gov/dei/2021": 5,
    "total": 22
   },
   "keyCustom": 25,
   "keyStandard": 298,
   "memberCustom": 17,
   "memberStandard": 18,
   "nsprefix": "rex",
   "nsuri": "http://www.rexamerican.com/20211031",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": [
       "p",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "018 - Disclosure - Discontinued Operations",
     "role": "http://www.rexamerican.com/role/DiscontinuedOperations",
     "shortName": "Discontinued Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_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 Condensed Balance Sheets",
     "role": "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
     "shortName": "Consolidated Condensed Balance Sheets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AccountsReceivableNetCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "019 - Disclosure - Commitments and Contingencies",
     "role": "http://www.rexamerican.com/role/CommitmentsandContingencies",
     "shortName": "Commitments and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "020 - Disclosure - Related-Party Transactions",
     "role": "http://www.rexamerican.com/role/RelatedPartyTransactions",
     "shortName": "Related-Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "c102599_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": "c102599_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": "c102599_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": [
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "023 - Disclosure - Net Sales and Revenue (Tables)",
     "role": "http://www.rexamerican.com/role/NetSalesandRevenueTables",
     "shortName": "Net Sales and Revenue (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "024 - Disclosure - Leases (Tables)",
     "role": "http://www.rexamerican.com/role/LeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "025 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "026 - Disclosure - Property and Equipment (Tables)",
     "role": "http://www.rexamerican.com/role/PropertyandEquipmentTables",
     "shortName": "Property and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "027 - 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": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "028 - Disclosure - Derivative Financial Instruments (Tables)",
     "role": "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsTables",
     "shortName": "Derivative Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-2",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsPayableRelatedPartiesCurrent",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "002 - Statement - Consolidated Condensed Balance Sheets (Parentheticals)",
     "role": "http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals",
     "shortName": "Consolidated Condensed Balance Sheets (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c4",
      "decimals": "-2",
      "lang": null,
      "name": "rex:CurrentLiabilitiesHeldForSaleRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "029 - Disclosure - Investments (Tables)",
     "role": "http://www.rexamerican.com/role/InvestmentsTables",
     "shortName": "Investments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EquityMethodInvestmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "030 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "031 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "032 - Disclosure - Discontinued Operations (Tables)",
     "role": "http://www.rexamerican.com/role/DiscontinuedOperationsTables",
     "shortName": "Discontinued Operations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "rex:NumberOfConsolidatedSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "033 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c0",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "rex:NumberOfConsolidatedSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "rex:OutboundFreightCharges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "034 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "rex:OutboundFreightCharges",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "035 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InventoryFinishedGoodsNetOfReserves",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "036 - Disclosure - Net Sales and Revenue (Details) - Schedule of Disaggregated Revenue by Product",
     "role": "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable",
     "shortName": "Net Sales and Revenue (Details) - Schedule of Disaggregated Revenue by Product",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c66",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "037 - Disclosure - Leases (Details)",
     "role": "http://www.rexamerican.com/role/LeasesDetails",
     "shortName": "Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OperatingLeaseWeightedAverageRemainingLeaseTerm1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "038 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "003 - Statement - Consolidated Condensed Statement of Operations",
     "role": "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
     "shortName": "Consolidated Condensed Statement of Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CostOfGoodsAndServicesSold",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "039 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "040 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "rex:InvestmentInCooperativeFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "041 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LandAndLandImprovements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "042 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeRelatedLiabilitiesCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "043 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCollateralAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "044 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "045 - Disclosure - Investments (Details)",
     "role": "http://www.rexamerican.com/role/InvestmentsDetails",
     "shortName": "Investments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:RetainedEarningsUndistributedEarningsFromEquityMethodInvestees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "046 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EquityMethodInvestmentOwnershipPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "pure",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c110",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "047 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c110",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Revenues",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "048 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c115",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "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 Condensed Statement of Operations (Parentheticals)",
     "role": "http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals",
     "shortName": "Consolidated Condensed Statement of Operations (Parentheticals)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "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": "c102599_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": "049 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "lang": null,
      "name": "rex:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsWeightedAverageGrantDateFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefit",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "050 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c119",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "051 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationRevenue",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "052 - Disclosure - Discontinued Operations (Details) - Schedule Of Discontinued Items Statement of Operations",
     "role": "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable",
     "shortName": "Discontinued Operations (Details) - Schedule Of Discontinued Items Statement of Operations",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "053 - Disclosure - Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet",
     "role": "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable",
     "shortName": "Discontinued Operations (Details) - Schedule Of Discontinued Items Balance Sheet",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "p",
       "ix:continuation",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c121",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "rex:QuantityOfBushelsUnderForwardPurchaseContract",
      "reportCount": 1,
      "unitRef": "bu",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "054 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c122",
      "decimals": "-5",
      "lang": null,
      "name": "rex:FeesIncurredBySubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CostsAndExpensesRelatedParty",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "055 - 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": "c102599_10q-ixbrl.htm",
      "contextRef": "c126",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:CostsAndExpensesRelatedParty",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c53",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "005 - Statement - Consolidated Condensed Statements of Equity",
     "role": "http://www.rexamerican.com/role/ShareholdersEquityType2or3",
     "shortName": "Consolidated Condensed Statements of Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c53",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "usd",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_10q-ixbrl.htm",
      "contextRef": "c6",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProfitLoss",
      "reportCount": 1,
      "unitRef": "usd",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "006 - Statement - Consolidated Condensed Statements of Cash Flows",
     "role": "http://www.rexamerican.com/role/ConsolidatedCashFlow",
     "shortName": "Consolidated Condensed Statements of Cash Flows",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "c102599_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": "c102599_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": "c102599_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": "c102599_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": "c102599_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": [
      "r465"
     ],
     "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": [
      "r466"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r470"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r468"
     ],
     "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": [
      "r463"
     ],
     "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": [
      "r464"
     ],
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_CashFlowsFromFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowsFromFinancingActivitiesAbstract",
        "terseLabel": "Cash flows from financing activities:"
       }
      }
     },
     "localname": "CashFlowsFromFinancingActivitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CashFlowsFromInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CashFlowsFromInvestingActivitiesAbstract",
        "terseLabel": "Cash flows from investing activities:"
       }
      }
     },
     "localname": "CashFlowsFromInvestingActivitiesAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CommodityFutures": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "CommodityFutures",
        "terseLabel": "Commodity futures"
       }
      }
     },
     "localname": "CommodityFutures",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_CurrentAssetsAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CurrentAssetsAbstract0",
        "terseLabel": "Current assets:"
       }
      }
     },
     "localname": "CurrentAssetsAbstract0",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CurrentLiabilitiesAbstract0": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "CurrentLiabilitiesAbstract0",
        "terseLabel": "Current liabilities:"
       }
      }
     },
     "localname": "CurrentLiabilitiesAbstract0",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_CurrentLiabilitiesHeldForSaleRelatedParties": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "CurrentLiabilitiesHeldForSaleRelatedParties",
        "terseLabel": "Current liabilities held for sale, related parties"
       }
      }
     },
     "localname": "CurrentLiabilitiesHeldForSaleRelatedParties",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet_Parentheticals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_DerivativeFinancialInstrumentsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Financial Instruments (Details) [Line Items]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DerivativeFinancialInstrumentsLossesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "DerivativeFinancialInstrumentsLossesMember",
        "terseLabel": "Derivative financial instruments losses [Member]"
       }
      }
     },
     "localname": "DerivativeFinancialInstrumentsLossesMember",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_DiscontinuedOperationsTablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operations (Tables) [Line Items]"
       }
      }
     },
     "localname": "DiscontinuedOperationsTablesLineItems",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/DiscontinuedOperationsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DiscontinuedOperationsTablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operations (Tables) [Table]"
       }
      }
     },
     "localname": "DiscontinuedOperationsTablesTable",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/DiscontinuedOperationsTables"
     ],
     "xbrltype": "stringItemType"
    },
    "rex_DocumentAndEntityInformationAbstract": {
     "auth_ref": [],
     "localname": "DocumentAndEntityInformationAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_EmployeeBenefitsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefits (Details) [Line Items]"
       }
      }
     },
     "localname": "EmployeeBenefitsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCondensedFinancialStatementsDetails",
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails",
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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"
       }
      }
     },
     "localname": "ForwardPurchaseContractAsset",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_ForwardPurchaseContractsAssetLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "label": "ForwardPurchaseContractsAssetLiabilities",
        "terseLabel": "Forward purchase contracts"
       }
      }
     },
     "localname": "ForwardPurchaseContractsAssetLiabilities",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable",
      "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/DerivativeFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "rex_IncomeTaxesDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Taxes (Details) [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxesDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
        "terseLabel": "Net assets included in discontinued operations"
       }
      }
     },
     "localname": "NetAssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_NumberOfConsolidatedSubsidiaries": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "NumberOfConsolidatedSubsidiaries",
        "terseLabel": "Number of Consolidated Subsidiaries"
       }
      }
     },
     "localname": "NumberOfConsolidatedSubsidiaries",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_OtherMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OtherMember",
        "terseLabel": "Other[Member]"
       }
      }
     },
     "localname": "OtherMember",
     "nsuri": "http://www.rexamerican.com/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_OutboundFreightCharges": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "OutboundFreightCharges",
        "terseLabel": "Outbound Freight Charges"
       }
      }
     },
     "localname": "OutboundFreightCharges",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "presentation": [
      "http://www.rexamerican.com/role/CommitmentsandContingenciesDetails",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails",
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "rex_RelatedPartyTransactionsDetailsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related-Party Transactions (Details) [Line Items]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDetailsLineItems",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfComponentsOfInventoryAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Components of Inventory [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfInventoryAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfDisaggregatedRevenueByProductAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Disaggregated Revenue by Product [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDisaggregatedRevenueByProductAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfDiscontinuedItemsBalanceSheetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Discontinued Items Balance Sheet [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDiscontinuedItemsBalanceSheetAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule Of Discontinued Items Statement of Operations [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfDiscontinuedItemsStatementOfOperationsAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfEquityMethodInvestmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Equity Method Investments [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfEquityMethodInvestmentsAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "xbrltype": "stringItemType"
    },
    "rex_ScheduleOfPropertyAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Property and Equipment [Abstract]"
       }
      }
     },
     "localname": "ScheduleOfPropertyAndEquipmentAbstract",
     "nsuri": "http://www.rexamerican.com/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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/20211031",
     "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": [
      "r232",
      "r236",
      "r266",
      "r267",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r450",
      "r451",
      "r461",
      "r462"
     ],
     "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": [
      "r232",
      "r236",
      "r266",
      "r267",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r450",
      "r451",
      "r461",
      "r462"
     ],
     "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": [
      "r232",
      "r236",
      "r256",
      "r266",
      "r267",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r450",
      "r451",
      "r461",
      "r462"
     ],
     "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": [
      "r232",
      "r236",
      "r256",
      "r266",
      "r267",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r404",
      "r405",
      "r450",
      "r451",
      "r461",
      "r462"
     ],
     "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": [
      "r187"
     ],
     "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": [
      "r74",
      "r132",
      "r388",
      "r389"
     ],
     "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": [
      "r38",
      "r74"
     ],
     "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 $1.7 million and $0.7 million with related parties at October 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": [
      "r31",
      "r54",
      "r181",
      "r182"
     ],
     "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": [
      "r38",
      "r75",
      "r291"
     ],
     "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": [
      "r48",
      "r51",
      "r302",
      "r422",
      "r436"
     ],
     "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": [],
     "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": [
      "r75"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 3.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 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",
        "terseLabel": "Accrued expenses and other current liabilities",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "AccruedLiabilitiesCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet",
      "http://www.rexamerican.com/role/ScheduleofAccruedExpensesandOtherCurrentLiabilitiesTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesForCommissionsExpenseAndTaxes": {
     "auth_ref": [
      "r441"
     ],
     "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": [
      "r37",
      "r38",
      "r75"
     ],
     "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": [
      "r72",
      "r206"
     ],
     "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": [
      "r55"
     ],
     "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": [
      "r135",
      "r136",
      "r137",
      "r284",
      "r285",
      "r286",
      "r354"
     ],
     "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_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r270",
      "r281",
      "r288"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r117",
      "r200",
      "r201"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Amortization of Intangible Assets",
        "terseLabel": "Amortization of operating lease right-of-use assets"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r128",
      "r163",
      "r169",
      "r176",
      "r189",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r336",
      "r340",
      "r363",
      "r392",
      "r394",
      "r421",
      "r435"
     ],
     "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",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsCurrent": {
     "auth_ref": [
      "r32",
      "r33",
      "r84",
      "r128",
      "r189",
      "r221",
      "r222",
      "r223",
      "r224",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r336",
      "r340",
      "r363",
      "r392",
      "r394"
     ],
     "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_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r357"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup": {
     "auth_ref": [
      "r202"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets held-for-sale that are not part of a disposal group.",
        "label": "Assets Held-for-sale, Not Part of Disposal Group",
        "terseLabel": "Assets held for sale"
       }
      }
     },
     "localname": "AssetsHeldForSaleNotPartOfDisposalGroup",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsHeldForSaleNotPartOfDisposalGroupCurrent": {
     "auth_ref": [
      "r202",
      "r394"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 8.0,
       "parentTag": "us-gaap_AssetsCurrent",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets held-for-sale that are not part of a disposal group, expected to be sold within a year or the normal operating cycle, if longer.",
        "label": "Assets Held-for-sale, Not Part of Disposal Group, Current",
        "terseLabel": "Current assets held for sale"
       }
      }
     },
     "localname": "AssetsHeldForSaleNotPartOfDisposalGroupCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/DiscontinuedOperationsTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r22",
      "r26",
      "r209"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as assets attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Assets",
        "totalLabel": "Total Assets"
       }
      }
     },
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r22",
      "r26",
      "r204",
      "r209"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable": {
       "order": 1.0,
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer.",
        "label": "Disposal Group, Including Discontinued Operation, Assets, Current",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r272",
      "r283"
     ],
     "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": [
      "r34",
      "r205"
     ],
     "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": [
      "r29",
      "r68",
      "r119"
     ],
     "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": [
      "r44",
      "r120"
     ],
     "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": [
      "r112",
      "r119",
      "r122"
     ],
     "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",
        "totalLabel": "Total cash, cash equivalents and restricted cash"
       }
      }
     },
     "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": [
      "r112",
      "r364"
     ],
     "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_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations": {
     "auth_ref": [
      "r19",
      "r112"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) of operating activities of discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Cash Provided by (Used in) Operating Activities, Discontinued Operations",
        "terseLabel": "Net cash used in operating activities from discontinued operations"
       }
      }
     },
     "localname": "CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations",
     "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": [
      "r217",
      "r218",
      "r219",
      "r220",
      "r457"
     ],
     "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_CommodityContractMember": {
     "auth_ref": [
      "r257",
      "r350"
     ],
     "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": [
      "r135",
      "r136",
      "r354"
     ],
     "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": [
      "r53",
      "r394"
     ],
     "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": [
      "r254",
      "r255",
      "r268",
      "r290"
     ],
     "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",
      "r133",
      "r331"
     ],
     "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": [
      "r205"
     ],
     "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": [
      "r249",
      "r251"
     ],
     "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": [
      "r249",
      "r251"
     ],
     "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_CostOfGoodsAndServicesSold": {
     "auth_ref": [
      "r101",
      "r407"
     ],
     "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 $22,928 and $16,861 with related parties for the quarters ended October 31, 2021 and 2020, respectively, and $60,311 and $34,021 with related parties for the nine months ended October 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": [
      "r253"
     ],
     "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": [
      "r102"
     ],
     "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": "Net income (loss) from discontinued operations, net of tax, related parties",
        "verboseLabel": "Costs and Expenses, Related Party"
       }
      }
     },
     "localname": "CostsAndExpensesRelatedParty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement_Parentheticals",
      "http://www.rexamerican.com/role/RelatedPartyTransactionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentCollateralAmount": {
     "auth_ref": [
      "r433"
     ],
     "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": [
      "r467",
      "r469"
     ],
     "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": [
      "r117",
      "r129",
      "r312",
      "r320",
      "r321",
      "r322"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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": [
      "r296",
      "r297",
      "r298"
     ],
     "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": [
      "r117",
      "r158"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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": [
      "r85",
      "r86",
      "r87",
      "r362"
     ],
     "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_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r87",
      "r345",
      "r346",
      "r348",
      "r351"
     ],
     "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": [
      "r353",
      "r356"
     ],
     "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": [
      "r85",
      "r86",
      "r87",
      "r362"
     ],
     "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_DiscontinuedOperationTaxEffectOfDiscontinuedOperation": {
     "auth_ref": [
      "r6",
      "r7",
      "r8",
      "r9",
      "r17",
      "r23",
      "r299",
      "r319",
      "r325"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal.",
        "label": "Discontinued Operation, Tax Effect of Discontinued Operation",
        "terseLabel": "Benefit for income taxes",
        "verboseLabel": "Discontinued Operation, Tax Effect of Discontinued Operation"
       }
      }
     },
     "localname": "DiscontinuedOperationTaxEffectOfDiscontinuedOperation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/IncomeTaxesDetails",
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DiscontinuedOperationsAndDisposalGroupsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued Operations and Disposal Groups [Abstract]"
       }
      }
     },
     "localname": "DiscontinuedOperationsAndDisposalGroupsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DiscontinuedOperationsPolicyTextBlock": {
     "auth_ref": [
      "r11",
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for discontinued operations. Includes, but is not limited to, method of interest allocation to a discontinued operation.",
        "label": "Discontinued Operations, Policy [Policy Text Block]",
        "terseLabel": "Discontinued Operations, Policy [Policy Text Block]"
       }
      }
     },
     "localname": "DiscontinuedOperationsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/AccountingPoliciesByPolicy"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayable": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r209"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as accounts payable attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Accounts Payable",
        "terseLabel": "Accounts payable, trade"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationAccountsPayable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r209"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as accrued liabilities attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Accrued Liabilities",
        "terseLabel": "Accrued expenses and other current liabilities"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold": {
     "auth_ref": [
      "r18",
      "r26"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": 2.0,
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of costs of goods sold attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Costs of Goods Sold",
        "terseLabel": "Cost of Sales"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r18"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": 2.0,
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of general and administrative expense attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, General and Administrative Expense",
        "terseLabel": "Selling, general and administrative"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss": {
     "auth_ref": [
      "r18",
      "r26"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": 1.0,
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Gross Profit (Loss)",
        "totalLabel": "Gross loss"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationInventory1": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r209"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as inventory attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Inventory",
        "terseLabel": "Inventory"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationInventory1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherIncome": {
     "auth_ref": [
      "r18"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of other income attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Other Income",
        "totalLabel": "Income before income taxes"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationOtherIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r209"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as prepaid and other assets attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Prepaid and Other Assets",
        "terseLabel": "Prepaid expenses and other"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r209"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable": {
       "order": 2.0,
       "parentTag": "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Property, Plant and Equipment",
        "terseLabel": "Property and equipment, net"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue": {
     "auth_ref": [
      "r18",
      "r26"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": 1.0,
       "parentTag": "us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation.",
        "label": "Disposal Group, Including Discontinued Operation, Revenue",
        "terseLabel": "Sales of products, discontinued operations",
        "verboseLabel": "Net sales and revenue"
       }
      }
     },
     "localname": "DisposalGroupIncludingDiscontinuedOperationRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable",
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock": {
     "auth_ref": [
      "r28",
      "r213"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component.",
        "label": "Disposal Groups, Including Discontinued Operations, Disclosure [Text Block]",
        "terseLabel": "Disposal Groups, Including Discontinued Operations, Disclosure [Text Block]"
       }
      }
     },
     "localname": "DisposalGroupsIncludingDiscontinuedOperationsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DiscontinuedOperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareBasicAndDiluted": {
     "auth_ref": [
      "r148"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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",
        "totalLabel": "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": [
      "r75"
     ],
     "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": [
      "r282"
     ],
     "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": [
      "r282"
     ],
     "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": [
      "r280"
     ],
     "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",
      "r91",
      "r92",
      "r93",
      "r135",
      "r136",
      "r137",
      "r139",
      "r144",
      "r146",
      "r151",
      "r193",
      "r237",
      "r238",
      "r284",
      "r285",
      "r286",
      "r316",
      "r317",
      "r354",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r452",
      "r453",
      "r454",
      "r471"
     ],
     "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": [
      "r96",
      "r111",
      "r117",
      "r443"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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": [
      "r187"
     ],
     "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": [
      "r69",
      "r164",
      "r186"
     ],
     "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": [
      "r190"
     ],
     "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": [
      "r289"
     ],
     "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": [
      "r233",
      "r234",
      "r235",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r265",
      "r358",
      "r396",
      "r397",
      "r398"
     ],
     "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": [
      "r359"
     ],
     "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": [
      "r233",
      "r257",
      "r258",
      "r263",
      "r265",
      "r358",
      "r396"
     ],
     "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": [
      "r233",
      "r234",
      "r235",
      "r257",
      "r258",
      "r263",
      "r265",
      "r358",
      "r397"
     ],
     "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": [
      "r233",
      "r234",
      "r235",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r265",
      "r358",
      "r398"
     ],
     "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": [
      "r233",
      "r234",
      "r235",
      "r257",
      "r258",
      "r259",
      "r260",
      "r261",
      "r262",
      "r263",
      "r265",
      "r396",
      "r397",
      "r398"
     ],
     "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": [
      "r360",
      "r361"
     ],
     "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": [
      "r347"
     ],
     "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",
        "terseLabel": "Total liabilities"
       }
      }
     },
     "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": [
      "r349"
     ],
     "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": [
      "r345"
     ],
     "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_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r117"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment",
        "terseLabel": "Gain on sale of property and equipment \u2013 net"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GrossProfit": {
     "auth_ref": [
      "r99",
      "r128",
      "r163",
      "r168",
      "r172",
      "r175",
      "r177",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r363"
     ],
     "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",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "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_IncomeLossFromContinuingOperations": {
     "auth_ref": [
      "r100",
      "r118",
      "r140",
      "r141",
      "r142",
      "r143",
      "r147",
      "r149",
      "r334"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from continuing operations attributable to the parent.",
        "label": "Income (Loss) from Continuing Operations, Net of Tax, Attributable to Parent",
        "totalLabel": "Net income (loss) attributable to REX common shareholders (continuing operations)"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity": {
     "auth_ref": [
      "r332",
      "r335"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from continuing operations attributable to the noncontrolling interest.",
        "label": "Income (Loss) from Continuing Operations, Net of Tax, Attributable to Noncontrolling Interest",
        "negatedLabel": "Net income attributable to noncontrolling interests (continuing operations)"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsAttributableToNoncontrollingEntity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r95",
      "r163",
      "r168",
      "r172",
      "r175",
      "r177",
      "r420",
      "r429",
      "r431",
      "r447"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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",
        "totalLabel": "Income (loss) before income taxes"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r128",
      "r138",
      "r163",
      "r168",
      "r172",
      "r175",
      "r177",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r335",
      "r355",
      "r363"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperations",
       "weight": 1.0
      }
     },
     "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": "Net income (loss) from continuing operations",
        "totalLabel": "Net income (loss) from continuing operations",
        "verboseLabel": "Income from continuing operations"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest",
     "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/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsPerBasicAndDilutedShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 1.0,
       "parentTag": "us-gaap_EarningsPerShareBasicAndDiluted",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) from continuing operations per each basic and diluted share of common stock or unit when the per share amount is the same for both basic and diluted shares.",
        "label": "Income (Loss) from Continuing Operations, Per Basic and Diluted Share",
        "terseLabel": "Basic and diluted net income (loss) per share from continuing operations attributable to REX common shareholders (in Dollars per share)"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsPerBasicAndDilutedShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r23",
      "r26",
      "r326",
      "r444"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from a discontinued operation including the portion attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.",
        "label": "Income (Loss) from Discontinued Operations, Net of Tax, Including Portion Attributable to Noncontrolling Interest",
        "terseLabel": "Net income (loss) from discontinued operations, net of tax (includes expense of $39 and $(15) with related parties for the quarters ended October 31, 2021 and 2020, respectively and $230 and $(160) with related parties for the nine months ended October 31, 2021 and 2020, respectively)",
        "verboseLabel": "Net income from discontinued operations, net of tax"
       }
      }
     },
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTax",
     "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/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r17",
      "r23",
      "r332",
      "r335"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from a discontinued operation attributable to the noncontrolling interest. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.",
        "label": "Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Noncontrolling Interest",
        "negatedLabel": "Net income attributable to noncontrolling interests (discontinued operations)",
        "negatedTerseLabel": "Net loss attributable to noncontrolling interests"
       }
      }
     },
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity": {
     "auth_ref": [
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r17",
      "r23",
      "r335"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      },
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of income (loss) from a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal.",
        "label": "Income (Loss) from Discontinued Operations, Net of Tax, Attributable to Parent",
        "terseLabel": "Net income (loss) attributable to REX common shareholders (discontinued operations)",
        "totalLabel": "Net income (loss) attributable to REX common shareholders"
       }
      }
     },
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsStatementofOperationsTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare": {
     "auth_ref": [],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement": {
       "order": 2.0,
       "parentTag": "us-gaap_EarningsPerShareBasicAndDiluted",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per basic and diluted share amount, after tax, of income (loss) from the day-to-day business activities of the discontinued operation and gain (loss) from the disposal of the discontinued operation, when the per share amount is the same.",
        "label": "Income (Loss) from Discontinued Operations and Disposal of Discontinued Operations, Net of Tax, Per Basic and Diluted Share",
        "terseLabel": "Basic and diluted net income (loss) per share from discontinued operations attributable to REX common shareholders (in Dollars per share)"
       }
      }
     },
     "localname": "IncomeLossFromDiscontinuedOperationsNetOfTaxPerBasicAndDilutedShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_IncomeLossFromEquityMethodInvestments": {
     "auth_ref": [
      "r96",
      "r117",
      "r160",
      "r186",
      "r428",
      "r443"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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 from equity method investments",
        "terseLabel": "Equity in income 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": [
      "r208",
      "r214"
     ],
     "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": [
      "r214"
     ],
     "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": [
      "r130",
      "r300",
      "r307",
      "r310",
      "r318",
      "r323",
      "r327",
      "r328",
      "r329"
     ],
     "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": [
      "r301"
     ],
     "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": [
      "r131",
      "r145",
      "r146",
      "r161",
      "r299",
      "r319",
      "r324",
      "r448"
     ],
     "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": "(Provision) benefit 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"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAdjustmentOfDeferredTaxAssetLiability": {
     "auth_ref": [
      "r313"
     ],
     "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": [
      "r90",
      "r294",
      "r295",
      "r307",
      "r308",
      "r309",
      "r314"
     ],
     "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": [
      "r114",
      "r121"
     ],
     "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": [
      "r80",
      "r427",
      "r442"
     ],
     "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": [
      "r116"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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": [
      "r116"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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",
        "terseLabel": "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": [
      "r116"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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",
        "terseLabel": "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": [
      "r116"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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",
        "terseLabel": "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": [
      "r116"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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": [
      "r116"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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",
        "terseLabel": "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": [
      "r60",
      "r197"
     ],
     "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": [
      "r30",
      "r82",
      "r394"
     ],
     "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": [
      "r40",
      "r83",
      "r124",
      "r150",
      "r194",
      "r196",
      "r198",
      "r406"
     ],
     "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": [
      "r62",
      "r197"
     ],
     "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": [
      "r61",
      "r197"
     ],
     "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": [
      "r195"
     ],
     "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": [
      "r188",
      "r446"
     ],
     "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": [
      "r184",
      "r185",
      "r191",
      "r192"
     ],
     "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": [
      "r35",
      "r45"
     ],
     "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": [
      "r382",
      "r383"
     ],
     "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": [
      "r382"
     ],
     "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": [
      "r374"
     ],
     "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": [
      "r59",
      "r128",
      "r189",
      "r363",
      "r394",
      "r424",
      "r439"
     ],
     "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": [
      "r76",
      "r128",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r337",
      "r340",
      "r341",
      "r363",
      "r392",
      "r393",
      "r394"
     ],
     "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": [
      "r41",
      "r42",
      "r43",
      "r49",
      "r50",
      "r128",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r337",
      "r340",
      "r341",
      "r363",
      "r392",
      "r393"
     ],
     "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_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r22",
      "r26",
      "r209"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as liabilities attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "LiabilitiesOfDisposalGroupIncludingDiscontinuedOperation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent": {
     "auth_ref": [
      "r3",
      "r4",
      "r20",
      "r22",
      "r26",
      "r204",
      "r209"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer.",
        "label": "Disposal Group, Including Discontinued Operation, Liabilities, Current",
        "negatedLabel": "Total current liabilities"
       }
      }
     },
     "localname": "LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ScheduleOfDiscontinuedItemsBalanceSheetTable"
     ],
     "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": [
      "r34",
      "r205"
     ],
     "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": [
      "r330"
     ],
     "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": [
      "r81",
      "r128",
      "r189",
      "r221",
      "r225",
      "r226",
      "r227",
      "r230",
      "r231",
      "r363",
      "r423",
      "r438"
     ],
     "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": [
      "r238"
     ],
     "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_NetCashProvidedByUsedInDiscontinuedOperations": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in cash associated with the entity's discontinued operations.",
        "label": "Net Cash Provided by (Used in) Discontinued Operations",
        "terseLabel": "Net cash provided by financing activities from discontinued operations"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInDiscontinuedOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r112"
     ],
     "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",
        "totalLabel": "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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) of financing activities, excluding 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, Continuing Operations",
        "totalLabel": "Net cash used in financing activities from continuing operations"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r112"
     ],
     "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": [
      "r112",
      "r115",
      "r118"
     ],
     "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 operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations": {
     "auth_ref": [
      "r112",
      "r115",
      "r118"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, excluding 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, Continuing Operations",
        "totalLabel": "Net cash provided by operating activities from continuing operations"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedCashFlow"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r26",
      "r88",
      "r89",
      "r93",
      "r98",
      "r118",
      "r128",
      "r138",
      "r140",
      "r141",
      "r142",
      "r143",
      "r145",
      "r146",
      "r147",
      "r163",
      "r168",
      "r172",
      "r175",
      "r177",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r355",
      "r363",
      "r430",
      "r445"
     ],
     "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",
        "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_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": [
      "r135",
      "r136",
      "r137",
      "r238",
      "r332"
     ],
     "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": [
      "r275"
     ],
     "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": [
      "r153"
     ],
     "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_OperatingLeaseExpense": {
     "auth_ref": [
      "r377"
     ],
     "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": [
      "r376"
     ],
     "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": [
      "r376"
     ],
     "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": [
      "r376"
     ],
     "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": [
      "r375"
     ],
     "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": [
      "r381",
      "r383"
     ],
     "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": [
      "r380",
      "r383"
     ],
     "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": [
      "r371",
      "r372"
     ],
     "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": [
      "r371",
      "r372"
     ],
     "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": [
      "r371",
      "r372"
     ],
     "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": [
      "r371",
      "r372"
     ],
     "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": [
      "r371",
      "r372"
     ],
     "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": [
      "r371",
      "r372"
     ],
     "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": [
      "r37",
      "r38",
      "r39",
      "r75"
     ],
     "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": [
      "r73"
     ],
     "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": [
      "r36",
      "r37",
      "r75",
      "r394"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedBalanceSheet": {
       "order": 4.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": "Current liabilities held for sale (includes $0.1 million with related parties at 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": [
      "r77"
     ],
     "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": [
      "r104",
      "r106"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 4.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": [
      "r108"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "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": [
      "r105"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 2.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": [
      "r106"
     ],
     "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 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": [
      "r272",
      "r283"
     ],
     "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": [
      "r32",
      "r66",
      "r67"
     ],
     "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": [
      "r107"
     ],
     "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"
       }
      }
     },
     "localname": "ProceedsFromContributionsFromAffiliates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ShareholdersEquityType2or3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIncomeTaxRefunds": {
     "auth_ref": [
      "r115",
      "r121"
     ],
     "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": [
      "r109",
      "r113"
     ],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations",
       "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": [],
     "calculation": {
      "http://www.rexamerican.com/role/ConsolidatedCashFlow": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "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_ProceedsFromSaleOfShortTermInvestments": {
     "auth_ref": [
      "r104"
     ],
     "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": [
      "r26",
      "r88",
      "r89",
      "r93",
      "r110",
      "r128",
      "r138",
      "r145",
      "r146",
      "r163",
      "r168",
      "r172",
      "r175",
      "r177",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r335",
      "r338",
      "r339",
      "r343",
      "r344",
      "r355",
      "r363",
      "r431"
     ],
     "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",
        "verboseLabel": "Net income 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/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": [
      "r72",
      "r207"
     ],
     "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": [
      "r213",
      "r458",
      "r459",
      "r460"
     ],
     "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": [
      "r203"
     ],
     "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": [
      "r71",
      "r205"
     ],
     "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": [
      "r45",
      "r46",
      "r207",
      "r394",
      "r432",
      "r440"
     ],
     "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": [
      "r70",
      "r207",
      "r458",
      "r459"
     ],
     "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": [
      "r45",
      "r207"
     ],
     "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": [
      "r45",
      "r205"
     ],
     "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": [
      "r97"
     ],
     "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": [
      "r264",
      "r386",
      "r387"
     ],
     "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_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": [
      "r264",
      "r386",
      "r389",
      "r408",
      "r409",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414",
      "r415",
      "r416",
      "r417",
      "r418",
      "r419"
     ],
     "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": [
      "r384",
      "r385",
      "r387",
      "r390",
      "r391"
     ],
     "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": [
      "r29",
      "r44",
      "r122"
     ],
     "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": [
      "r56",
      "r238",
      "r287",
      "r394",
      "r437",
      "r455",
      "r456"
     ],
     "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",
      "r135",
      "r136",
      "r137",
      "r139",
      "r144",
      "r146",
      "r193",
      "r284",
      "r285",
      "r286",
      "r316",
      "r317",
      "r354",
      "r452",
      "r454"
     ],
     "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": [
      "r127",
      "r395"
     ],
     "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_RevenueFromContractWithCustomerTextBlock": {
     "auth_ref": [
      "r241",
      "r242",
      "r243",
      "r244",
      "r245",
      "r246",
      "r247",
      "r248",
      "r250",
      "r252"
     ],
     "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": [
      "r125",
      "r126"
     ],
     "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": [
      "r94",
      "r128",
      "r154",
      "r155",
      "r167",
      "r173",
      "r174",
      "r178",
      "r179",
      "r180",
      "r189",
      "r221",
      "r222",
      "r223",
      "r225",
      "r226",
      "r227",
      "r228",
      "r229",
      "r230",
      "r231",
      "r363",
      "r431"
     ],
     "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",
        "verboseLabel": "Sales of products, continuing operations"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/ConsolidatedIncomeStatement",
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable",
      "http://www.rexamerican.com/role/ScheduleofFinancialInformationForEquityMethodInvestmentTable"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability": {
     "auth_ref": [
      "r379",
      "r383"
     ],
     "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 Asset Obtained in Exchange for Operating Lease Liability",
        "terseLabel": "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_ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock": {
     "auth_ref": [
      "r4",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r21",
      "r24",
      "r25",
      "r26",
      "r211",
      "r212"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information related to a disposal group. Includes, but is not limited to, a discontinued operation, disposal classified as held-for-sale or disposed of by means other than sale or disposal of an individually significant component.",
        "label": "Disposal Groups, Including Discontinued Operations [Table Text Block]",
        "terseLabel": "Disposal Groups, Including Discontinued Operations [Table Text Block]"
       }
      }
     },
     "localname": "ScheduleOfDisposalGroupsIncludingDiscontinuedOperationsIncomeStatementBalanceSheetAndAdditionalDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.rexamerican.com/role/DiscontinuedOperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r357",
      "r358"
     ],
     "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": [
      "r373"
     ],
     "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": [
      "r40",
      "r63",
      "r64",
      "r65"
     ],
     "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": [
      "r163",
      "r166",
      "r171",
      "r199"
     ],
     "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/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock": {
     "auth_ref": [
      "r163",
      "r166",
      "r171",
      "r199"
     ],
     "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/NetSalesandRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock": {
     "auth_ref": [
      "r306",
      "r315"
     ],
     "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": [
      "r152",
      "r154",
      "r155",
      "r156",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r162",
      "r163",
      "r164",
      "r165",
      "r167",
      "r168",
      "r169",
      "r170",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r180",
      "r215",
      "r216",
      "r449"
     ],
     "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/DiscontinuedOperationsTables",
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "domainItemType"
    },
    "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/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r103"
     ],
     "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"
       }
      }
     },
     "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": [
      "r292"
     ],
     "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": [
      "r277"
     ],
     "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": [
      "r276"
     ],
     "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": [
      "r278"
     ],
     "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": [
      "r273"
     ],
     "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": [
      "r283"
     ],
     "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": [
      "r269",
      "r274"
     ],
     "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": [
      "r47",
      "r425",
      "r426",
      "r434"
     ],
     "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": [
      "r123",
      "r134"
     ],
     "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": [
      "r10",
      "r152",
      "r154",
      "r155",
      "r156",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r162",
      "r163",
      "r164",
      "r165",
      "r167",
      "r168",
      "r169",
      "r170",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r180",
      "r199",
      "r210",
      "r215",
      "r216",
      "r449"
     ],
     "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/DiscontinuedOperationsTables",
      "http://www.rexamerican.com/role/ScheduleofDisaggregatedRevenuebyProductTable"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r0",
      "r79",
      "r91",
      "r92",
      "r93",
      "r135",
      "r136",
      "r137",
      "r139",
      "r144",
      "r146",
      "r151",
      "r193",
      "r237",
      "r238",
      "r284",
      "r285",
      "r286",
      "r316",
      "r317",
      "r354",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r452",
      "r453",
      "r454",
      "r471"
     ],
     "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": [
      "r135",
      "r136",
      "r137",
      "r151",
      "r407"
     ],
     "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": [
      "r52",
      "r53",
      "r237",
      "r238"
     ],
     "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": [
      "r52",
      "r53",
      "r238",
      "r271",
      "r279"
     ],
     "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": [
      "r53",
      "r57",
      "r58",
      "r128",
      "r183",
      "r189",
      "r363",
      "r394"
     ],
     "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",
      "r92",
      "r128",
      "r135",
      "r136",
      "r137",
      "r139",
      "r144",
      "r189",
      "r193",
      "r238",
      "r284",
      "r285",
      "r286",
      "r316",
      "r317",
      "r332",
      "r333",
      "r342",
      "r354",
      "r363",
      "r365",
      "r366",
      "r370",
      "r453",
      "r454",
      "r471"
     ],
     "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": [
      "r311"
     ],
     "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": [
      "r311"
     ],
     "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": [
      "r352"
     ],
     "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": [
      "r352"
     ],
     "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": [
      "r78",
      "r239"
     ],
     "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": [
      "r53",
      "r237",
      "r238"
     ],
     "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": [
      "r78",
      "r239",
      "r240"
     ],
     "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": [
      "r237",
      "r238",
      "r239"
     ],
     "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": [
      "r293",
      "r303"
     ],
     "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": [
      "r305"
     ],
     "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": [
      "r304"
     ],
     "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": [
      "r378",
      "r383"
     ],
     "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": 9
  }
 },
 "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": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.13)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r101": {
   "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"
  },
  "r102": {
   "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"
  },
  "r103": {
   "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"
  },
  "r104": {
   "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"
  },
  "r105": {
   "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"
  },
  "r106": {
   "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"
  },
  "r107": {
   "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"
  },
  "r108": {
   "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"
  },
  "r109": {
   "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"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r110": {
   "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"
  },
  "r111": {
   "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"
  },
  "r112": {
   "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"
  },
  "r113": {
   "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"
  },
  "r114": {
   "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"
  },
  "r115": {
   "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"
  },
  "r116": {
   "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"
  },
  "r117": {
   "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"
  },
  "r118": {
   "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"
  },
  "r119": {
   "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"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1474-107760"
  },
  "r120": {
   "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"
  },
  "r121": {
   "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"
  },
  "r122": {
   "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"
  },
  "r123": {
   "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"
  },
  "r124": {
   "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"
  },
  "r125": {
   "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"
  },
  "r126": {
   "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"
  },
  "r127": {
   "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"
  },
  "r128": {
   "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"
  },
  "r129": {
   "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"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721659-107760"
  },
  "r130": {
   "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"
  },
  "r131": {
   "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"
  },
  "r132": {
   "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"
  },
  "r133": {
   "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"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r135": {
   "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"
  },
  "r136": {
   "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"
  },
  "r137": {
   "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"
  },
  "r138": {
   "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"
  },
  "r139": {
   "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"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721663-107760"
  },
  "r140": {
   "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"
  },
  "r141": {
   "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"
  },
  "r142": {
   "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"
  },
  "r143": {
   "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"
  },
  "r144": {
   "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"
  },
  "r145": {
   "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"
  },
  "r146": {
   "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"
  },
  "r147": {
   "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"
  },
  "r148": {
   "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"
  },
  "r149": {
   "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"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721665-107760"
  },
  "r150": {
   "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"
  },
  "r151": {
   "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"
  },
  "r152": {
   "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"
  },
  "r153": {
   "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"
  },
  "r154": {
   "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"
  },
  "r155": {
   "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"
  },
  "r156": {
   "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"
  },
  "r157": {
   "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"
  },
  "r158": {
   "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"
  },
  "r159": {
   "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"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721671-107760"
  },
  "r160": {
   "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"
  },
  "r161": {
   "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"
  },
  "r162": {
   "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"
  },
  "r163": {
   "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"
  },
  "r164": {
   "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"
  },
  "r165": {
   "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"
  },
  "r166": {
   "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"
  },
  "r167": {
   "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"
  },
  "r168": {
   "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"
  },
  "r169": {
   "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"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r170": {
   "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"
  },
  "r171": {
   "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"
  },
  "r172": {
   "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"
  },
  "r173": {
   "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"
  },
  "r174": {
   "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"
  },
  "r175": {
   "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"
  },
  "r176": {
   "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"
  },
  "r177": {
   "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"
  },
  "r178": {
   "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"
  },
  "r179": {
   "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"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r180": {
   "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"
  },
  "r181": {
   "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"
  },
  "r182": {
   "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"
  },
  "r183": {
   "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"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "321",
   "URI": "http://asc.fasb.org/topic&trid=75115024"
  },
  "r186": {
   "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"
  },
  "r187": {
   "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"
  },
  "r188": {
   "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"
  },
  "r189": {
   "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"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r190": {
   "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"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "323",
   "URI": "http://asc.fasb.org/topic&trid=2196965"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "325",
   "URI": "http://asc.fasb.org/topic&trid=2197064"
  },
  "r193": {
   "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"
  },
  "r194": {
   "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"
  },
  "r195": {
   "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"
  },
  "r196": {
   "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"
  },
  "r197": {
   "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"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "330",
   "URI": "http://asc.fasb.org/topic&trid=2126998"
  },
  "r199": {
   "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"
  },
  "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": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123398962&loc=d3e400-110220"
  },
  "r203": {
   "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"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123351718&loc=d3e2473-110228"
  },
  "r205": {
   "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"
  },
  "r206": {
   "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"
  },
  "r207": {
   "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"
  },
  "r208": {
   "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"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r210": {
   "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"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=SL51724579-110230"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r214": {
   "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"
  },
  "r215": {
   "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"
  },
  "r216": {
   "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"
  },
  "r217": {
   "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"
  },
  "r218": {
   "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"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r221": {
   "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"
  },
  "r222": {
   "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"
  },
  "r223": {
   "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"
  },
  "r224": {
   "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"
  },
  "r225": {
   "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"
  },
  "r226": {
   "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"
  },
  "r227": {
   "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"
  },
  "r228": {
   "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"
  },
  "r229": {
   "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"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760"
  },
  "r230": {
   "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"
  },
  "r231": {
   "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"
  },
  "r232": {
   "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"
  },
  "r233": {
   "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"
  },
  "r234": {
   "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"
  },
  "r235": {
   "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"
  },
  "r236": {
   "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"
  },
  "r237": {
   "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"
  },
  "r238": {
   "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"
  },
  "r239": {
   "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"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760"
  },
  "r240": {
   "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"
  },
  "r241": {
   "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"
  },
  "r242": {
   "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"
  },
  "r243": {
   "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"
  },
  "r244": {
   "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"
  },
  "r245": {
   "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"
  },
  "r246": {
   "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"
  },
  "r247": {
   "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"
  },
  "r248": {
   "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"
  },
  "r249": {
   "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"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721677-107760"
  },
  "r250": {
   "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"
  },
  "r251": {
   "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"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "606",
   "URI": "http://asc.fasb.org/topic&trid=49130388"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "705",
   "URI": "http://asc.fasb.org/topic&trid=2122478"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "710",
   "URI": "http://asc.fasb.org/topic&trid=2127225"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "712",
   "URI": "http://asc.fasb.org/topic&trid=2197446"
  },
  "r256": {
   "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"
  },
  "r257": {
   "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"
  },
  "r258": {
   "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"
  },
  "r259": {
   "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"
  },
  "r26": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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"
  },
  "r262": {
   "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"
  },
  "r263": {
   "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"
  },
  "r264": {
   "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"
  },
  "r265": {
   "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"
  },
  "r266": {
   "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"
  },
  "r267": {
   "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"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r269": {
   "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"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=26872618&loc=d3e7436-122677"
  },
  "r270": {
   "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"
  },
  "r271": {
   "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"
  },
  "r272": {
   "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"
  },
  "r273": {
   "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"
  },
  "r274": {
   "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"
  },
  "r275": {
   "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"
  },
  "r276": {
   "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"
  },
  "r277": {
   "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"
  },
  "r278": {
   "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"
  },
  "r279": {
   "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"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/subtopic&trid=2122178"
  },
  "r280": {
   "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"
  },
  "r281": {
   "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"
  },
  "r282": {
   "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"
  },
  "r283": {
   "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"
  },
  "r284": {
   "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"
  },
  "r285": {
   "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"
  },
  "r286": {
   "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"
  },
  "r287": {
   "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"
  },
  "r288": {
   "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"
  },
  "r289": {
   "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"
  },
  "r29": {
   "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"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r291": {
   "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"
  },
  "r292": {
   "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"
  },
  "r293": {
   "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"
  },
  "r294": {
   "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"
  },
  "r295": {
   "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"
  },
  "r296": {
   "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"
  },
  "r297": {
   "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"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759"
  },
  "r30": {
   "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"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "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"
  },
  "r303": {
   "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"
  },
  "r304": {
   "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"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "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"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r31": {
   "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"
  },
  "r310": {
   "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"
  },
  "r311": {
   "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"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "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"
  },
  "r315": {
   "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"
  },
  "r316": {
   "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"
  },
  "r317": {
   "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"
  },
  "r318": {
   "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"
  },
  "r319": {
   "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"
  },
  "r32": {
   "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"
  },
  "r320": {
   "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"
  },
  "r321": {
   "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"
  },
  "r322": {
   "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"
  },
  "r323": {
   "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"
  },
  "r324": {
   "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"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=109227538&loc=d3e44648-109337"
  },
  "r327": {
   "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"
  },
  "r328": {
   "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"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r33": {
   "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"
  },
  "r330": {
   "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"
  },
  "r331": {
   "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"
  },
  "r332": {
   "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"
  },
  "r333": {
   "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"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4613673-111683"
  },
  "r335": {
   "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"
  },
  "r336": {
   "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"
  },
  "r337": {
   "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"
  },
  "r338": {
   "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"
  },
  "r339": {
   "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"
  },
  "r34": {
   "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"
  },
  "r340": {
   "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"
  },
  "r341": {
   "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"
  },
  "r342": {
   "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"
  },
  "r343": {
   "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"
  },
  "r344": {
   "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"
  },
  "r345": {
   "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"
  },
  "r346": {
   "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"
  },
  "r347": {
   "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"
  },
  "r348": {
   "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"
  },
  "r349": {
   "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"
  },
  "r35": {
   "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"
  },
  "r350": {
   "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"
  },
  "r351": {
   "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"
  },
  "r352": {
   "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"
  },
  "r353": {
   "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"
  },
  "r354": {
   "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"
  },
  "r355": {
   "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"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r357": {
   "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"
  },
  "r358": {
   "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"
  },
  "r359": {
   "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"
  },
  "r36": {
   "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"
  },
  "r360": {
   "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"
  },
  "r361": {
   "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"
  },
  "r362": {
   "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"
  },
  "r363": {
   "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"
  },
  "r364": {
   "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"
  },
  "r365": {
   "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"
  },
  "r366": {
   "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"
  },
  "r367": {
   "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"
  },
  "r368": {
   "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"
  },
  "r369": {
   "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"
  },
  "r37": {
   "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"
  },
  "r370": {
   "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"
  },
  "r371": {
   "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"
  },
  "r372": {
   "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"
  },
  "r373": {
   "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"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "840",
   "URI": "http://asc.fasb.org/topic&trid=2208923"
  },
  "r375": {
   "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"
  },
  "r376": {
   "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"
  },
  "r377": {
   "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"
  },
  "r378": {
   "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"
  },
  "r379": {
   "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"
  },
  "r38": {
   "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"
  },
  "r380": {
   "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"
  },
  "r381": {
   "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"
  },
  "r382": {
   "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"
  },
  "r383": {
   "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"
  },
  "r384": {
   "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"
  },
  "r385": {
   "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"
  },
  "r386": {
   "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"
  },
  "r387": {
   "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"
  },
  "r388": {
   "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"
  },
  "r389": {
   "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"
  },
  "r39": {
   "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"
  },
  "r390": {
   "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"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r392": {
   "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"
  },
  "r393": {
   "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"
  },
  "r394": {
   "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"
  },
  "r395": {
   "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"
  },
  "r396": {
   "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"
  },
  "r397": {
   "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"
  },
  "r398": {
   "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"
  },
  "r399": {
   "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"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759"
  },
  "r40": {
   "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"
  },
  "r400": {
   "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"
  },
  "r401": {
   "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"
  },
  "r402": {
   "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"
  },
  "r403": {
   "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"
  },
  "r404": {
   "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"
  },
  "r405": {
   "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"
  },
  "r406": {
   "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"
  },
  "r407": {
   "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"
  },
  "r408": {
   "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"
  },
  "r409": {
   "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"
  },
  "r41": {
   "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"
  },
  "r410": {
   "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"
  },
  "r411": {
   "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"
  },
  "r412": {
   "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"
  },
  "r413": {
   "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"
  },
  "r414": {
   "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"
  },
  "r415": {
   "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"
  },
  "r416": {
   "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"
  },
  "r417": {
   "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"
  },
  "r418": {
   "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"
  },
  "r419": {
   "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"
  },
  "r42": {
   "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"
  },
  "r420": {
   "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"
  },
  "r421": {
   "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"
  },
  "r422": {
   "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"
  },
  "r423": {
   "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"
  },
  "r424": {
   "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"
  },
  "r425": {
   "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"
  },
  "r426": {
   "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"
  },
  "r427": {
   "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"
  },
  "r428": {
   "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"
  },
  "r429": {
   "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"
  },
  "r43": {
   "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"
  },
  "r430": {
   "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"
  },
  "r431": {
   "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"
  },
  "r432": {
   "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"
  },
  "r433": {
   "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"
  },
  "r434": {
   "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"
  },
  "r435": {
   "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"
  },
  "r436": {
   "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"
  },
  "r437": {
   "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"
  },
  "r438": {
   "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"
  },
  "r439": {
   "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"
  },
  "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": "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"
  },
  "r441": {
   "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"
  },
  "r442": {
   "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"
  },
  "r443": {
   "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"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r445": {
   "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"
  },
  "r446": {
   "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"
  },
  "r447": {
   "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"
  },
  "r448": {
   "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"
  },
  "r449": {
   "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"
  },
  "r45": {
   "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"
  },
  "r450": {
   "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"
  },
  "r451": {
   "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"
  },
  "r452": {
   "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"
  },
  "r453": {
   "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"
  },
  "r454": {
   "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"
  },
  "r455": {
   "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"
  },
  "r456": {
   "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"
  },
  "r457": {
   "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"
  },
  "r458": {
   "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"
  },
  "r459": {
   "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"
  },
  "r46": {
   "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"
  },
  "r460": {
   "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"
  },
  "r461": {
   "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"
  },
  "r462": {
   "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"
  },
  "r463": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r464": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r465": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r466": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r467": {
   "Name": "Industry Guide",
   "Number": "3",
   "Paragraph": "B",
   "Publisher": "SEC",
   "Section": "II"
  },
  "r468": {
   "Name": "Regulation 12B",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r469": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1403",
   "Subparagraph": "(1)"
  },
  "r47": {
   "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"
  },
  "r470": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r48": {
   "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"
  },
  "r49": {
   "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"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=d3e957-107759"
  },
  "r50": {
   "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"
  },
  "r51": {
   "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"
  },
  "r52": {
   "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"
  },
  "r53": {
   "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"
  },
  "r54": {
   "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"
  },
  "r55": {
   "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"
  },
  "r56": {
   "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"
  },
  "r57": {
   "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"
  },
  "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(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=SL51721523-107759"
  },
  "r60": {
   "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"
  },
  "r61": {
   "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"
  },
  "r62": {
   "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"
  },
  "r63": {
   "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"
  },
  "r64": {
   "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"
  },
  "r65": {
   "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"
  },
  "r66": {
   "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"
  },
  "r67": {
   "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"
  },
  "r68": {
   "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"
  },
  "r69": {
   "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"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=SL51721525-107759"
  },
  "r70": {
   "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"
  },
  "r71": {
   "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"
  },
  "r72": {
   "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"
  },
  "r73": {
   "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"
  },
  "r74": {
   "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"
  },
  "r75": {
   "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"
  },
  "r76": {
   "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"
  },
  "r77": {
   "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"
  },
  "r78": {
   "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"
  },
  "r79": {
   "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"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=d3e1012-107759"
  },
  "r80": {
   "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"
  },
  "r81": {
   "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"
  },
  "r82": {
   "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"
  },
  "r83": {
   "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"
  },
  "r84": {
   "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"
  },
  "r85": {
   "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"
  },
  "r86": {
   "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"
  },
  "r87": {
   "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"
  },
  "r88": {
   "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"
  },
  "r89": {
   "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"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
  },
  "r90": {
   "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"
  },
  "r91": {
   "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"
  },
  "r92": {
   "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"
  },
  "r93": {
   "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"
  },
  "r94": {
   "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"
  },
  "r95": {
   "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"
  },
  "r96": {
   "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"
  },
  "r97": {
   "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"
  },
  "r98": {
   "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"
  },
  "r99": {
   "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"
  }
 },
 "version": "2.1"
}
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>ZIP
<SEQUENCE>73
<FILENAME>0000930413-21-001942-xbrl.zip
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 0000930413-21-001942-xbrl.zip
M4$L#!!0    ( .)\@U,TF6SD>O0  #CU"@ 5    8S$P,C4Y.5\Q,'$M:7AB
M<FPN:'1M[+UM<^+(DBC\^?(K:KT[&]T1PHW$N]WC&XSMGO4^W;87W'O./E].
M""B,3@N)D81M]M??S*J2$""$7D'8.AO;8T"JRLK,RLK,RI>O__=MII,7:MF:
M:?Q^)I_7S@@U1N98,YY_/^L-KN_NSO[O5>7KOU2KY$]J4$MUZ)@,E^3:G,T'
M(XT\6:IA3TQK1CXYL\^D2J:.,[_X\N7U]?5\!,_8(\VBMKFP1M3&+TBU*H:[
MMB@.=D&^61JYH2-2JQ.Y<U'O7C1:Y.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AWX[3@_O&$$W3L18O_Z?U!+ 0(4 Q0    ( .)\@U,T
MF6SD>O0  #CU"@ 5              "  0    !C,3 R-3DY7S$P<2UI>&)R
M;"YH=&U02P$"% ,4    " #B?(-3X4[=,.L(   ^00  $
M@ &M]   8S$P,C4Y.5]E>#,Q+FAT;5!+ 0(4 Q0    ( .)\@U,*#91!A 0
M -,-   0              "  <;]  !C,3 R-3DY7V5X,S(N:'1M4$L! A0#
M%     @ XGR#4Y9W)B ($@  -\<  !               ( !> (! ')E>"TR
M,#(Q,3 S,2YX<V102P$"% ,4    " #B?(-3UAC+!'P/  !/TP  %
M        @ &N% $ <F5X+3(P,C$Q,#,Q7V-A;"YX;6Q02P$"% ,4    " #B
M?(-3#(>"@ITV  !/6 , %               @ %<) $ <F5X+3(P,C$Q,#,Q
M7V1E9BYX;6Q02P$"% ,4    " #B?(-3JL4"*0Q]  "C3@8 %
M    @ $K6P$ <F5X+3(P,C$Q,#,Q7VQA8BYX;6Q02P$"% ,4    " #B?(-3
M]^:9_V W  #3B , %               @ %IV $ <F5X+3(P,C$Q,#,Q7W!R
;92YX;6Q02P4&      @ "  % @  ^P\"

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