<SEC-DOCUMENT>0000930413-17-003184.txt : 20170906
<SEC-HEADER>0000930413-17-003184.hdr.sgml : 20170906
<ACCEPTANCE-DATETIME>20170906155046
ACCESSION NUMBER:		0000930413-17-003184
CONFORMED SUBMISSION TYPE:	10-Q
PUBLIC DOCUMENT COUNT:		72
CONFORMED PERIOD OF REPORT:	20170731
FILED AS OF DATE:		20170906
DATE AS OF CHANGE:		20170906

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

	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>c89279_10q.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY>



<!-- Field: Rule-Page --><DIV ALIGN="LEFT" STYLE="margin-top: 0pt; margin-bottom: 3pt"><DIV STYLE="font-size: 1pt; border-top: Black 4px solid; border-bottom: Black 2px solid; width: 100%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>UNITED STATES<BR>
SECURITIES AND EXCHANGE COMMISSION<BR>
WASHINGTON, D.C. 20549</B></P>

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

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 30%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

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

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

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>(Mark One)</B></P>

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 5%"><FONT STYLE="font-family: Wingdings">x</FONT></TD>
    <TD STYLE="width: 95%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>QUARTERLY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>For the quarterly period ended July 31, 2017</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="font-size: 11pt">&nbsp;</TD>
    <TD STYLE="font-size: 11pt; text-align: center"><FONT STYLE="font: 11pt Times New Roman, Times, Serif"><B>OR</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Wingdings">o</FONT></TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>For the transition period from _________ to _________</B></FONT></TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>Commission File Number 001-09097</B></P>

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

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 30%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>REX AMERICAN RESOURCES CORPORATION</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(Exact name of registrant as specified
in its charter)</B></P>
<P STYLE="font: 3pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 30%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" STYLE="font: 10pt Times New Roman, Times, Serif; width: 70%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 40%; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Delaware</B></FONT></TD>
    <TD STYLE="width: 20%; text-align: center">&nbsp;</TD>
    <TD STYLE="width: 40%; text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>31-1095548</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(State or other jurisdiction of</B></FONT></TD>
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(I.R.S. Employer</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>incorporation or organization)</B></FONT></TD>
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>Identification Number)</B></FONT></TD></TR>

<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD STYLE="text-align: center">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>7720 Paragon Road, Dayton, Ohio</B></FONT></TD>
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>45459</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(Address of principal executive offices)</B></FONT></TD>
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD STYLE="text-align: center"><FONT STYLE="font: 10pt Times New Roman, Times, Serif"><B>(Zip Code)</B></FONT></TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(937) 276-3931</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>(Registrant&rsquo;s telephone number, including
area code)</B></P>

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

<!-- Field: Rule-Page --><DIV ALIGN="CENTER"><DIV STYLE="font-size: 1pt; border-top: Black 1px solid; width: 30%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">Indicate by check mark whether the registrant
(1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding
12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject to such
filing requirements for the past 90 days.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yes
<FONT STYLE="font-family: Wingdings">x</FONT>&nbsp;&nbsp;No <FONT STYLE="font-family: Wingdings">o</FONT></P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">Indicate by check mark whether the registrant
has submitted electronically and posted on its corporate Web site, if any, every Interactive Data File required to be submitted
and posted 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 and post such files). &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Yes
<FONT STYLE="font-family: Wingdings">x</FONT>&nbsp;&nbsp;No <FONT STYLE="font-family: Wingdings">o</FONT></P>

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 65%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Large accelerated filer <FONT STYLE="font-family: Wingdings">o</FONT></FONT></TD>
    <TD STYLE="width: 5%">&nbsp;</TD>
    <TD STYLE="width: 30%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Accelerated filer <FONT STYLE="font-family: Wingdings">x</FONT></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Non-accelerated filer&nbsp;&nbsp;&nbsp;<FONT STYLE="font-family: Wingdings">o</FONT> (Do not check if a
    smaller reporting company)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Smaller reporting company <FONT STYLE="font-family: Wingdings">o</FONT></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif">Emerging growth company <FONT STYLE="font-family: Wingdings">o</FONT></FONT></TD></TR>
</TABLE>
<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">&nbsp;</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify">If an emerging growth company, indicate
by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial
accounting standards provided pursuant to Section 13(a) of the Exchange Act.</P>

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

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">Yes <FONT STYLE="font-family: Wingdings">o</FONT>&nbsp;&nbsp;No
<FONT STYLE="font-family: Wingdings">x</FONT></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 18pt 0pt 0; text-align: justify">At the close of business on September
5, 2017 the registrant had 6,566,769 shares of Common Stock, par value $.01 per share, outstanding.</P>

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

<!-- Field: Rule-Page --><DIV ALIGN="LEFT" STYLE="margin-top: 3pt"><DIV STYLE="font-size: 1pt; border-top: Black 2px solid; border-bottom: Black 4px solid; width: 100%">&nbsp;</DIV></DIV><!-- Field: /Rule-Page -->



<!-- Field: Page; Sequence: 1 -->
    <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%">&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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</P>

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 10%">&nbsp;</TD>
    <TD STYLE="width: 82%">&nbsp;</TD>
    <TD STYLE="width: 3%; text-align: center">&nbsp;</TD>
    <TD STYLE="width: 5%; text-align: center"><FONT STYLE="font-family: Times New Roman, Times, Serif">Page</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a001"><FONT STYLE="font-family: Times New Roman, Times, Serif">PART I.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a001"><FONT STYLE="font-family: Times New Roman, Times, Serif">FINANCIAL INFORMATION</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a002"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 1.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a002"><FONT STYLE="font-family: Times New Roman, Times, Serif">Financial Statements</FONT></A><FONT STYLE="font-family: Times New Roman, Times, Serif"> </FONT></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c89279a003"><FONT STYLE="font-family: Times New Roman, Times, Serif">Consolidated Condensed Balance Sheets</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">3</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c89279a004"><FONT STYLE="font-family: Times New Roman, Times, Serif">Consolidated Condensed Statements of Operations</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">4</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c89279a005"><FONT STYLE="font-family: Times New Roman, Times, Serif">Consolidated Condensed Statements of Equity</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">5</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c89279a006"><FONT STYLE="font-family: Times New Roman, Times, Serif">Consolidated Condensed Statements of Cash Flows</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">6</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><A HREF="#x1_c89279a007"><FONT STYLE="font-family: Times New Roman, Times, Serif">Notes to Consolidated Condensed Financial Statements</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">7</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a008"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 2.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a008"><FONT STYLE="font-family: Times New Roman, Times, Serif">Management&rsquo;s Discussion and Analysis of Financial Condition and Results of Operations</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">20</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a009"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 3.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a009"><FONT STYLE="font-family: Times New Roman, Times, Serif">Quantitative and Qualitative Disclosures About Market Risk</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">28</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a010"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 4.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a010"><FONT STYLE="font-family: Times New Roman, Times, Serif">Controls and Procedures</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">29</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a011"><FONT STYLE="font-family: Times New Roman, Times, Serif">PART II.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a011"><FONT STYLE="font-family: Times New Roman, Times, Serif">OTHER INFORMATION</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a012"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 1.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a012"><FONT STYLE="font-family: Times New Roman, Times, Serif">Legal Proceedings</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">29</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a013"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 1A.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a013"><FONT STYLE="font-family: Times New Roman, Times, Serif">Risk Factors</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">30</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a014"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 2.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a014"><FONT STYLE="font-family: Times New Roman, Times, Serif">Unregistered Sales of Equity Securities and Use of Proceeds</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">32</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a015"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 3.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a015"><FONT STYLE="font-family: Times New Roman, Times, Serif">Defaults upon Senior Securities</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">32</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a016"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 4.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a016"><FONT STYLE="font-family: Times New Roman, Times, Serif">Mine Safety Disclosures</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">32</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a017"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 5.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a017"><FONT STYLE="font-family: Times New Roman, Times, Serif">Other Information</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">32</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><A HREF="#x1_c89279a018"><FONT STYLE="font-family: Times New Roman, Times, Serif">Item 6.</FONT></A></TD>
    <TD><A HREF="#x1_c89279a018"><FONT STYLE="font-family: Times New Roman, Times, Serif">Exhibits</FONT></A></TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">32</FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 2; Options: NewSection; Value: 2 -->
    <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 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-align: center"><B><A NAME="x1_c89279a001"></A>PART I. FINANCIAL INFORMATION</B></P>

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

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c89279a002"></A>Item 1. <I>Financial Statements</I></B></P>

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

<P STYLE="font: bold 10pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a003"></A>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Consolidated Condensed Balance Sheets</B></P>

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

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt"></TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">(In Thousands)</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Assets</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Current assets:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 70%; text-align: left; padding-left: 20pt; text-indent: -10pt">Cash and cash equivalents</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">185,997</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">188,576</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Restricted cash</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">379</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">130</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts receivable</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10,938</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">11,901</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 20pt; text-indent: -10pt">Inventory</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">22,091</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">17,057</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Refundable income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,527</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,070</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Prepaid expenses and other</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,535</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,959</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Deferred taxes, net</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">824</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 30pt; text-indent: -10pt">Total current assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">228,467</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">226,517</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Property and equipment, net</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">187,545</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">182,761</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Other assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,720</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,913</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Equity method investments</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">36,665</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">37,833</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 20pt; text-indent: -10pt">Total assets</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">459,397</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">454,024</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Liabilities and equity:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Current liabilities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Accounts payable, trade</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">11,251</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">9,171</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Accrued expenses and other current liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">7,442</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">13,348</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 30pt; text-indent: -10pt">Total current liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">18,693</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">22,519</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Long-term liabilities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">Deferred taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">40,848</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">41,135</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Other long-term liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">2,260</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">2,096</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 30pt; text-indent: -10pt">Total long-term liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">43,108</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">43,231</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Equity:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 20pt; text-indent: -10pt">REX shareholders&rsquo; equity:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 40pt; text-indent: -10pt">Common stock</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">299</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">299</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 40pt; text-indent: -10pt">Paid-in capital</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">146,851</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">145,767</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 40pt; text-indent: -10pt">Retained earnings</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">515,692</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">508,207</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 40pt; text-indent: -10pt">Treasury stock</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(313,658</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(313,838</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 50pt; text-indent: -10pt">Total REX shareholders&rsquo; equity</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">349,184</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">340,435</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Noncontrolling interests</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">48,412</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">47,839</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 20pt; text-indent: -10pt">Total equity</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">397,596</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">388,274</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 20pt; text-indent: -10pt">Total liabilities and equity</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">459,397</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">454,024</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

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



<!-- Field: Page; Sequence: 3; Value: 2 -->
    <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 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"><A NAME="x1_c89279a004"></A><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Consolidated Condensed Statements of Operations</B></P>

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

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">Three Months<BR> Ended<BR> July 31,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">Six Months<BR> Ended<BR> July 31,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="14" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="14" STYLE="text-align: center">(In Thousands, Except Per Share Amounts)</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net sales and revenue</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">108,744</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">115,707</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">221,887</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">215,929</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Cost of sales</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">97,963</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">98,423</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">198,617</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">190,223</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Gross profit</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">10,781</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">17,284</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,270</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">25,706</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Selling, general and administrative expenses</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,779</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(5,206</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(10,181</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(9,233</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">Equity in income of unconsolidated affiliates</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">137</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,186</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">837</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,419</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">(Loss) gain on sale of investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(13</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(13</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">192</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Gain on disposal of property and equipment, net</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">13</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">185</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">13</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">185</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Interest and other income</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">334</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">97</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">549</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">257</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Income before income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,473</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">13,546</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">14,475</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">18,526</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Provision for income taxes</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,302</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(4,517</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(4,692</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(6,031</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-left: 10pt; text-indent: -10pt">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,171</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,029</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,783</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">12,495</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net income attributable to noncontrolling interests</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,230</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(853</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,298</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,481</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: 3px; padding-left: 10pt; text-indent: -10pt">Net income attributable to REX common shareholders</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">2,941</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">8,176</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">7,485</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">11,014</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Weighted average shares outstanding &ndash; basic and diluted</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,593</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,586</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,592</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,590</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</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 per share attributable to REX common shareholders</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">0.45</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1.24</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1.14</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1.67</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

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

<!-- Field: Page; Sequence: 4; Value: 2 -->
    <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 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"><A NAME="x1_c89279a005"></A><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 10pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Consolidated Condensed Statements of Equity</B></P>

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

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

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 8pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="23" STYLE="text-align: center; border-bottom: Black 1px solid">REX Shareholders</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Common Shares</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">Issued</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">Treasury</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">Paid-in</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">Retained</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">Noncontrolling</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">Total</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Shares</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Amount</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Shares</TD>
    <TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="border-bottom: Black 1px solid; text-align: center">Amount</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Capital</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Earnings</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Interests</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD><TD STYLE="padding-bottom: 1px; text-align: center">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Equity</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 28%">Balance at January 31, 2017</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 5%; text-align: right">29,853</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">299</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 5%; text-align: right">23,292</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">(313,838</TD><TD STYLE="width: 1%; text-align: left">)</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">145,767</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">508,207</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">47,839</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 2%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 5%; text-align: right">388,274</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">7,485</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,298</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,783</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Issuance of equity awards and stock based compensation
    expense</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(5</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">180</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,084</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,264</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">Noncontrolling interests distribution
    and other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,725</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,725</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px">Balance at July 31, 2017</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">29,853</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">299</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">23,287</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">(313,658</TD><TD STYLE="padding-bottom: 3px; text-align: left">)</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">146,851</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">515,692</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">48,412</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">397,596</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD></TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Balance at January 31, 2016</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">29,853</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">299</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,204</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">(309,754</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">144,844</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">475,874</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">44,496</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">355,759</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">11,014</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,481</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">12,495</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Treasury stock acquired</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">88</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,353</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,353</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left">Stock based compensation expense</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">258</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">877</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,135</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px">Noncontrolling interests distribution
    and other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,096</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(2,096</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px">Balance at July 31, 2016</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">29,853</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">299</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">23,292</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">(313,849</TD><TD STYLE="padding-bottom: 3px; text-align: left">)</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">145,721</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">486,888</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">43,881</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">362,940</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

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

<!-- Field: Page; Sequence: 5; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a006"></A><B>REX AMERICAN RESOURCES CORPORATION AND SUBSIDIARIES</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Consolidated Condensed Statements of Cash Flows</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Unaudited</B></P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 100%; font: 10pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; border-bottom: Black 1px solid">Six Months Ended<BR> July 31,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: center; padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: center; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">(In Thousands)</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from operating activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="width: 70%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net income including noncontrolling interests</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">9,783</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">12,495</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 10pt">Adjustments to reconcile net income to net cash provided
    by operating activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Depreciation and amortization</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,955</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,748</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Income from equity method investments</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(837</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(1,419</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Dividends received from equity method investee</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,005</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,504</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Gain on disposal of real estate and property and equipment, net</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(13</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(185</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Loss (gain) on sale of investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">13</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(192</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: -10pt; padding-left: 20pt">Deferred income tax</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">537</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Stock based compensation expense</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">350</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">40</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Changes in assets and liabilities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Accounts receivable</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">886</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(4,250</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-indent: -10pt; padding-left: 20pt">Inventories</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(5,034</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(6,455</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Other assets</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(953</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,989</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Accounts payable, trade</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,678</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(3,087</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Other liabilities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(4,828</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">169</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash provided by operating activities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">13,542</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">11,357</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from investing activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Capital expenditures</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(14,366</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(9,334</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Restricted cash</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(249</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(56</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: -10pt; padding-left: 20pt">Restricted investments and deposits</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">100</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">409</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Proceeds from sale of investment</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">64</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,275</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Proceeds from sale of real estate and property and equipment, net</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">42</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,028</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">13</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">12</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Net cash used in investing activities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(14,396</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(5,666</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Cash flows from financing activities:</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; text-indent: -10pt; padding-left: 20pt">Dividend payments to and purchases of stock from noncontrolling interests holders</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(1,725</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(2,096</TD><TD STYLE="text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; text-indent: -10pt; padding-left: 20pt">Treasury stock acquired</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(4,709</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; padding-left: 10pt; text-indent: -10pt">Net cash used in financing activities</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(1,725</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(6,805</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Net decrease in cash and cash equivalents</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(2,579</TD><TD STYLE="text-align: left">)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">(1,114</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-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Cash and cash equivalents, beginning of period</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">188,576</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">135,765</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Cash and cash equivalents, end of period</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">185,997</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">134,651</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash investing activities &ndash; Accrued capital expenditures</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">744</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1,350</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash financing activities &ndash; Stock awards accrued</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">281</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</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">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non cash financing activities &ndash; Stock awards issued</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1,195</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1,095</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

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

<!-- Field: Page; Sequence: 6; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><A NAME="x1_c89279a007"></A><B>REX AMERICAN RESOURCES CORPORATION AND
SUBSIDIARIES</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>NOTES TO UNAUDITED CONSOLIDATED CONDENSED
FINANCIAL STATEMENTS</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>July 31, 2017</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"><B>Note 1. <I>Consolidated Condensed Financial Statements</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The consolidated condensed financial statements
included in this report have been prepared by the Company, without audit, pursuant to the rules and regulations of the Securities
and Exchange Commission and include, in the opinion of management, all adjustments necessary to state fairly the information set
forth therein. Any such adjustments were of a normal recurring nature. Certain information and footnote disclosures normally included
in financial statements prepared in accordance with accounting principles generally accepted in the United States of America have
been omitted pursuant to such rules and regulations, although the Company believes that the disclosures are adequate to make the
information presented not misleading. Financial information as of January 31, 2017 included in these financial statements has been
derived from the audited consolidated financial statements included in the Company&rsquo;s Annual Report on Form 10-K for the year
ended January 31, 2017 (fiscal year 2016). 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&rsquo;s Annual Report on
Form 10-K for the year ended January 31, 2017. The results of operations for the interim periods are not necessarily indicative
of the results to be expected for the year.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">Basis
of Consolidation &ndash; The consolidated condensed financial statements in this report include the operating results and financial
position of REX American Resources Corporation and its wholly and majority owned subsidiaries. All intercompany balances and transactions
have been eliminated. The Company includes the results of operations of One Earth Energy, LLC (&ldquo;One Earth&rdquo;) in its
Consolidated Condensed Statements of Operations on a delayed basis of one month.</FONT></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Nature of Operations &ndash; The Company
operates in one reportable segment, alternative energy, and has equity investments in three ethanol limited liability companies,
two of which are majority ownership interests.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 2. <I>Accounting Policies</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&rsquo;s fiscal year 2016 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>

<!-- Field: Page; Sequence: 7; Value: 2 -->
    <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 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: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, 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: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales </P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges.</P>

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

<P STYLE="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Selling, General and Administrative Expenses</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.</FONT></P>

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

<P STYLE="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0in">Financial Instruments</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &ldquo;normal purchases and normal
sales&rdquo; scope exemption of Accounting Standards Codification (&ldquo;ASC&rdquo;) 815, &ldquo;<I>Derivatives and Hedging</I>&rdquo;
(&ldquo;ASC 815&rdquo;) 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. During fiscal year 2015, the Company began to carry
a portion of its forward grain purchase contracts at fair value.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating results. The Company may
take hedging positions in these commodities as one way to mitigate risk. While the Company attempts to link its hedging activities
to purchase and sales activities, there are situations in which these hedging activities can themselves result in losses. The Company
does not hold or issue derivative financial instruments for trading or speculative purposes. The changes in fair value of these
derivative financial instruments are recognized in current period earnings as the Company does not use hedge accounting.</P>

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

<P STYLE="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Income Taxes</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company applies an effective tax rate
to interim periods that is consistent with the Company&rsquo;s estimated annual tax rate as adjusted for discrete items impacting
the interim periods. The Company&rsquo;s estimated annual tax rate does not reflect the impact of its refined coal operation and
the expected federal income tax credits to be earned beginning in the third quarter of fiscal year 2017 (see Note 16). 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</P>

<!-- Field: Page; Sequence: 8; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">respective tax basis and operating loss and tax credit carryforwards.
The Company provides for a valuation allowance if, based on the weight of available 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 approximately $6.5 million and $1.0 million
during the six months ended July 31, 2017 and 2016, respectively. The Company received no refunds of income taxes during the six
months ended July 31, 2017 and 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As of July 31, 2017 and January 31, 2017,
total unrecognized tax benefits were approximately $2.0 million and $1.9 million, respectively. Accrued penalties and interest
were approximately $0.3 million and $0.2 million at July 31, 2017 and January 31, 2017, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $1.3 million. In addition,
the impact of penalties and interest would also benefit the effective tax rate. Interest and penalties associated with unrecognized
tax benefits are recorded within income tax expense. On a quarterly basis, the Company accrues for the effects of open uncertain
tax positions and the related potential penalties and interest.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Inventories</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently 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. There were no significant permanent write-downs of inventory
at July 31, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Ethanol and other finished goods</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">4,302</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">5,262</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Work in process</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,074</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,359</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Grain and other raw materials</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">14,715</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">9,436</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">22,091</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">17,057</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Property and Equipment </B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Property and equipment is recorded at cost.
Depreciation is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements,
and 2 to 20 years for fixtures and equipment.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In accordance with ASC 360-10 &ldquo;<I>Impairment
or Disposal of Long-Lived Assets</I>&rdquo;, 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, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first six months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the</P>

<!-- Field: Page; Sequence: 9; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">Company&rsquo;s management performing cash flow analysis and
have represented management&rsquo;s estimate of the excess of net book value over fair value.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company tests for recoverability
of an asset group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an
asset group exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by
which the asset group&rsquo;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of
the asset group using a discounted cash flow model based on market participant assumptions (for income producing asset groups)
or by obtaining appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Investments </B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen Energy, LLC (&ldquo;NuGen&rdquo;). The results of One Earth are included on a delayed basis of
one month lag as One Earth has a fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there
is no lag in reporting the results of NuGen. 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, &ldquo;<I>Investments-Equity
Method and Joint Ventures</I>&rdquo; 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. Any unallocated excess is treated as goodwill and is recorded
as a component of the carrying value of the equity method investee. Investments in businesses that the Company does not control
but for which it has the ability to exercise significant influence over operating and financial matters are accounted for using
the equity method. The Company accounts for its investment in Big River Resources, LLC (&ldquo;Big River&rdquo;) using the equity
method of accounting and includes the results on a delayed basis of one month as Big River has a fiscal year end of December 31.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Comprehensive Income</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Accounting Changes and Recently Issued Accounting Standards
</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In March 2016, the Financial Accounting Standards
Board (&ldquo;FASB&rdquo;) issued Accounting Standards Update (&ldquo;ASU&rdquo;) 2016-09, &ldquo;<I>Improvements to Employee Share-Based
Payment Accounting</I>&rdquo; (&ldquo;ASU 2016-09&rdquo;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures,</P>

<!-- Field: Page; Sequence: 10; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">and cash flow considerations related to share-based compensation.
The Company adopted this standard February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&rsquo;s consolidated
financial statements and related disclosures.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In February 2016, the FASB issued ASU 2016-02
&ldquo;<I>Leases</I>&rdquo;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company will be required to adopt the
amended guidance in ASC Topic 606 &ldquo;<I>Revenue from Contracts with Customers</I>&rdquo;, which requires revenue recognition
to reflect the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated
standard permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required
adoption of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company is progressing in its evaluation
of adopting this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial
statements with respect to measurement and recognition of revenue. The Company expects to adopt this guidance using the modified
prospective method. The Company is still evaluating the impact of adopting this guidance on disclosures in the consolidated financial
statements.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In November 2015, the FASB issued ASU 2015-17
&ldquo;<I>Balance Sheet Classification of Deferred Taxes</I>&rdquo;, (&ldquo;ASU 2015-17&rdquo;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 3. <I>Leases</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2017, the Company has lease agreements,
as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table
is a summary of future minimum rentals on such leases (amounts in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 50%; font: 12pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; border-bottom: Black 1px solid">Years Ended January 31,</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">Minimum<BR> Rentals</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 50%; padding-left: 10pt; text-indent: -10pt">Remainder of 2018</TD><TD STYLE="width: 30%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 18%; text-align: right">3,556</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">2019</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">6,910</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">2020</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">5,379</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">2021</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,580</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">2022</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,948</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Thereafter</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">1,622</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">23,995</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 11; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 4. <I>Fair Value</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><FONT STYLE="color: black">The Company applies
ASC 820, &ldquo;<I>Fair Value Measurements and Disclosures&rdquo;</I>, (&ldquo;ASC 820&rdquo;) which provides a framework for measuring
fair value under </FONT>accounting principles generally accepted in the United States of America<FONT STYLE="color: black">. 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.</FONT></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determines the fair market values
of its financial instruments based on the fair value hierarchy established by ASC 820 which requires an entity to maximize the
use of observable inputs and minimize the use of unobservable inputs when measuring fair value. The standard describes three levels
of inputs that may be used to measure fair values which are provided below. The Company carries certain cash equivalents, investments
and derivative instruments at fair value.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The fair values of derivative assets and
liabilities traded in the over-the-counter market are determined using quantitative models that require the use of multiple market
inputs including interest rates, prices and indices to generate pricing and volatility factors, which are used to value the position.
The predominance of market inputs are actively quoted and can be validated through external sources, including brokers, market
transactions and third-party pricing services. Estimation risk is greater for derivative asset and liability positions that are
either option-based or have longer maturity dates where observable market inputs are less readily available or are unobservable,
in which case interest rate, price or index scenarios are extrapolated in order to determine the fair value. The fair values of
derivative assets and liabilities include adjustments for market liquidity, counterparty credit quality, the Company&rsquo;s own
credit standing and other specific factors, where appropriate. The fair values of property and equipment are determined by using
various models that discount future expected cash flows.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2017 are summarized below (amounts in thousands):</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</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="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Level 1</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Level 2</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Level 3</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">-</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">136</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">-</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">136</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Forward purchase contract asset (4)</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">-</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">237</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">-</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">237</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Investment in cooperative (2)</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total assets</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">373</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">706</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Forward purchase contract liability (3)</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">158</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">158</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 12; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Financial assets and liabilities measured
at fair value on a recurring basis at January 31, 2017 are summarized below (amounts in thousands):</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</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="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Level 1</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Level 2</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Level 3</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">-</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">45</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">-</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD><TD STYLE="width: 3%; color: black">&nbsp;</TD>
    <TD STYLE="width: 1%; color: black; text-align: left">$</TD><TD STYLE="width: 10%; color: black; text-align: right">45</TD><TD STYLE="width: 1%; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Forward purchase contract asset (4)</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">-</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">163</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">-</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black">&nbsp;</TD>
    <TD STYLE="color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; text-align: right">163</TD><TD STYLE="color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Investment in cooperative (2)</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; color: black; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 1px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total assets</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">208</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">333</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">541</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: right">&nbsp;</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Forward purchase contract liability (3)</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">136</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">-</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD><TD STYLE="color: black; padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; color: black; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; color: black; text-align: right">136</TD><TD STYLE="padding-bottom: 3px; color: black; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) Commodity futures are included in &ldquo;Prepaid
expenses and other current assets&rdquo; on the accompanying Consolidated Condensed Balance Sheets.</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(2) The investment in cooperative is included
in &ldquo;Other assets&rdquo; on the accompanying Consolidated Condensed Balance Sheets.</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(3) The forward purchase contract liability
is included in &ldquo;Accrued expenses and other current liabilities&rdquo; on the accompanying Consolidated Condensed Balance
Sheets.</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(4) The forward purchase contract asset is
included in &ldquo;Prepaid expenses and other current assets&rdquo; on the accompanying Consolidated Condensed Balance Sheets.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined the fair value of
the investment in cooperative by using a discounted cash flow analysis on the expected cash flows. Inputs used in the analysis
include the face value of the allocated equity amount, the projected term for repayment based upon a historical trend, and a risk
adjusted discount rate based on the expected compensation participants would demand because of the uncertainty of the future cash
flows. The inherent risk and uncertainty associated with unobservable inputs could have a significant effect on the actual fair
value of the investment.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There were no assets measured at fair value
on a non-recurring basis at July 31, 2017 or January 31, 2017.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 5. <I>Property and Equipment</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of property and equipment
are as follows for the periods presented (amounts in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Land and improvements</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">20,965</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">20,951</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Buildings and improvements</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,259</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">23,203</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Machinery, equipment and fixtures</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">261,772</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">255,348</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Construction in progress</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">9,359</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">1,046</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">315,355</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">300,548</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Less:&nbsp;&nbsp;accumulated depreciation</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(127,810</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">(117,787</TD><TD STYLE="padding-bottom: 1px; text-align: left">)</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">187,545</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">182,761</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 13; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 6. <I>Other Assets</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of other assets are as follows
for the periods presented (amounts in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Real estate taxes refundable</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">5,923</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">5,923</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Deposits</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">55</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">155</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">742</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">835</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,720</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">6,913</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Real estate taxes refundable represent amounts
due One Earth associated with refunds of previously paid taxes in connection with a tax increment financing arrangement with local
taxing authorities. Deposits are with utility and other vendors.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 7. <I>Accrued Expenses and Other Current Liabilities</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued utility charges</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">2,088</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">2,414</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued payroll and related items</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,344</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,279</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued real estate taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,049</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,716</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued income taxes</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">37</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,120</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">2,924</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">1,819</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">7,442</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">13,348</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 8. <I>Revolving Lines of Credit</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. During the second quarter of fiscal year
2017, One Earth and NuGen renewed the revolving loan facilities, which now mature June 1, 2018. Neither One Earth nor NuGen had
outstanding borrowings on the revolving loans during the six months ended July 31, 2017 and 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 9. <I>Derivative Financial Instruments</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company is exposed to various market
risks, including changes in commodity prices (raw materials and finished goods). To manage risks associated with the volatility
of these natural business exposures, the Company enters into commodity agreements and forward purchase (corn) and 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</P>

<!-- Field: Page; Sequence: 14; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">derivative financial instruments for which a lack of marketplace
quotations would require the use of fair value estimation techniques.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table provides information
about the fair values of the Company&rsquo;s derivative financial instruments (that are not accounted for under the &ldquo;normal
purchases and normal sales&rdquo; scope exemption of ASC 815) and the line items on the Consolidated Condensed Balance Sheets in
which the fair values are reflected (in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif; margin-left: 23.75pt">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; padding-bottom: 1px">Asset Derivatives<BR> Fair Value</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center; padding-bottom: 1px">Liability Derivatives<BR> Fair Value</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">July 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">January 31,<BR> 2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="text-align: justify; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; text-align: justify; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">136</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">45</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">-</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">-</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Forward purchase contracts (2)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">237</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">163</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">158</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">136</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: justify; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">373</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">208</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">158</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">136</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(1) Commodity futures are included
in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million
bushels of corn at July 31, 2017 and January 31, 2017, respectively.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued
expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels
of corn at July 31, 2017 and January 31, 2017, respectively.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As of July 31, 2017, all of the derivative
financial instruments held by the Company were subject to enforceable master netting arrangements. The Company&rsquo;s accounting
policy is to offset positions amounts owed or owing with the same counterparty. As of July 31, 2017, 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&rsquo;s derivative contract position. As of July 31, 2017, the Company was required to maintain collateral with the
counterparty in the amount of approximately $379,000 to secure the Company&rsquo;s derivative liability position.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 4 which contains fair value information
related to derivative financial instruments.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gains on the Company&rsquo;s derivative financial
instruments of approximately $853,000 and $1,136,000 for the second quarters of fiscal years 2017 and 2016, respectively, were
included in cost of sales on the Consolidated Condensed Statements of Operations. Gains on the Company&rsquo;s derivative financial
instruments of approximately $977,000 and $1,625,000 for the first six months of fiscal years 2017 and 2016, respectively, were
included in cost of sales on the Consolidated Condensed Statements of Operations.</P>

<!-- Field: Page; Sequence: 15; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 10. <I>Investments </I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes the Company&rsquo;s
equity method investment at July 31, 2017 and January 31, 2017 (dollars in thousands):</P>

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 30%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid"><FONT STYLE="font-family: Times New Roman, Times, Serif">Entity</FONT></TD>
    <TD STYLE="width: 10%; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="width: 10%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid"><FONT STYLE="font-family: Times New Roman, Times, Serif">Ownership</FONT><BR>
<FONT STYLE="font-family: Times New Roman, Times, Serif">Percentage</FONT></TD>
    <TD STYLE="width: 10%; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid"><FONT STYLE="font-family: Times New Roman, Times, Serif">Carrying&nbsp;Amount</FONT><BR>
<FONT STYLE="font-family: Times New Roman, Times, Serif">July 31, 2017</FONT></TD>
    <TD STYLE="width: 10%; padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid"><FONT STYLE="font-family: Times New Roman, Times, Serif">Carrying&nbsp;Amount</FONT><BR>
<FONT STYLE="font-family: Times New Roman, Times, Serif">January&nbsp;31,&nbsp;2017</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: center">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Big River </FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">9.7%</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">$36,665</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">$37,833</FONT></TD></TR>
</TABLE>
<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Undistributed earnings of the Company&rsquo;s
equity method investee totaled approximately $16.6 million and $17.8 million at July 31, 2017 and January 31, 2017, respectively.
The Company received dividends from its equity method investee of approximately $2.0 million and $1.5 million during the first
six months of fiscal years 2017 and 2016, respectively.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Summarized financial information for the
Company&rsquo;s equity method investee is presented in the following table for the periods presented (amounts in thousands):</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</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="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended<BR> July 31,</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Six Months Ended<BR> July 31,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net sales and revenue</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">212,070</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">210,974</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">404,569</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">394,545</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Gross profit</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">11,582</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">17,057</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">19,764</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">22,928</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Income from continuing operations</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">1,411</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">12,216</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,618</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">14,620</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">1,411</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">12,216</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">8,618</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">14,620</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Big River has debt agreements that limit
amounts Big River can pay in the form of dividends or advances to owners. The restricted net assets of Big River at July 31, 2017
and January 31, 2017 are approximately $279.5 million and $278.7 million, respectively.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On June 1, 2015, Patriot Holdings, LLC (&ldquo;Patriot&rdquo;)
and a subsidiary of CHS Inc. (&ldquo;CHS&rdquo;) completed a merger that resulted in CHS acquiring 100% of the ownership interest
in Patriot. During the first quarter of fiscal year 2016, the Company received proceeds of approximately $2.3 million as partial
payment for certain escrow holdbacks and adjustments to the purchase price. As a result, the Company recognized approximately $0.2
million as gain on sale of investment during the first quarter of fiscal year 2016. The Company does not expect any further proceeds
or gain/loss on sale of investment to be significant.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 11. <I>Employee Benefits</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">The Company maintains
the REX 2015 Incentive Plan, approved by its shareholders, which reserves a total of 550,000 shares of common stock for issuance
pursuant to its terms. The plan provides for the granting of shares of stock, including options to purchase shares of common stock,
stock</P>

<!-- Field: Page; Sequence: 16; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 0pt">appreciation rights tied
to the value of common stock, restricted stock, and restricted stock unit awards to eligible employees, non-employee directors
and consultants. The Company measures share-based compensation grants at fair value on the grant date, adjusted for estimated forfeitures.
The Company records noncash compensation expense related to liability and equity awards in its consolidated financial statements
over the requisite service period on a straight-line basis. At July 31, 2017, 511,174 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 date of the grant. In addition one third of executives&rsquo; incentive compensation is payable by an award
of restricted stock based on the then closing market price of REX common stock.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">At July 31, and January
31, 2017, unrecognized compensation cost related to nonvested restricted stock was approximately $321,000 and $214,000, respectively.
The following table summarizes non-vested restricted stock award activity for the six months ended July 31, 2017 and 2016:</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">&nbsp;</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="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">Six Months Ended July 31, 2017</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Non-Vested<BR> Shares</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Weighted<BR> Average Grant<BR> Date Fair Value<BR> (000&rsquo;s)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Weighted<BR> Average&nbsp;Remaining<BR> Vesting Term<BR> (in years)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 43%; padding-left: 10pt; text-indent: -10pt">Non-Vested at January 31, 2017</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 12%; text-align: right">23,350</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 15%; text-align: right">1,386</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 15%; text-align: right">2</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Granted</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">14,156</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,370</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Forfeited</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">Vested</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">8,091</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">481</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt; padding-bottom: 3px">Non-Vested at July 31, 2017</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 3px; border-bottom: Black 3px double">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">29,415</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">2,275</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 3px">2</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>

<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">Six Months Ended July 31, 2016</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="10" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Non-Vested<BR> Shares</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Weighted<BR> Average Grant<BR> Date Fair Value<BR> (000&rsquo;s)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">Weighted<BR> Average&nbsp;Remaining<BR> Vesting Term<BR> (in years)</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Non-Vested at January 31, 2016</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,168</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">200</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Granted</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">21,502</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,269</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">Forfeited</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">-</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Vested</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">1,320</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 1px solid">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 1px solid">83</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 1px">&nbsp;</TD><TD STYLE="text-align: left; padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">&nbsp;</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non-Vested at July 31, 2016</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 3px; border-bottom: Black 3px double">&nbsp;</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">23,350</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; border-bottom: Black 3px double">$</TD><TD STYLE="text-align: right; border-bottom: Black 3px double">1,386</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD><TD STYLE="text-align: right; padding-bottom: 3px">3</TD><TD STYLE="text-align: left; padding-bottom: 3px">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 12<I>. Income Taxes</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The effective tax rate on consolidated pre-tax income was 35.6%
and 33.3% for the three months ended July 31, 2017 and 2016, respectively. The effective tax rate on consolidated pre-tax income
was</P>

<!-- Field: Page; Sequence: 17; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">32.4% and 32.6% for the six months ended July 31, 2017 and
2016, respectively. The fluctuation in the effective tax rate primarily relates to the impact of noncontrolling interests.
The Company expects the effective tax rate, for the remainder of fiscal year 2017, to be significantly lower than the current
year to date levels as the Company expects to earn federal income tax credits from its refined coal operation (see Note 16).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company files a U.S. federal income tax
return and various state income tax returns. In general, the Company is no longer subject to U.S. federal, state or local income
tax examinations by tax authorities for years ended January 31, 2010 and prior. A reconciliation of the beginning and ending amount
of unrecognized tax benefits, including interest and penalties, is as follows (amounts in thousands):</P>

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

<TABLE CELLPADDING="0" CELLSPACING="0" STYLE="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Six Months Ended<BR> July 31,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 59%; text-align: left; padding-left: 10pt; text-indent: -10pt">Unrecognized tax benefits, beginning of period</TD><TD STYLE="width: 8%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">2,096</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 5%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 12%; text-align: right">987</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Changes for prior years&rsquo; tax positions</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">164</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">171</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Changes for current year tax positions</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">-</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Unrecognized tax benefits, end of period</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">2,260</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">1,158</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 13. <I>Commitments and Contingencies</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company is involved in various legal
actions arising in the normal course of business. After taking into consideration legal counsels&rsquo; evaluations of such actions,
management is of the opinion that their outcome will not have a material adverse effect on the Company&rsquo;s Consolidated Condensed
Financial Statements.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined forward
purchase contracts for approximately 11.4 million bushels of corn, the principal raw material for their ethanol plants. They expect
to take delivery of the grain through October 2017.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately 67.8 million gallons of ethanol, approximately 79,000 tons of distillers grains and approximately 11.7 million
pounds of non-food grade corn oil. They expect to deliver the ethanol, distillers grains and non-food grade corn oil through December
2017.</P>

<!-- Field: Page; Sequence: 18; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 14. <I>Net Sales and Revenue</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes sales for
each product and service group for the periods presented (amounts in thousands):</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</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="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended<BR> July 31,</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Six Months Ended<BR> July 31,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt">Product or Service Category</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; padding-left: 10pt; text-indent: -10pt">Ethanol</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">88,785</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">90,933</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">180,257</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">168,564</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">13,472</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">18,946</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">28,622</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">36,000</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Non-food grade corn oil</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,726</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,738</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,318</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">8,584</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,748</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">983</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,667</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,547</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">13</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">107</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">23</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">234</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">108,744</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">115,707</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">221,887</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">215,929</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 15. <I>Related-Party Transactions</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the second quarters of fiscal year
2017 and 2016, One Earth and NuGen purchased approximately $36.5 million and approximately $36.0 million, respectively, of corn
from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately $78.7 million and
approximately $80.4 million for the six months ended July 31, 2017 and 2016, respectively. The Company had amounts payable to related
parties for corn purchases of approximately $1.6 million and $1.7 million at July 31, 2017 and January 31, 2017, respectively.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Note 16. Subsequent Event</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On August 10, 2017, the Company, through a 95.35%
owned subsidiary, purchased the entire ownership interest of a refined coal facility for approximately $12 million in cash. The
facility is in operation and will begin affecting the Company&rsquo;s financial results during the third quarter of fiscal year
2017. The Company expects that the revenues from the sale of refined coal produced in the facility will be subsidized by federal
production tax credits, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The impact on the combined results of operations
of the Company and the refined coal facility, on a pro forma basis, as though the companies had been combined as of the beginning
of fiscal year 2017 is insignificant as the refined coal facility has been inactive for several years up until the Company&rsquo;s
acquisition.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company expects to complete its analysis
of transaction costs related to the acquisition of the refined coal facility and the estimated fair value of assets acquired and
liabilities assumed during the third quarter of fiscal year 2017.</P>

<!-- Field: Page; Sequence: 19; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0;"><B><A NAME="x1_c89279a008"></A>Item 2.  <I>Management&rsquo;s Discussion
and Analysis of Financial Condition and Results of Operations</I></B></P>

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 47%; border: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; text-align: center; vertical-align: bottom"><FONT STYLE="font-family: Times New Roman, Times, Serif"><B>Entity</B></FONT></TD>
    <TD STYLE="width: 17%; border-top: Black 1px solid; border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; text-align: center; font-family: Times New Roman, Times, Serif; vertical-align: bottom"><FONT STYLE="font-size: 12pt"><B>Trailing 12</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Months</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Ethanol</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Gallons</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Shipped</B></FONT></TD>
    <TD STYLE="width: 14%; border-top: Black 1px solid; border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; text-align: center; font-family: Times New Roman, Times, Serif; vertical-align: bottom"><FONT STYLE="font-size: 12pt"><B>REX&rsquo;s</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Current</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Effective</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Ownership</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Interest</B></FONT></TD>
    <TD STYLE="width: 22%; border-top: Black 1px solid; border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; text-align: center; font-family: Times New Roman, Times, Serif; vertical-align: bottom"><FONT STYLE="font-size: 12pt"><B>Current Effective</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Ownership of</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Trailing 12</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Months Ethanol</B></FONT><BR>
<FONT STYLE="font-size: 12pt"><B>Gallons Shipped</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; "><FONT STYLE="font-family: Times New Roman, Times, Serif">One Earth Energy, LLC</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">120.5 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">75.0%</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">90.4 M</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; "><FONT STYLE="font-family: Times New Roman, Times, Serif">NuGen Energy, LLC</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">131.4 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">99.5%</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">130.7 M</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; "><FONT STYLE="font-family: Times New Roman, Times, Serif">Big River Resources, LLC:</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right">&nbsp;</TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right">&nbsp;</TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 20pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">Big River Resources W Burlington, LLC</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">107.1 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">9.7%</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">10.4 M</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 20pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">Big River Resources Galva, LLC</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">123.7 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">9.7%</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">12.0 M</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 20pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">Big River United Energy, LLC</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">129.2 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">5.4%</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">7.0 M</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 20pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">Big River Resources Boyceville, LLC</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">57.2 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">9.7%</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">5.5 M</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; border-left: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt; "><FONT STYLE="font-family: Times New Roman, Times, Serif">Total </FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">669.1 M</FONT></TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right">&nbsp;</TD>
    <TD STYLE="border-right: Black 1px solid; border-bottom: Black 1px solid; padding-right: 5.75pt; padding-left: 5.75pt;  text-align: right"><FONT STYLE="font-family: Times New Roman, Times, Serif">256.0 M</FONT></TD></TR>
</TABLE>
<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our ethanol operations are highly dependent
on commodity prices, especially prices for corn, ethanol, distillers grains, non-food grade corn oil and natural gas. 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 a number of factors that affect commodity prices in general, including crop
conditions, weather, federal policy and foreign trade. Because the market price of ethanol is not always directly related to corn
prices (for example, crude and other energy prices can impact ethanol prices), at times ethanol prices may lag movements in corn
prices and, in an environment of higher corn prices or lower ethanol prices, reduce the overall margin structure at the plants.
As a result, at times, we may operate our plants at negative or marginally positive operating margins.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We expect our ethanol plants to produce approximately
2.8 gallons of denatured ethanol for each bushel of grain processed in the production cycle. We refer to the actual gallons of
denatured ethanol produced per bushel of grain processed as the realized yield. We refer to the difference between the price per
gallon of ethanol and the price per bushel of grain (divided by the realized yield) as the &ldquo;crush spread&rdquo;. 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. We also expect our ethanol plants to produce approximately 15.5 pounds of distillers
grains and 0.7 pounds of non-food grade corn oil for each bushel of grain processed.</P>

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

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

<!-- Field: Page; Sequence: 20; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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 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 the 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>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Future Energy</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During fiscal year 2013, we entered into
a joint venture with Hytken HPGP, LLC (&ldquo;Hytken&rdquo;) 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.</P>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Critical Accounting Policies and Estimates</B></P>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Fiscal Year</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">All references in this report to a particular
fiscal year are to REX&rsquo;s fiscal year ended January 31. For example, &ldquo;fiscal year 2017&rdquo; means the period February 1, 2017
to January 31, 2018.</P>

<!-- Field: Page; Sequence: 21; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Results of Operations</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 36pt 0pt 0"><B>Comparison of Three and Six Months Ended July 31,
2017 and 2016</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes selected data
from our consolidated operations for the periods presented:</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</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>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended<BR> July 31,</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Six Months Ended<BR> July 31,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: center">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%">Average selling price per gallon of ethanol</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">1.45</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">1.49</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">1.45</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">1.41</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Gallons of ethanol sold (in millions)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">61.3</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">60.9</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">124.7</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">119.7</TD><TD STYLE="text-align: left">&nbsp;</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>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">95.39</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">134.81</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">97.81</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">130.12</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Tons of dried distillers grains sold</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">141,233</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">140,541</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">292,635</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">276,662</TD><TD STYLE="text-align: left">&nbsp;</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>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">0.29</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">0.29</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">0.28</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">0.27</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Pounds of non-food grade corn oil sold (in millions)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">16.5</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">16.4</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">33.1</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">32.2</TD><TD STYLE="text-align: left">&nbsp;</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>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">41.00</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">56.60</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">41.47</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">58.54</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left">Tons of modified distillers grains sold</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">42,632</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">17,370</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">88,434</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">43,517</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD>Average cost per bushel of grain</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.38</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.73</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.47</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.63</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD>Average cost of natural gas (per mmbtu)</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.30</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">2.71</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">3.52</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">$</TD><TD STYLE="text-align: right">2.96</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
</TABLE>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net sales and revenue in the quarter ended
July 31, 2017 were approximately $108.7 million compared to approximately $115.7 million in the prior year&rsquo;s second quarter,
representing a decrease of approximately $7.0 million. Net sales and revenue in the first six months of fiscal year 2017 were approximately
$221.9 million compared to approximately $215.9 million in the in the first six months of fiscal year 2016, representing an increase
of approximately $6.0 million. The following table summarizes sales of our consolidated operations for each major product and service
group for the periods presented (amounts in thousands):</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</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="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Three Months Ended<BR> July 31,</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="6" STYLE="text-align: center">Six Months Ended<BR> July 31,</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt">Product Category</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2017</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right; border-bottom: Black 1px solid">2016</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom">
    <TD STYLE="padding-left: 10pt; text-indent: -10pt">&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: right">&nbsp;</TD><TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="width: 40%; padding-left: 10pt; text-indent: -10pt">Ethanol</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">88,785</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">90,933</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">180,257</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD><TD STYLE="width: 3%">&nbsp;</TD>
    <TD STYLE="width: 1%; text-align: left">$</TD><TD STYLE="width: 10%; text-align: right">168,564</TD><TD STYLE="width: 1%; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Dried distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">13,472</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">18,946</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">28,622</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">36,000</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Non-food grade corn oil</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,726</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">4,738</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">9,318</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">8,584</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="text-align: left; padding-left: 10pt; text-indent: -10pt">Modified distillers grains</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">1,748</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">983</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">3,667</TD><TD STYLE="text-align: left">&nbsp;</TD><TD>&nbsp;</TD>
    <TD STYLE="text-align: left">&nbsp;</TD><TD STYLE="text-align: right">2,547</TD><TD STYLE="text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: rgb(229,255,255)">
    <TD STYLE="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">13</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">107</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">23</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 1px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 1px solid; text-align: left">&nbsp;</TD><TD STYLE="border-bottom: Black 1px solid; text-align: right">234</TD><TD STYLE="padding-bottom: 1px; text-align: left">&nbsp;</TD></TR>
<TR STYLE="vertical-align: bottom; background-color: White">
    <TD STYLE="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">108,744</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">115,707</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">221,887</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD><TD STYLE="padding-bottom: 3px">&nbsp;</TD>
    <TD STYLE="border-bottom: Black 3px double; text-align: left">$</TD><TD STYLE="border-bottom: Black 3px double; text-align: right">215,929</TD><TD STYLE="padding-bottom: 3px; text-align: left">&nbsp;</TD></TR>
</TABLE>


<!-- Field: Page; Sequence: 22; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Ethanol sales decreased from approximately
$90.9 million in the second quarter of fiscal year 2016 to approximately $88.8 million in the second quarter of fiscal year 2017,
primarily a result of a $0.04 decrease in the price per gallon sold. Dried distillers grains sales decreased from approximately
$18.9 million in the second quarter of fiscal year 2016 to approximately $13.5 million in the second quarter of fiscal year 2017,
primarily a result of a $39.42 decline in the price per ton sold. Management believes the decline in the selling price results
primarily from the ongoing uncertainty of Chinese imports of domestic dried distillers grains as the China Ministry of Commerce
had announced an anti-dumping and countervailing duty investigation in January 2016 and has imposed an anti-dumping tariff and
a countervailing duty on U.S. dried distillers grains exports to China. In a final ruling in January 2017, China increased the
dried distillers grains anti-dumping duty to a range of 42.2% up to 53.7% and the dried distillers grains countervailing duty to
a range of 11.2% up to 12.0%. In addition, Vietnam suspended imports of U.S dried distillers grains and this has also contributed
to the decline in DDG prices. Non-food grade corn oil sales in the second quarter of fiscal year 2017 were consistent with sales
in the second quarter of fiscal year 2016. Modified distillers grains sales increased from approximately $1.0 million in the second
quarter of fiscal year 2016 to approximately $1.7 million in the second quarter of fiscal year 2017, primarily a result of a 145%
increase in tons sold which was partially offset by a decline of $15.60 in the price per ton sold.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Ethanol sales increased from approximately
$168.6 million in the first six months of fiscal year 2016 to approximately $180.3 million in the first six months of fiscal year
2017, primarily a result of an increase of 5.0 million gallons sold and a $0.04 increase in the price per gallon sold. Dried distillers
grains sales decreased from approximately $36.0 million in the first six months of fiscal year 2016 to approximately $28.6 million
in the first six months of fiscal year 2017, primarily a result of a $32.31 decline in the price per ton sold. The decline in selling
price was partially offset by a 6% increase in tons sold. Management believes the decline in the selling price results from the
same reasons as described in the preceding paragraph. Non-food grade corn oil sales increased from approximately $8.6 million in
the first six months of fiscal year 2016 to approximately $9.3 million in the first six months of fiscal year 2017, primarily a
result of slight increases in the price per pound sold and quantities sold. Modified distillers grains sales increased from approximately
$2.5 million in the first six months of fiscal year 2016 to approximately $3.7 million in the first six months of fiscal year 2017,
primarily a result of a 103% increase in tons sold which was partially offset by a decline of $17.07 in the price per ton sold.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We expect that sales in future periods will
be based upon the following (One Earth and NuGen only):</P>

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 30%"><FONT STYLE="font-family: Times New Roman, Times, Serif">Product</FONT></TD>
    <TD STYLE="width: 70%; padding-right: 5.4pt; padding-left: 5.4pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">Annual Sales Quantity</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Ethanol</FONT></TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">260 million to 280 million gallons</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Dried distillers grains</FONT></TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">590,000 to 620,000 tons</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Non-food grade corn oil</FONT></TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">65 million to 80 million pounds</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Modified distillers grains</FONT></TD>
    <TD STYLE="padding-right: 5.4pt; padding-left: 5.4pt"><FONT STYLE="font-family: Times New Roman, Times, Serif">170,000 to 200,000 tons</FONT></TD></TR>
</TABLE>
<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">This expectation assumes that One Earth and
NuGen will continue to operate at or above historical production levels, which is dependent upon the crush spread realized. NuGen
has received the EPA pathway approval and has permits to increase its production levels to 150 million gallons annually. One Earth
has received the EPA pathway approval and has permits to increase its production levels to 131</P>

<!-- Field: Page; Sequence: 23; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">million gallons annually. We are working on debottlenecking
the plants and plan to increase production levels over time dependent on industry conditions, plant profitability and the completion
of capacity expansion projects. We may vary the amounts of dried and modified distillers grains production, and resulting sales,
based upon market conditions.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gross profit for the second quarter of fiscal
year 2017 was approximately $10.8 million (9.9% of net sales and revenue) which was approximately $6.5 million lower compared to
approximately $17.3 million of gross profit (14.9% of net sales and revenue) for the second quarter of fiscal year 2016. The crush
spread for the second quarter of fiscal year 2017 was approximately $0.24 per gallon of ethanol sold compared to the second quarter
of fiscal year 2016 which was approximately $0.20 per gallon of ethanol sold. The decline of approximately $5.5 million in sales
of dried distillers grains compared to the second quarter of fiscal year 2016 negatively affected gross profit. Management believes
this decline results primarily from the continued uncertainty regarding future Chinese and Vietnamese imports of U. S produced
distillers grains. Grain accounted for approximately 75% ($73.2 million) of our cost of sales during the second quarter of fiscal
year 2017 compared to approximately 79% ($77.6 million) during the second quarter of fiscal year 2016. Natural gas accounted for
approximately 5% ($5.3 million) of our cost of sales during the second quarter of fiscal year 2017 compared to approximately 4%
($4.2 million) during the second quarter of fiscal year 2016. Plant related repairs and maintenance expense was approximately $2.0
million higher in the second quarter of fiscal year 2017 compared to the second quarter of fiscal year 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gross profit for the first six months of
fiscal year 2017 was approximately $23.3 million (10.5% of net sales and revenue) which was approximately $2.4 million lower compared
to approximately $25.7 million of gross profit (11.9% of net sales and revenue) for the first six months of fiscal year 2016. The
crush spread for the first six months of fiscal year 2017 was approximately $0.23 per gallon of ethanol sold compared to approximately
$0.16 per gallon of ethanol sold during the first six months of fiscal year 2016. The decline of approximately $7.4 million in
sales of dried distillers grain compared to the first six months of fiscal year 2016 negatively affected gross profit. Grain accounted
for approximately 76% ($150.9 million) of our cost of sales during the first six months of fiscal year 2017 compared to approximately
78% ($148.7 million) during the first six months of fiscal year 2016. Natural gas accounted for approximately 6% ($11.3 million)
of our cost of sales during the first six months of fiscal year 2017 compared to approximately 5% ($9.1 million) during the first
six months of fiscal year 2016. Given the inherent volatility in ethanol, distillers grains, non-food grade corn oil, grain and
natural gas prices, we cannot predict the likelihood that the spread between ethanol, distillers grains, non-food grade corn oil
and grain prices in future periods will be consistent compared to historical periods. Plant related repairs and maintenance expense
was approximately $1.6 million higher in the first six months of fiscal year 2017 compared to the first six months of fiscal year
2016. We expect gross profit, in future periods, to be negatively impacted by our refined coal operation (see Note 16) as the refined
coal operation is expected to generate a pre-tax operating loss.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We attempt to match quantities of ethanol,
distillers grains and non-food grade corn oil sale contracts with an appropriate quantity of grain purchase contracts over a given
period of time 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</P>

<!-- Field: Page; Sequence: 24; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">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 the crush spread for more than four months. Based on existing contracts at the end of the second quarter of fiscal year 2017,
none of our forecasted ethanol, approximately 10% of our forecasted distillers grains and approximately 15% of our forecasted non-food
grade corn oil production during the next 12 months have been sold under fixed-price contracts. The effect of a 10% adverse change
in the price of ethanol, distillers grains and non-food grade corn oil from the current pricing would result in a decrease in annual
revenues of approximately $48.4 million for the remaining forecasted sales. Similarly, approximately 1% of our estimated corn usage
for the next 12 months was subject to fixed-price contracts. The effect of a 10% adverse change in the price of corn from the current
pricing would result in an increase in annual cost of goods sold of approximately $34.2 million for the remaining forecasted grain
purchases. Approximately 2% of our estimated natural gas usage for the next 12 months was subject to fixed-price contracts. The
effect of a 10% adverse change in the price of natural gas from the current pricing would result in an increase in annual cost
of goods sold of approximately $2.0 million for the remaining forecasted natural gas purchases.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Selling, general and administrative expenses
for the second quarter of fiscal year 2017 were consistent with the second quarter of fiscal year 2016 amount. Such expenses were
approximately $10.2 million for the first six months of fiscal year 2017 compared to approximately $9.2 million for the first six
months of fiscal year 2016. The increase is primarily related to higher rail car lease charges as our fleet of rail cars ages and
requires more repairs. We expect selling, general and administrative expenses to remain consistent with fiscal year 2016 results
in future periods, with the exception of variability of incentive compensation which is based upon Company profitability.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the second quarters of fiscal years
2017 and 2016, we recognized income of approximately $0.1 million and $1.2 million, respectively, from our equity investment. Such
income was approximately $0.8 million and $1.4 million during the first six months of fiscal year 2017 and 2016, respectively.
Big River has interests in four ethanol production plants and has an effective ownership of ethanol gallons shipped in the trailing
twelve months ended July 31, 2017 of approximately 353 million gallons. Big River&rsquo;s results in fiscal year 2017 have been
negatively impacted by an asset impairment charge which reduced our equity method income by approximately $0.5 million. 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>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On June 1, 2015 Patriot and a subsidiary
of CHS Inc. (&ldquo;CHS&rdquo;) completed a merger that resulted in CHS acquiring 100% of the ownership interest in Patriot. During
the first quarter of fiscal year 2016, we received proceeds of approximately $2.3 million as partial payment for certain escrow
holdbacks and adjustments to the purchase price related to the merger between Patriot and CHS. As a result, we recognized approximately
$0.2 million as gain on sale of investment during the first quarter of fiscal year 2016. We do not expect any further proceeds
or gain/loss on sale of investment to be significant.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gain on disposal of property and equipment
of approximately $0.2 million during the second quarter and first six months of fiscal year 2016 relate to two real estate properties
sold. No such properties were sold during the first six months of fiscal year 2017.</P>

<!-- Field: Page; Sequence: 25; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Interest and other income was approximately
$0.3 million for the second quarter of fiscal year 2017 versus approximately $0.1 million for the second quarter of fiscal year
2016. Interest and other income was approximately $0.5 million for the first six months of fiscal year 2017 versus approximately
$0.3 million for the first six months of fiscal year 2016. The income has increased as yields on our excess cash have improved
compared to fiscal year 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, income before
income taxes was approximately $6.5 million for the second quarter of fiscal year 2017 versus approximately $13.5 million for the
second quarter of fiscal year 2016. Income before income taxes was approximately $14.5 million for the first six months of fiscal
year 2017 versus approximately $18.5 million for the first six months of fiscal year 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our effective tax rate
was approximately 35.6% and 33.3% for the second quarters of fiscal years 2017 and 2016, respectively, and 32.4% and 32.6%
for the first six months of fiscal years 2017 and 2016, respectively. We expect our effective tax rate, for the remainder
of fiscal year 2017, to be significantly lower than the current year to date levels as we expect to earn federal income tax
credits from our refined coal operation (see Note 16).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, net income
was approximately $4.2 million for the second quarter of fiscal year 2017 compared to approximately $9.0 million for the second
quarter of fiscal year 2016. Net income was approximately $9.8 million for the first six months of fiscal year 2017 compared to
approximately $12.5 million for the first six months of fiscal year 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><FONT STYLE="color: black">Income related
to noncontrolling interests was approximately $1.2 million and approximately $0.9 million during the second quarters of fiscal
years 2017 and 2016, respectively, and was approximately $2.3 million and approximately $1.5 million during the first six months
of fiscal years 2017 and 2016, respectively.</FONT> These amounts <FONT STYLE="color: black">represent the owners&rsquo; (other
than us) share of the income or loss of NuGen, One Earth and Future Energy. </FONT></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As a result of the foregoing, net income
attributable to REX common shareholders for the second quarter of fiscal year 2017 was <FONT STYLE="color: black">approximately</FONT>
$2.9 million, a decrease of approximately $5.3 million from <FONT STYLE="color: black">approximately</FONT> $8.2 million for the
second quarter of fiscal year 2016. Net income attributable to REX common shareholders for the first six months of fiscal year
2017 was <FONT STYLE="color: black">approximately</FONT> $7.5 million, a decrease of approximately $3.5 million from <FONT STYLE="color: black">approximately</FONT>
$11.0 million for the first six months of fiscal year 2016. The decrease from fiscal year 2016 results is primarily related to
reduced dried distillers grains pricing, increased natural gas costs and increased repairs and maintenance expenditures.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Liquidity and Capital Resources </B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net cash provided by operating activities
was approximately $13.5 million for the first six months of fiscal year 2017, compared to approximately $11.4 million for the first
six months of fiscal year 2016. For the first six months of fiscal year 2017, cash was provided by net income of approximately
$9.8 million, adjusted for non-cash items of approximately $10.0 million, which consisted of depreciation and amortization, income
from equity method investments, the deferred income tax provision and stock based compensation expense. Big River paid dividends
to REX of approximately $2.0 million during the first six months of fiscal year 2017. A decrease in the balance of accounts receivable
provided cash of approximately $0.9 million, which was primarily a result of the timing of customer shipments and</P>

<!-- Field: Page; Sequence: 26; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">payments. An increase in the balance of inventories used cash
of approximately $5.0 million, which was primarily a result of the timing of receipt of raw materials as we took advantage of purchasing
opportunities that existed during the first six months of fiscal year 2017. An increase in the balance of other assets used cash
of approximately $1.0 million, which was primarily a result of income tax payments and normal variations in various asset balances.
An increase in the balance of accounts payable provided cash of approximately $1.7 million, which was primarily a result of the
timing of inventory receipts and vendor payments. A decrease in the balance of other current liabilities used cash of approximately
$4.8 million which was primarily a result of payments of incentive compensation and real estate taxes.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Net cash provided by operating activities
was approximately $11.4 million for the first six months of fiscal year 2016. For the first six months of fiscal year 2016, cash
was provided by net income of approximately $12.5 million, adjusted for non-cash items of approximately $8.0 million, which consisted
of depreciation and amortization, income from equity method investments, gain on disposal of real estate and property and equipment,
net, gain on sale of investment and stock based compensation expense. We received dividends from Big River of approximately $1.5
million during the first six months of fiscal year 2016. An increase in the balance of accounts receivable used cash of approximately
$4.3 million, which was primarily a result of the timing of customer shipments and payments. An increase in the balance of inventories
used cash of approximately $6.5 million, which was primarily a result of the timing of receipt of raw materials as we took advantage
of purchasing opportunities that existed during the second quarter of fiscal year 2016. A decrease in the balance of other assets
provided cash of approximately $3.0 million, as overpayments of income taxes were more than sufficient to offset estimates of our
current year liabilities. A decrease in the balance of accounts payable used cash of approximately $3.1 million, which was primarily
a result of the timing of inventory receipts and vendor payments.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2017, working capital was approximately
$209.8 million, compared to approximately $204.0 million at January 31, 2017. The ratio of current assets to current liabilities
was 12.2 to 1 at July 31, 2017 and 10.1 to 1 at January 31, 2017.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $14.4 million was used
in investing activities for the first six months of fiscal year 2017, compared to approximately $5.7 million during the first six
months of fiscal year 2016. During the first six months of fiscal year 2017, we had capital expenditures of approximately $14.4
million, the majority of which was plant capacity expansion projects at the One Earth and NuGen ethanol plants. We expect to spend
between $5.0 million and $7.0 million during the remainder of fiscal year 2017 on various capital projects.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash of approximately $5.7 million was used
in investing activities for the first six months of fiscal year 2016. During the first six months of fiscal year 2016, we had capital
expenditures of approximately $9.3 million, primarily related to improvements at the One Earth and NuGen ethanol plants. During
the first six months of fiscal year 2016, we received approximately $2.3 million as partial payment for certain escrow holdbacks
and adjustments to the purchase price related to the sale of our equity investment in Patriot. We received approximately $1.0 million
of proceeds from the sale of two real estate properties during the first six months of fiscal year 2016.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash used in financing activities
totaled approximately $1.7 million for the first six months of fiscal year 2017 compared to approximately $6.8 million for
the first six months of fiscal year 2016. During the first six</P>

<!-- Field: Page; Sequence: 27; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">months of fiscal year 2017, we used cash of approximately $1.7
million to purchase shares from and pay dividends to noncontrolling members of One Earth.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cash used in financing activities totaled
approximately $6.8 million for the first six months of fiscal year 2016. During the first six months of fiscal year 2016, we used
cash of approximately $4.7 million to purchase approximately 95,000 shares of our common stock in open market transactions. During
the first six months of fiscal year 2016, we used cash of approximately $2.1 million to purchase shares from and pay dividends
to noncontrolling members of One Earth and NuGen.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">We are investigating various uses of our
excess cash. We have a stock buyback program, and given our current authorization level, can repurchase a <FONT STYLE="color: black">total
of approximately 155,000 shares. </FONT>We also plan to seek and evaluate investment opportunities including energy related, agricultural
or other ventures we believe fit our investment criteria. On August 10, 2017 we purchased a refined coal company for approximately
$12.0 million (see Note 16).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. One Earth and NuGen renewed the revolving
loan facilities, which mature June 1, 2018, during the second quarter of fiscal year 2017. Neither One Earth nor NuGen had outstanding
borrowings on the revolving loans during the six months ended July 31, 2017.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Forward-Looking Statements</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">This Form 10-Q contains or may contain forward-looking
statements as defined in the Private Securities Litigation Reform Act of 1995. Such statements can be identified by use of forward-looking
terminology such as &ldquo;may,&rdquo; &ldquo;expect,&rdquo; &ldquo;believe,&rdquo; &ldquo;estimate,&rdquo; &ldquo;anticipate&rdquo;
or &ldquo;continue&rdquo; 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&rsquo;s
filings with the Securities and Exchange Commission and include among other things: the impact of legislative changes, the price
volatility and availability of corn, distillers grains, ethanol, non-food grade corn oil, gasoline, natural gas, ethanol plants
operating efficiently and according to forecasts and projections, changes in the 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&rsquo;s Annual Report on Form
10-K for the fiscal year ended January 31, 2017 (File No. 001-09097).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a009"></A><B>Item 3. <I>Quantitative and Qualitative Disclosures About
Market Risk</I></B></P>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 27.5pt">We manage a portion of our risk with respect
to the volatility of commodity prices inherent in the ethanol industry by using forward purchase and sale contracts. At July 31,
2017, One Earth and NuGen combined have forward purchase contracts for approximately 11.4 million bushels of corn, the principal</P>

<!-- Field: Page; Sequence: 28; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">raw material for their ethanol plants. One Earth and NuGen expect
to take delivery of the corn through October 2017. At July 31, 2017, One Earth and NuGen have combined sales commitments for approximately
67.8 million gallons of ethanol, approximately 79,000 tons of distillers grains and approximately 11.7 million pounds of non-food
grade corn oil. One Earth and NuGen expect to deliver the ethanol, distillers grains and non-food grade corn oil through December
2017. None of our forecasted ethanol sales during the next 12 months have been sold under fixed-price contracts. As a result, the
effect of a 10% adverse move in the price of ethanol from the current pricing would result in a decrease in annual revenues of
approximately $40.0 million. Approximately 10% of our forecasted distillers grains sales during the next 12 months have been sold
under fixed-price contracts. As a result, the effect of a 10% adverse move in the price of distillers grains from the current pricing
would result in a decrease in annual revenues of approximately $6.4 million. Approximately 15% of our forecasted non-food grade
corn oil sales during the next 12 months have been sold under fixed-price contracts. As a result, the effect of a 10% adverse move
in the price of non-food grade corn oil from the current pricing would result in a decrease in annual revenues of approximately
$1.9 million. Similarly, approximately 1% of our estimated corn usage for the next 12 months was subject to fixed-price contracts.
As a result, the effect of a 10% adverse move in the price of corn from the current pricing would result in an increase in annual
cost of goods sold of approximately $34.2 million. Approximately 2% of our estimated natural gas usage for the next 12 months was
subject to fixed-price contracts. As a result, the effect of a 10% adverse move in the price of natural gas from the current pricing
would result in an increase in annual cost of goods sold of approximately $2.0 million.<FONT STYLE="color: red"> </FONT></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify"><A NAME="x1_c89279a010"></A><B>Item 4. <I>Controls and Procedures</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Our management evaluated, with the participation
of our Chief Executive Officer and Chief Financial Officer, the effectiveness of our disclosure controls and procedures, as of
the end of the period covered by this report. Based on that evaluation, the Chief Executive Officer and Chief Financial Officer
concluded that our disclosure controls and procedures are effective to ensure that information required to be disclosed by us in
the reports that we file or submit under the Securities Exchange Act of 1934 is recorded, processed, summarized and reported within
the time periods specified in the Securities and Exchange Commission&rsquo;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>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 36pt"><B><A NAME="x1_c89279a011"></A>PART II. OTHER INFORMATION</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a012"></A><B>Item 1. <I>Legal Proceedings</I></B></P>

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

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

<!-- Field: Page; Sequence: 29; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a013"></A><B>Item 1A. <I>Risk Factors </I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the quarter ended July 31, 2017, 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, 2017,
except as follows:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Risks Relating to our Refined Coal Investment</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B>Our refined coal investments are subject to various risks
and uncertainties.</B></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">We have purchased a company to produce refined coal that we
believe qualifies to earn tax credits under IRC Section 45 through November 2021. Our ability to generate returns and avoid write-offs
in connection with this investment is subject to various risks and uncertainties. These include, but are not limited to, the risks
and uncertainties as set forth below.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&bull; <B>Availability of the tax credits under IRC Section
45.</B> Our ability to claim tax credits under IRC Section 45 depends upon the operation in which we have purchased satisfying
certain ongoing conditions set forth in IRC Section 45. Furthermore, the tax credits could be reduced or completely eliminated
as a result of changes in income tax laws and/or regulations.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">The IRS could ultimately determine that the purchase of the
refined coal facility and/or its operations have not satisfied, or have not continued to satisfy, the conditions set forth in IRC
Section 45. Additionally, Congress could modify income tax laws and remove the tax credits retroactively. As the refined coal operation
is expected to generate pre-tax losses, the unavailability of the tax credits for any reason could have a material impact on our
results of operations.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&bull; <B>IRC Section 45 phase out provisions</B>. IRC Section
45 contains phase out provisions based upon the market price of coal, such that, if the price of coal rises to specified levels,
we could lose some or all of the tax credits we expect to receive from this operation.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&bull; <B>Business risks.</B> The refined coal operation receives tax credits by selling its refined coal
to an unrelated party. The unrelated party is not obligated to continue purchasing refined coal. If the unrelated party ceases
to purchase refined coal from us, this would cause us to attempt to move our refined coal plant to a different location, which
could require us to invest additional capital, or to find a different user to purchase our refined coal. In addition, we may not
be able to find a suitable location to move our refined coal plant to or find a different user to purchase our refined coal in
a timely manner. A reduction or cessation of refined coal sales could have a material impact on our results of operations.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&bull; <B>Market demand for coal</B>. When the price of natural
gas and/or oil declines relative to that of coal, some users of coal may choose to burn natural gas or oil instead of coal. Market
demand for coal may also decline as a result of an economic slowdown. Sustained low natural gas prices may also cause users of
coal to phase out or close existing coal using operations. If users of coal burn less coal or eliminate the use of coal there would
be less need for our product.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">&bull; <B>Environmental concerns regarding coal. </B>Environmental
concerns about greenhouse gases, toxic wastewater discharges and the potential hazardous nature of coal combustion waste could
lead to regulations that discourage the burning of coal. Such regulations could mandate that electric power generating companies
purchase a minimum amount of power from renewable energy sources such as wind,</P>

<!-- Field: Page; Sequence: 30; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0">hydroelectric, solar and geothermal. This could result in utilities
burning less coal, which would reduce the generation of tax credits.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&nbsp;&bull; <B>The refined coal operation
in which we have invested and the by-products from such operations may result in environmental and product liability claims and
environmental compliance costs. </B>The construction and operation of the refined coal operation are subject to Federal, state
and local laws, regulations and potential liabilities arising under or relating to the protection or preservation of the environment,
natural resources and human health and safety. Such laws and regulations generally require the operations and/or the utilities
at which the operations are located to obtain and comply with various environmental registrations, licenses, permits, inspections
and other approvals. Such laws and regulations also impose liability, without regard to fault or the legality of a party&rsquo;s
conduct, on certain entities that are considered to have contributed to, or are otherwise involved in, the release or threatened
release of hazardous substances into the environment. Such hazardous substances could be released as a result of burning refined
coal in a number of ways, including air emissions, waste water, and by-products such as fly ash. One party may, under certain circumstances,
be required to bear more than its share or the entire share of investigation and cleanup costs at a site if payments or participation
cannot be obtained from other responsible parties. We may be exposed to the risk of becoming liable for environmental damage we
may have had little, if any, involvement in creating. Such risk remains even after production ceases at an operation to the extent
the environmental damage can be traced to the types of chemicals or compounds used or operations conducted in connection with the
use of refined coal.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0">No assurances can be given that contractual arrangements and
precautions taken to ensure assumption of these risks by facility owners or operators will result in that facility owner or operator
accepting full responsibility for any environmental damage. It is also not uncommon for private claims by third parties alleging
contamination to also include claims for personal injury, property damage, diminution of property or similar claims. Furthermore,
many environmental, health and safety laws authorize citizen suits, permitting third parties to make claims for violations of laws
or permits and force compliance. Our insurance may not cover all environmental risk and costs or may not provide sufficient coverage
in the event of an environmental claim. If significant uninsured losses arise from environmental damage or product liability claims,
or if the costs of environmental compliance increase for any reason, our results of operations and financial condition could be
adversely affected.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&nbsp;&bull; <B>Operation of the refined
coal operation. </B>We rely on an unrelated third party to operate the refined coal operation. Should the third party fail to perform
or underperform in the operation, management or regulatory compliance of the facility, our results of operations and financial
condition could be adversely affected as we are not experienced in operating a refined coal facility.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">&nbsp;&bull; <B>Utilization of tax credits.
</B>If we do not generate sufficient taxable income to utilize the tax credits earned by our refined coal operation, we could incur
write-offs of the related tax attributes which could adversely affect our results of operations and financial condition. In addition,
this could adversely reduce our liquidity reserves as we expect to incur operating losses sustained by the refined coal operation.</P>

<!-- Field: Page; Sequence: 31; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a014"></A><B>Item 2. <I>Unregistered Sales of Equity Securities and Use
of Proceeds</I></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><U>Dividend Policy</U></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">REX did not pay dividends in the current
or prior years. We currently have no restrictions on the payment of dividends. Our consolidated and unconsolidated ethanol subsidiaries
have certain restrictions on their ability to pay dividends to us. During the first six months of fiscal year 2017, One Earth paid
dividends to REX of approximately $5.1 million. During the first six months of fiscal year 2017, NuGen did not pay dividends.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><A NAME="x1_c89279a015"></A><B>Item 3. <I>Defaults upon Senior Securities</I></B></P>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c89279a016"></A>Item 4.  <I>Mine Safety Disclosures</I></B></P>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c89279a017"></A>Item 5.  <I>Other Information</I></B></P>

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

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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><B><A NAME="x1_c89279a018"></A>Item 6.  <I>Exhibits</I></B></P>

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 10%">&nbsp;</TD>
    <TD STYLE="width: 5%"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">10(a)&nbsp;</FONT></TD>
    <TD STYLE="width: 85%; text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><A HREF="c89279_ex10a.htm" STYLE="-sec-extract: exhibit">First Amendment to Employment Agreement dated June 2, 2015 between Rex Radio and Television, Inc. and Stuart A. Rose</A></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">10(b)</FONT></TD>
    <TD STYLE="text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><A HREF="c89279_ex10b.htm" STYLE="-sec-extract: exhibit">First Amendment to Employment Agreement dated June 2, 2015 between Rex Radio and Television, Inc. and Zafar Rizvi</A></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">10(c)</FONT></TD>
    <TD STYLE="text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><A HREF="c89279_ex10c.htm" STYLE="-sec-extract: exhibit">First Amendment to Employment Agreement dated June 2, 2015 between Rex Radio and Television, Inc. and Douglas L. Bruggeman</A></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">31</FONT></TD>
    <TD STYLE="text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><A HREF="c89279_ex31.htm" STYLE="-sec-extract: exhibit">Rule 13a-14(a)/15d-14(a) Certifications</A></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">32</FONT></TD>
    <TD STYLE="text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><A HREF="c89279_ex32.htm" STYLE="-sec-extract: exhibit">Section 1350 Certifications</A></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: justify">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">101</FONT></TD>
    <TD STYLE="text-align: justify"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">The following information from REX American Resources Corporation Quarterly Report on Form 10-Q for the quarter ended July</FONT><FONT STYLE="font-family: Times New Roman, Times, Serif"> 31,<FONT STYLE="color: black"> 2017, formatted in XBRL: (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.</FONT></FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 32; Value: 2 -->
    <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 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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B>SIGNATURES</B></P>

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 50%">&nbsp;</TD>
    <TD STYLE="width: 50%"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">REX American Resources Corporation</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">Registrant</FONT></TD></TR>
</TABLE>
<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">&nbsp;</P>

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 30%; border-bottom: Black 1px solid; text-align: center"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><B>Signature</B></FONT></TD>
    <TD STYLE="width: 5%; text-align: center">&nbsp;</TD>
    <TD STYLE="width: 40%; border-bottom: Black 1px solid; text-align: center"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><B>Title</B></FONT></TD>
    <TD STYLE="width: 5%; text-align: center">&nbsp;</TD>
    <TD STYLE="width: 20%; border-bottom: Black 1px solid; text-align: center"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black"><B>Date</B></FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">&nbsp;</FONT></TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>
        <P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><FONT STYLE="border-bottom: Black 1px dashed">/s/
        Zafar Rizvi</FONT></P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">(Zafar Rizvi)</P>

</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="padding-left: 10pt; text-indent: -10pt"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">Chief Executive Officer and President</FONT><BR>
<FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">(Chief Executive Officer)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: left; vertical-align: bottom"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">September 6, 2017</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: center"><FONT STYLE="font-family: Times New Roman, Times, Serif;  color: black">&nbsp;</FONT></TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>
        <P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">/s/
        Douglas L. Bruggeman</P>

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center">(Douglas L. Bruggeman)</P>

</TD>
    <TD>&nbsp;</TD>
    <TD STYLE="padding-left: 10pt; text-indent: -10pt"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">Vice President, Finance and Treasurer</FONT><BR>
<FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">(Chief Financial Officer)</FONT></TD>
    <TD>&nbsp;</TD>
    <TD STYLE="text-align: left; vertical-align: bottom"><FONT STYLE="font-family: Times New Roman, Times, Serif; color: black">September 6, 2017</FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 33; Value: 2 -->
    <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>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-10.(A)
<SEQUENCE>2
<FILENAME>c89279_ex10a.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY>


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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B><U>FIRST AMENDMENT TO EMPLOYMENT AGREEMENT</U></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>THIS FIRST AMENDMENT
</B>(the &ldquo;First Amendment&rdquo;) is made effective as of the 11<SUP>th</SUP> day of April, 2017, between <B>REX RADIO AND
TELEVISION, INC.</B>, an Ohio corporation (the &ldquo;Corporation&rdquo;) and <B>STUART A. ROSE </B>(the &ldquo;Employee&rdquo;)
under the following circumstances:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 0"><U>Recitals</U></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">A.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Corporation
and the Employee entered into an Employment Agreement dated June 2, 2015 (the &ldquo;Agreement&rdquo;).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">B.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Corporation
and the Employee desire to amend Section 4.2 of the Agreement as set forth herein.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>NOW, THEREFORE</B>,
the undersigned hereby amend the Agreement by deleting Section 4.2 and replacing it in its entirety by the following provisions:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify; text-indent: 0pt"><B><U>4.2</U></B>.&nbsp;&nbsp;&nbsp;<B>Bonus.</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 62pt">(a)&nbsp;&nbsp;&nbsp;<U>Bonus</U>.
In addition to Employee&rsquo;s salary as provided in Section 3.1, Employee shall be entitled to an annual cash and/or incentive
plan bonus computed based upon the earnings of REX American Resources Corporation (&ldquo;<U>REX</U>&rdquo;) determined by the
independent public accountants then engaged by REX (the &ldquo;<U>Bonus</U>&rdquo;).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Employee&rsquo;s Bonus
shall be equal to 2.2% of the amount equal to 154% of &ldquo;Net Income Attributable to REX Common Shareholders&rdquo; (after tax),
then adding back incentive and stock compensation expense, for each fiscal year of REX during the Employment Period or any period
of renewal, and shall be paid two-thirds in cash when determined and one-third in an award of restricted stock based on the then
closing price of REX common stock vesting in one-third installments on the first three anniversaries of the grant.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 62pt">(b)&nbsp;&nbsp;&nbsp;<U>Bonus Limitation</U>.
Notwithstanding Sections 4.2(a), Employee shall in no event receive a total bonus exceeding $1,500,000 in any fiscal year. Subject
to Sections 6.3 and 6.7 below, the Corporation shall pay the Bonus to Employee during the calendar year in which the Performance
Period ends.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Except as modified by
this First Amendment, the Agreement remains in full force and effect.</P>




<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 1 -->
    <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: 8pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: right; width: 100%">Page <!-- Field: Sequence; Type: Arabic; Name: PageNo -->1<!-- Field: /Sequence --> of 2</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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>IN WITNESS WHEREOF,</B>
the parties hereto have executed this First Amendment as of the date first set forth above.</P>

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: left; text-indent: -10pt; font-family: Times New Roman, Times, Serif; padding-left: 10pt">REX RADIO AND TELEVISION, INC. an Ohio corporation</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 50%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 3%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 47%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">By:</FONT></TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">/s/ Edward M. Kress, Secretary</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Edward M. Kress, Secretary</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE=""><FONT STYLE="font-family: Times New Roman, Times, Serif">EMPLOYEE:</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">/s/ Stuart A. Rose</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">STUART A. ROSE</FONT></TD></TR>
</TABLE>
<!-- Field: Page; Sequence: 2; Value: 1 -->
    <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: 8pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: right; width: 100%">Page <!-- Field: Sequence; Type: Arabic; Name: PageNo -->2<!-- Field: /Sequence --> of 2</TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-10.(B)
<SEQUENCE>3
<FILENAME>c89279_ex10b.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY>


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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B><U>FIRST AMENDMENT TO EMPLOYMENT AGREEMENT</U></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>THIS FIRST AMENDMENT
</B>(the &ldquo;First Amendment&rdquo;) is made effective as of the 11<SUP>th</SUP> day of April, 2017, between <B>REX RADIO AND
TELEVISION, INC.</B>, an Ohio corporation (the &ldquo;Corporation&rdquo;) and <B>ZAFAR RIZVI </B>(the &ldquo;Employee&rdquo;) under
the following circumstances:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 0"><U>Recitals</U></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">A.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Corporation
and the Employee entered into an Employment Agreement dated June 2, 2015 (the &ldquo;Agreement&rdquo;).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">B.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Corporation
and the Employee desire to amend Section 4.2 of the Agreement as set forth herein.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>NOW, THEREFORE</B>,
the undersigned hereby amend the Agreement by deleting Section 4.2 and replacing it in its entirety by the following provisions:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify; text-indent: 0pt"><B><U>4.2</U></B>.&nbsp;&nbsp;&nbsp;<B>Bonus.</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 62pt">(a)&nbsp;&nbsp;&nbsp;<U>Bonus</U>. In
addition to Employee&rsquo;s salary as provided in Section 3.1, Employee shall be entitled to an annual cash and/or incentive plan
bonus computed based upon the earnings of REX American Resources Corporation (&ldquo;<U>REX</U>&rdquo;) determined by the independent
public accountants then engaged by REX (the &ldquo;<U>Bonus</U>&rdquo;).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Employee&rsquo;s Bonus
shall be equal to 3% of the amount equal to 154% of &ldquo;Net Income Attributable to REX Common Shareholders&rdquo; (after tax),
then adding back incentive and stock compensation expense, for each fiscal year of REX during the Employment Period or any period
of renewal, and shall be paid two-thirds in cash when determined and one-third in an award of restricted stock based on the then
closing price of REX common stock vesting in one-third installments on the first three anniversaries of the grant.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 62pt">(b)&nbsp;&nbsp;&nbsp;<U>Bonus Limitation</U>.
Notwithstanding Sections 4.2(a), Employee shall in no event receive a total bonus exceeding $2,000,000 in any fiscal year. Subject
to Sections 6.3 and 6.7 below, the Corporation shall pay the Bonus to Employee during the calendar year in which the Performance
Period ends.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Except as modified by
this First Amendment, the Agreement remains in full force and effect.</P>

<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 1 -->
    <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: 8pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: right; width: 100%">Page <!-- Field: Sequence; Type: Arabic; Name: PageNo -->1<!-- Field: /Sequence --> of 2</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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>IN WITNESS WHEREOF,</B>
the parties hereto have executed this First Amendment as of the date first set forth above.</P>

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: left; text-indent: -10pt; font-family: Times New Roman, Times, Serif; padding-left: 10pt">REX RADIO AND TELEVISION, INC. an Ohio corporation</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 50%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 3%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 47%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">By:</FONT></TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">/s/ Edward M. Kress, Secretary</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Edward M. Kress, Secretary</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE=""><FONT STYLE="font-family: Times New Roman, Times, Serif">EMPLOYEE:</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>/s/ Zafar Rizvi</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">ZAFAR RIZVI</FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 2; Value: 1 -->
    <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: 8pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: right; width: 100%">Page <!-- Field: Sequence; Type: Arabic; Name: PageNo -->2<!-- Field: /Sequence --> of 2</TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-10.(C)
<SEQUENCE>4
<FILENAME>c89279_ex10c.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY>


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

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center"><B><U>FIRST AMENDMENT TO EMPLOYMENT AGREEMENT</U></B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>THIS FIRST AMENDMENT
</B>(the &ldquo;First Amendment&rdquo;) is made effective as of the 11<SUP>th</SUP> day of April, 2017, between <B>REX RADIO AND
TELEVISION, INC.</B>, an Ohio corporation (the &ldquo;Corporation&rdquo;) and <B>DOUGLAS L. BRUGGEMAN </B>(the &ldquo;Employee&rdquo;)
under the following circumstances:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: center; text-indent: 0"><U>Recitals</U></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">A.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Corporation
and the Employee entered into an Employment Agreement dated June 2, 2015 (the &ldquo;Agreement&rdquo;).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">B.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Corporation
and the Employee desire to amend Section 4.2 of the Agreement as set forth herein.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>NOW, THEREFORE</B>,
the undersigned hereby amend the Agreement by deleting Section 4.2 and replacing it in its entirety by the following provisions:</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 36pt; text-align: justify; text-indent: 0pt"><B><U>4.2</U></B>.&nbsp;&nbsp;&nbsp;<B>Bonus.</B></P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 62pt">(a)&nbsp;&nbsp;&nbsp;<U>Bonus</U>. In
addition to Employee&rsquo;s salary as provided in Section 3.1, Employee shall be entitled to an annual cash and/or incentive plan
bonus computed based upon the earnings of REX American Resources Corporation (&ldquo;<U>REX</U>&rdquo;) determined by the independent
public accountants then engaged by REX (the &ldquo;<U>Bonus</U>&rdquo;).</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Employee&rsquo;s Bonus
shall be equal to 1.5% of the amount equal to 154% of &ldquo;Net Income Attributable to REX Common Shareholders&rdquo; (after tax),
then adding back incentive and stock compensation expense, for each fiscal year of REX during the Employment Period or any period
of renewal, and shall be paid two-thirds in cash when determined and one-third in an award of restricted stock based on the then
closing price of REX common stock vesting in one-third installments on the first three anniversaries of the grant.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 62pt">(b)&nbsp;&nbsp;&nbsp;<U>Bonus Limitation</U>.
Notwithstanding Sections 4.2(a), Employee shall in no event receive a total bonus exceeding $1,500,000 in any fiscal year. Subject
to Sections 6.3 and 6.7 below, the Corporation shall pay the Bonus to Employee during the calendar year in which the Performance
Period ends.</P>

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

<P STYLE="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">Except as modified by
this First Amendment, the Agreement remains in full force and effect.</P>



<!-- Field: Page; Sequence: 1; Options: NewSection; Value: 1 -->
    <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: 8pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: right; width: 100%">Page <!-- Field: Sequence; Type: Arabic; Name: PageNo -->1<!-- Field: /Sequence --> of 2</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: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt"><B>IN WITNESS WHEREOF,</B>
the parties hereto have executed this First Amendment as of the date first set forth above.</P>

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD COLSPAN="2" STYLE="text-align: left; text-indent: -10pt; font-family: Times New Roman, Times, Serif; padding-left: 10pt">REX RADIO AND TELEVISION, INC. an Ohio corporation</TD></TR>
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 50%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 3%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 47%; text-align: left; text-indent: 0pt; font-family: Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">By:</FONT>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">/s/Edward M, Kress, Secretary</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">Edward M. Kress, Secretary</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD COLSPAN="2" STYLE=""><FONT STYLE="font-family: Times New Roman, Times, Serif">EMPLOYEE:</FONT></TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>/s/Douglas L. Bruggeman</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD><FONT STYLE="font-family: Times New Roman, Times, Serif">DOUGLAS L. BRUGGEMAN</FONT></TD></TR>
</TABLE>
<!-- Field: Page; Sequence: 2; Value: 1 -->
    <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: 8pt Times New Roman, Times, Serif"><TR><TD STYLE="text-align: right; width: 100%">Page <!-- Field: Sequence; Type: Arabic; Name: PageNo -->2<!-- Field: /Sequence --> of 2</TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-31
<SEQUENCE>5
<FILENAME>c89279_ex31.htm
<TEXT>
<HTML>
<HEAD>
     <TITLE></TITLE>
</HEAD>
<BODY>


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="width: 50%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 50%; font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black">Date: September 6, 2017</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black">/s/ Zafar Rizvi</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black">Zafar Rizvi</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black"><I>Chief Executive Officer and President</I></FONT></TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 2 -->
    <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%">&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: bold 10pt Times New Roman, Times, Serif; margin-top: 0pt; margin-bottom: 0pt; text-align: center">CERTIFICATIONS</P>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="width: 56%; font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="width: 44%; font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black">Date: September 6, 2017</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black">/s/ Douglas L. Bruggeman</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black">Douglas L. Bruggeman</FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black"><I>Vice President, Finance, Treasurer and</I></FONT></TD></TR>
<TR STYLE="vertical-align: top; font: 10pt Times New Roman, Times, Serif">
    <TD STYLE="font: 10pt Times New Roman, Times, Serif">&nbsp;</TD>
    <TD STYLE="font: 10pt Times New Roman, Times, Serif"><FONT STYLE="color: black"><I>Chief Financial Officer</I></FONT></TD></TR>
</TABLE>
<!-- Field: Page; Sequence: 4 -->
    <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%">&nbsp;</TD></TR></TABLE></DIV>
    <!-- Field: /Page -->

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


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

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

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

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

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

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

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

<TABLE CELLSPACING="0" CELLPADDING="0" STYLE="font: 10pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<TR STYLE="vertical-align: top">
    <TD STYLE="width: 45%"><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">/s/Zafar Rizvi</FONT></TD>
    <TD STYLE="width: 55%">&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">Zafar Rizvi</FONT></TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black"><I>Chief Executive Officer and President</I></FONT></TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">/s/ Douglas L. Bruggeman</FONT></TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">Douglas L. Bruggeman</FONT></TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black"><I>Vice President, Finance, Treasurer and</I></FONT></TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black"><I>Chief Financial Officer</I></FONT></TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD></TR>
<TR STYLE="vertical-align: top">
    <TD><FONT STYLE="font: 10pt Times New Roman, Times, Serif; color: black">Date:&nbsp;&nbsp;September 6, 2017</FONT></TD>
    <TD>&nbsp;</TD></TR>
</TABLE>

<!-- Field: Page; Sequence: 1 -->
    <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%">&nbsp;</TD></TR></TABLE></DIV>

    <!-- Field: /Page -->

</BODY>
</HTML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.INS
<SEQUENCE>7
<FILENAME>rex-20170731.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Tue Sep 05 10:06:29 EDT 2017 -->
<xbrl xmlns="http://www.xbrl.org/2003/instance" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:utr="http://www.xbrl.org/2009/utr" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:us-types="http://fasb.org/us-types/2017-01-31" xmlns:invest="http://xbrl.sec.gov/invest/2013-01-31" xmlns:compsci="http://compsciresources.com" xmlns:dei="http://xbrl.sec.gov/dei/2014-01-31" xmlns:rex="http://www.rexamerican.com/20170731" xmlns:us-gaap="http://fasb.org/us-gaap/2017-01-31" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
  <link:schemaRef xlink:type="simple" xlink:href="rex-20170731.xsd"/>
  <context id="c0_AsOf31Jul2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="c1_AsOf31Jan2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c2_From1May2017To31Jul2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c3_From1May2016To31Jul2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c4_From1Feb2017To31Jul2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c5_From1Feb2016To31Jul2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c6_AsOf31Jan2017_CommonStockMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c7_AsOf31Jan2017_TreasuryStockMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c8_AsOf31Jan2017_AdditionalPaidInCapitalMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c9_AsOf31Jan2017_RetainedEarningsMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c10_AsOf31Jan2017_NoncontrollingInterestMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c11_From1Feb2017To31Jul2017_RetainedEarningsMember">
    <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>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c12_From1Feb2017To31Jul2017_NoncontrollingInterestMember">
    <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>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c13_From1Feb2017To31Jul2017_TreasuryStockMember">
    <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>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c14_From1Feb2017To31Jul2017_AdditionalPaidInCapitalMember">
    <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>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c15_AsOf31Jul2017_CommonStockMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c16_AsOf31Jul2017_TreasuryStockMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c17_AsOf31Jul2017_AdditionalPaidInCapitalMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c18_AsOf31Jul2017_RetainedEarningsMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c19_AsOf31Jul2017_NoncontrollingInterestMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c20_AsOf31Jan2016_CommonStockMember">
    <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>2016-01-31</instant>
    </period>
  </context>
  <context id="c21_AsOf31Jan2016_TreasuryStockMember">
    <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>2016-01-31</instant>
    </period>
  </context>
  <context id="c22_AsOf31Jan2016_AdditionalPaidInCapitalMember">
    <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>2016-01-31</instant>
    </period>
  </context>
  <context id="c23_AsOf31Jan2016_RetainedEarningsMember">
    <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>2016-01-31</instant>
    </period>
  </context>
  <context id="c24_AsOf31Jan2016_NoncontrollingInterestMember">
    <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>2016-01-31</instant>
    </period>
  </context>
  <context id="c25_AsOf31Jan2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2016-01-31</instant>
    </period>
  </context>
  <context id="c26_From1Feb2016To31Jul2016_RetainedEarningsMember">
    <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>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c27_From1Feb2016To31Jul2016_NoncontrollingInterestMember">
    <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>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c28_From1Feb2016To31Jul2016_TreasuryStockMember">
    <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>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c29_From1Feb2016To31Jul2016_AdditionalPaidInCapitalMember">
    <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>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c30_AsOf31Jul2016_CommonStockMember">
    <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>2016-07-31</instant>
    </period>
  </context>
  <context id="c31_AsOf31Jul2016_TreasuryStockMember">
    <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>2016-07-31</instant>
    </period>
  </context>
  <context id="c32_AsOf31Jul2016_AdditionalPaidInCapitalMember">
    <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>2016-07-31</instant>
    </period>
  </context>
  <context id="c33_AsOf31Jul2016_RetainedEarningsMember">
    <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>2016-07-31</instant>
    </period>
  </context>
  <context id="c34_AsOf31Jul2016_NoncontrollingInterestMember">
    <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>2016-07-31</instant>
    </period>
  </context>
  <context id="c35_AsOf31Jul2016">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2016-07-31</instant>
    </period>
  </context>
  <context id="c36_AsOf5Sep2017">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
    </entity>
    <period>
      <instant>2017-09-05</instant>
    </period>
  </context>
  <context id="c37_AsOf31Jul2017_ApproximateMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementScenarioAxis">rex:ApproximateMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="c38_AsOf31Jan2017_ApproximateMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:StatementScenarioAxis">rex:ApproximateMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c39_From1Feb2017To31Jul2017_BuildingAndBuildingImprovementsMember_MinimumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MinimumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c40_From1Feb2017To31Jul2017_BuildingAndBuildingImprovementsMember_MaximumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MaximumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c41_From1Feb2017To31Jul2017_FixturesAndEquipmentMember_MinimumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MinimumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c42_From1Feb2017To31Jul2017_FixturesAndEquipmentMember_MaximumMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">rex:FixturesAndEquipmentMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="us-gaap:RangeAxis">us-gaap:MaximumMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c43_From1Feb2017To31Jul2017_CostOfSalesMember">
    <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>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c44_AsOf31Jul2017_FairValueInputsLevel1Member">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c45_AsOf31Jul2017_FairValueInputsLevel2Member">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c46_AsOf31Jul2017_FairValueInputsLevel3Member">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c47_AsOf31Jan2017_FairValueInputsLevel1Member">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c48_AsOf31Jan2017_FairValueInputsLevel2Member">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c49_AsOf31Jan2017_FairValueInputsLevel3Member">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c50_From1Feb2017To31Jul2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c51_AsOf31Jul2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="c52_AsOf31Jul2017_CommodityContractMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c53_AsOf31Jan2017_CommodityContractMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c54_AsOf31Jul2017_ForwardContractsMember">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c55_AsOf31Jan2017_ForwardContractsMember">
    <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>2017-01-31</instant>
    </period>
  </context>
  <context id="c56_From1Feb2017To31Jul2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c57_From1Feb2016To31Jan2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2017-01-31</endDate>
    </period>
  </context>
  <context id="c58_From1Feb2016To31Jul2016_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c59_AsOf31Jul2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="c60_AsOf31Jan2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-01-31</instant>
    </period>
  </context>
  <context id="c61_AsOf31Jul2017_PatriotMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:PatriotMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="c62_From1Feb2016To30Apr2016_PatriotMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:PatriotMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-04-30</endDate>
    </period>
  </context>
  <context id="c63_From1May2017To31Jul2017_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c64_From1May2016To31Jul2016_BigRiverMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">rex:BigRiverMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c65_AsOf31Jul2017_EmployeeStockOptionMember_StockOptionPlans2015Member">
    <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>2017-07-31</instant>
    </period>
  </context>
  <context id="c66_AsOf31Jul2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <instant>2017-07-31</instant>
    </period>
  </context>
  <context id="c67_From1Feb2017To31Jul2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="dei:LegalEntityAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c68_From1May2017To31Jul2017_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c69_From1May2016To31Jul2016_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c70_From1Feb2017To31Jul2017_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c71_From1Feb2016To31Jul2016_EthanolMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:EthanolMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c72_From1May2017To31Jul2017_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c73_From1May2016To31Jul2016_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c74_From1Feb2017To31Jul2017_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c75_From1Feb2016To31Jul2016_DriedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:DriedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c76_From1May2017To31Jul2017_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c77_From1May2016To31Jul2016_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c78_From1Feb2017To31Jul2017_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c79_From1Feb2016To31Jul2016_NonFoodGradeCornOilMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:NonFoodGradeCornOilMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c80_From1May2017To31Jul2017_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c81_From1May2016To31Jul2016_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c82_From1Feb2017To31Jul2017_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c83_From1Feb2016To31Jul2016_ModifiedDistillersGrainsMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:ModifiedDistillersGrainsMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c84_From1May2017To31Jul2017_OtherProductMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:OtherProductMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c85_From1May2016To31Jul2016_OtherProductMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:OtherProductMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c86_From1Feb2017To31Jul2017_OtherProductMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:OtherProductMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c87_From1Feb2016To31Jul2016_OtherProductMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:ProductOrServiceAxis">rex:OtherProductMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c88_From1May2017To31Jul2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-05-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c89_From1May2016To31Jul2016_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-05-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <context id="c90_From1Feb2017To31Jul2017_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2017-02-01</startDate>
      <endDate>2017-07-31</endDate>
    </period>
  </context>
  <context id="c91_From1Feb2016To31Jul2016_OneEarthEnergyAndNuGenEnergyMember">
    <entity>
      <identifier scheme="http://www.sec.gov/CIK">0000744187</identifier>
      <segment>
        <xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">rex:OneEarthEnergyAndNuGenEnergyMember</xbrldi:explicitMember>
      </segment>
    </entity>
    <period>
      <startDate>2016-02-01</startDate>
      <endDate>2016-07-31</endDate>
    </period>
  </context>
  <unit id="usd">
    <measure>iso4217:USD</measure>
  </unit>
  <unit id="shares">
    <measure>xbrli:shares</measure>
  </unit>
  <unit id="usdPershares">
    <divide>
      <unitNumerator>
        <measure>iso4217:USD</measure>
      </unitNumerator>
      <unitDenominator>
        <measure>xbrli:shares</measure>
      </unitDenominator>
    </divide>
  </unit>
  <unit id="pure">
    <measure>xbrli:pure</measure>
  </unit>
  <unit id="bu">
    <measure>utr:bu</measure>
  </unit>
  <unit id="gal">
    <measure>utr:gal</measure>
  </unit>
  <unit id="t">
    <measure>utr:T</measure>
  </unit>
  <unit id="lb">
    <measure>utr:lb</measure>
  </unit>
  <link:footnoteLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_0" xml:lang="en-US">Commodity futures are included in &quot;Prepaid expenses and other current assets&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf31Jul2017_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf31Jul2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf31Jul2017_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_3" xml:lang="en-US">The forward purchase contract asset is included in &quot;Prepaid expenses and other current assets&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c0_AsOf31Jul2017_usd" xlink:href="#_ForwardPurchaseContractsAsset-c0_AsOf31Jul2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c0_AsOf31Jul2017_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_1" xml:lang="en-US">The investment in cooperative is included in &quot;Other assets&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf31Jul2017_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c0_AsOf31Jul2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf31Jul2017_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_2" xml:lang="en-US">The forward purchase contract liability is included in &quot;Accrued expenses and other current liabilities&quot; on the accompanying Consolidated Condensed Balance Sheets.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c0_AsOf31Jul2017_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c0_AsOf31Jul2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c0_AsOf31Jul2017_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd" xlink:href="#_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd" xlink:to="ftnt_0" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractsAsset-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd" xlink:href="#_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd" xlink:to="ftnt_3" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd" xlink:href="#_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd" xlink:to="ftnt_1" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd" xlink:href="#_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd" xlink:to="ftnt_2" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c52_AsOf31Jul2017_CommodityContractMember_usd" xlink:href="#_DerivativeAssets-c52_AsOf31Jul2017_CommodityContractMember_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_4" xml:lang="en-US">Commodity futures are included in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million bushels of corn at July 31, 2017 and January 31, 2017, respectively.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c52_AsOf31Jul2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c53_AsOf31Jan2017_CommodityContractMember_usd" xlink:href="#_DerivativeAssets-c53_AsOf31Jan2017_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c53_AsOf31Jan2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c52_AsOf31Jul2017_CommodityContractMember_usd" xlink:href="#_DerivativeLiabilities-c52_AsOf31Jul2017_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c52_AsOf31Jul2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c53_AsOf31Jan2017_CommodityContractMember_usd" xlink:href="#_DerivativeLiabilities-c53_AsOf31Jan2017_CommodityContractMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c53_AsOf31Jan2017_CommodityContractMember_usd" xlink:to="ftnt_4" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c54_AsOf31Jul2017_ForwardContractsMember_usd" xlink:href="#_DerivativeAssets-c54_AsOf31Jul2017_ForwardContractsMember_usd"/>
    <link:footnote xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:label="ftnt_5" xml:lang="en-US">Forward purchase contracts assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels of corn at July 31, 2017 and January 31, 2017, respectively.</link:footnote>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c54_AsOf31Jul2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeAssets-c55_AsOf31Jan2017_ForwardContractsMember_usd" xlink:href="#_DerivativeAssets-c55_AsOf31Jan2017_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeAssets-c55_AsOf31Jan2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c54_AsOf31Jul2017_ForwardContractsMember_usd" xlink:href="#_DerivativeLiabilities-c54_AsOf31Jul2017_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c54_AsOf31Jul2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
    <link:loc xlink:type="locator" xlink:label="_DerivativeLiabilities-c55_AsOf31Jan2017_ForwardContractsMember_usd" xlink:href="#_DerivativeLiabilities-c55_AsOf31Jan2017_ForwardContractsMember_usd"/>
    <link:footnoteArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" xlink:from="_DerivativeLiabilities-c55_AsOf31Jan2017_ForwardContractsMember_usd" xlink:to="ftnt_5" order="1"/>
  </link:footnoteLink>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">185997000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">188576000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">379000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">130000</us-gaap:RestrictedCashAndCashEquivalentsAtCarryingValue>
  <us-gaap:AccountsReceivableNetCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">10938000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:AccountsReceivableNetCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">11901000</us-gaap:AccountsReceivableNetCurrent>
  <us-gaap:InventoryNet unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">22091000</us-gaap:InventoryNet>
  <us-gaap:InventoryNet unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">17057000</us-gaap:InventoryNet>
  <us-gaap:IncomeTaxesReceivable unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">1527000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:IncomeTaxesReceivable unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">1070000</us-gaap:IncomeTaxesReceivable>
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">7535000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:PrepaidExpenseAndOtherAssetsCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">6959000</us-gaap:PrepaidExpenseAndOtherAssetsCurrent>
  <us-gaap:DeferredTaxAssetsNetNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">824000</us-gaap:DeferredTaxAssetsNetNoncurrent>
  <us-gaap:AssetsCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">228467000</us-gaap:AssetsCurrent>
  <us-gaap:AssetsCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">226517000</us-gaap:AssetsCurrent>
  <us-gaap:PropertyPlantAndEquipmentNet unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">187545000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:PropertyPlantAndEquipmentNet unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">182761000</us-gaap:PropertyPlantAndEquipmentNet>
  <us-gaap:OtherAssetsNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">6720000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:OtherAssetsNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">6913000</us-gaap:OtherAssetsNoncurrent>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">36665000</us-gaap:EquityMethodInvestments>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">37833000</us-gaap:EquityMethodInvestments>
  <us-gaap:Assets unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">459397000</us-gaap:Assets>
  <us-gaap:Assets unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">454024000</us-gaap:Assets>
  <us-gaap:AccountsPayableTradeCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">11251000</us-gaap:AccountsPayableTradeCurrent>
  <us-gaap:AccountsPayableTradeCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">9171000</us-gaap:AccountsPayableTradeCurrent>
  <us-gaap:OtherLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">7442000</us-gaap:OtherLiabilitiesCurrent>
  <us-gaap:OtherLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">13348000</us-gaap:OtherLiabilitiesCurrent>
  <us-gaap:LiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">18693000</us-gaap:LiabilitiesCurrent>
  <us-gaap:LiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">22519000</us-gaap:LiabilitiesCurrent>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">40848000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:DeferredTaxLiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">41135000</us-gaap:DeferredTaxLiabilitiesNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">2260000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:OtherLiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2096000</us-gaap:OtherLiabilitiesNoncurrent>
  <us-gaap:LiabilitiesNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">43108000</us-gaap:LiabilitiesNoncurrent>
  <us-gaap:LiabilitiesNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">43231000</us-gaap:LiabilitiesNoncurrent>
  <us-gaap:CommonStockValue unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">299000</us-gaap:CommonStockValue>
  <us-gaap:CommonStockValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">299000</us-gaap:CommonStockValue>
  <us-gaap:AdditionalPaidInCapitalCommonStock unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">146851000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:AdditionalPaidInCapitalCommonStock unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">145767000</us-gaap:AdditionalPaidInCapitalCommonStock>
  <us-gaap:RetainedEarningsAccumulatedDeficit unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">515692000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:RetainedEarningsAccumulatedDeficit unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">508207000</us-gaap:RetainedEarningsAccumulatedDeficit>
  <us-gaap:TreasuryStockValue unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">313658000</us-gaap:TreasuryStockValue>
  <us-gaap:TreasuryStockValue unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">313838000</us-gaap:TreasuryStockValue>
  <us-gaap:StockholdersEquity unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">349184000</us-gaap:StockholdersEquity>
  <us-gaap:StockholdersEquity unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">340435000</us-gaap:StockholdersEquity>
  <us-gaap:MinorityInterest unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">48412000</us-gaap:MinorityInterest>
  <us-gaap:MinorityInterest unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">47839000</us-gaap:MinorityInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">397596000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">388274000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:LiabilitiesAndStockholdersEquity unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">459397000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:LiabilitiesAndStockholdersEquity unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">454024000</us-gaap:LiabilitiesAndStockholdersEquity>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">108744000</us-gaap:SalesRevenueNet>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">115707000</us-gaap:SalesRevenueNet>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">221887000</us-gaap:SalesRevenueNet>
  <us-gaap:SalesRevenueNet unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">215929000</us-gaap:SalesRevenueNet>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">97963000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">98423000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">198617000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:CostOfGoodsAndServicesSold unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">190223000</us-gaap:CostOfGoodsAndServicesSold>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">10781000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">17284000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">23270000</us-gaap:GrossProfit>
  <us-gaap:GrossProfit unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">25706000</us-gaap:GrossProfit>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">4779000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">5206000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">10181000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:SellingGeneralAndAdministrativeExpense unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">9233000</us-gaap:SellingGeneralAndAdministrativeExpense>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">137000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">1186000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">837000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1419000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:GainLossOnSaleOfInvestments unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">-13000</us-gaap:GainLossOnSaleOfInvestments>
  <us-gaap:GainLossOnSaleOfInvestments unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-13000</us-gaap:GainLossOnSaleOfInvestments>
  <us-gaap:GainLossOnSaleOfInvestments unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">192000</us-gaap:GainLossOnSaleOfInvestments>
  <us-gaap:GainLossOnSaleOfPropertyPlantEquipment unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">13000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
  <us-gaap:GainLossOnSaleOfPropertyPlantEquipment unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">185000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
  <us-gaap:GainLossOnSaleOfPropertyPlantEquipment unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">13000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
  <us-gaap:GainLossOnSaleOfPropertyPlantEquipment unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">185000</us-gaap:GainLossOnSaleOfPropertyPlantEquipment>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">334000</us-gaap:InterestAndOtherIncome>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">97000</us-gaap:InterestAndOtherIncome>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">549000</us-gaap:InterestAndOtherIncome>
  <us-gaap:InterestAndOtherIncome unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">257000</us-gaap:InterestAndOtherIncome>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">6473000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">13546000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">14475000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">18526000</us-gaap:IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">2302000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">4517000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">4692000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:IncomeTaxExpenseBenefit unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">6031000</us-gaap:IncomeTaxExpenseBenefit>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">4171000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">9029000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">9783000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">12495000</us-gaap:ProfitLoss>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">1230000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">853000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">2298000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLossAttributableToNoncontrollingInterest unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1481000</us-gaap:NetIncomeLossAttributableToNoncontrollingInterest>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">2941000</us-gaap:NetIncomeLoss>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">8176000</us-gaap:NetIncomeLoss>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">7485000</us-gaap:NetIncomeLoss>
  <us-gaap:NetIncomeLoss unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">11014000</us-gaap:NetIncomeLoss>
  <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted unitRef="shares" contextRef="c2_From1May2017To31Jul2017" decimals="-3">6593000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
  <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted unitRef="shares" contextRef="c3_From1May2016To31Jul2016" decimals="-3">6586000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
  <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted unitRef="shares" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">6592000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
  <us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted unitRef="shares" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">6590000</us-gaap:WeightedAverageNumberOfShareOutstandingBasicAndDiluted>
  <us-gaap:EarningsPerShareBasicAndDiluted unitRef="usdPershares" contextRef="c2_From1May2017To31Jul2017" decimals="2">0.45</us-gaap:EarningsPerShareBasicAndDiluted>
  <us-gaap:EarningsPerShareBasicAndDiluted unitRef="usdPershares" contextRef="c3_From1May2016To31Jul2016" decimals="2">1.24</us-gaap:EarningsPerShareBasicAndDiluted>
  <us-gaap:EarningsPerShareBasicAndDiluted unitRef="usdPershares" contextRef="c4_From1Feb2017To31Jul2017" decimals="2">1.14</us-gaap:EarningsPerShareBasicAndDiluted>
  <us-gaap:EarningsPerShareBasicAndDiluted unitRef="usdPershares" contextRef="c5_From1Feb2016To31Jul2016" decimals="2">1.67</us-gaap:EarningsPerShareBasicAndDiluted>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c6_AsOf31Jan2017_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c6_AsOf31Jan2017_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c7_AsOf31Jan2017_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c7_AsOf31Jan2017_TreasuryStockMember" decimals="-3">-313838000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c8_AsOf31Jan2017_AdditionalPaidInCapitalMember" decimals="-3">145767000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c9_AsOf31Jan2017_RetainedEarningsMember" decimals="-3">508207000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c10_AsOf31Jan2017_NoncontrollingInterestMember" decimals="-3">47839000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c11_From1Feb2017To31Jul2017_RetainedEarningsMember" decimals="-3">7485000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c12_From1Feb2017To31Jul2017_NoncontrollingInterestMember" decimals="-3">2298000</us-gaap:ProfitLoss>
  <us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation unitRef="shares" contextRef="c13_From1Feb2017To31Jul2017_TreasuryStockMember" decimals="-3">-5000</us-gaap:StockIssuedDuringPeriodSharesShareBasedCompensation>
  <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation unitRef="usd" contextRef="c13_From1Feb2017To31Jul2017_TreasuryStockMember" decimals="-3">180000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
  <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation unitRef="usd" contextRef="c14_From1Feb2017To31Jul2017_AdditionalPaidInCapitalMember" decimals="-3">1084000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
  <us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">1264000</us-gaap:StockIssuedDuringPeriodValueShareBasedCompensation>
  <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders unitRef="usd" contextRef="c12_From1Feb2017To31Jul2017_NoncontrollingInterestMember" decimals="-3">1725000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
  <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">1725000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c15_AsOf31Jul2017_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c15_AsOf31Jul2017_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c16_AsOf31Jul2017_TreasuryStockMember" decimals="-3">23287000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c16_AsOf31Jul2017_TreasuryStockMember" decimals="-3">-313658000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c17_AsOf31Jul2017_AdditionalPaidInCapitalMember" decimals="-3">146851000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c18_AsOf31Jul2017_RetainedEarningsMember" decimals="-3">515692000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c19_AsOf31Jul2017_NoncontrollingInterestMember" decimals="-3">48412000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c20_AsOf31Jan2016_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c20_AsOf31Jan2016_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c21_AsOf31Jan2016_TreasuryStockMember" decimals="-3">23204000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c21_AsOf31Jan2016_TreasuryStockMember" decimals="-3">-309754000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c22_AsOf31Jan2016_AdditionalPaidInCapitalMember" decimals="-3">144844000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c23_AsOf31Jan2016_RetainedEarningsMember" decimals="-3">475874000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c24_AsOf31Jan2016_NoncontrollingInterestMember" decimals="-3">44496000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c25_AsOf31Jan2016" decimals="-3">355759000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c26_From1Feb2016To31Jul2016_RetainedEarningsMember" decimals="-3">11014000</us-gaap:ProfitLoss>
  <us-gaap:ProfitLoss unitRef="usd" contextRef="c27_From1Feb2016To31Jul2016_NoncontrollingInterestMember" decimals="-3">1481000</us-gaap:ProfitLoss>
  <us-gaap:TreasuryStockSharesAcquired unitRef="shares" contextRef="c28_From1Feb2016To31Jul2016_TreasuryStockMember" decimals="-3">88000</us-gaap:TreasuryStockSharesAcquired>
  <us-gaap:TreasuryStockValueAcquiredCostMethod unitRef="usd" contextRef="c28_From1Feb2016To31Jul2016_TreasuryStockMember" decimals="-3">4353000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <us-gaap:TreasuryStockValueAcquiredCostMethod unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">4353000</us-gaap:TreasuryStockValueAcquiredCostMethod>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c28_From1Feb2016To31Jul2016_TreasuryStockMember" decimals="-3">258000</us-gaap:ShareBasedCompensation>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c29_From1Feb2016To31Jul2016_AdditionalPaidInCapitalMember" decimals="-3">877000</us-gaap:ShareBasedCompensation>
  <us-gaap:ShareBasedCompensation unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1135000</us-gaap:ShareBasedCompensation>
  <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders unitRef="usd" contextRef="c27_From1Feb2016To31Jul2016_NoncontrollingInterestMember" decimals="-3">2096000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
  <us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">2096000</us-gaap:MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c30_AsOf31Jul2016_CommonStockMember" decimals="-3">29853000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c30_AsOf31Jul2016_CommonStockMember" decimals="-3">299000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:SharesOutstanding unitRef="shares" contextRef="c31_AsOf31Jul2016_TreasuryStockMember" decimals="-3">23292000</us-gaap:SharesOutstanding>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c31_AsOf31Jul2016_TreasuryStockMember" decimals="-3">-313849000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c32_AsOf31Jul2016_AdditionalPaidInCapitalMember" decimals="-3">145721000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c33_AsOf31Jul2016_RetainedEarningsMember" decimals="-3">486888000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c34_AsOf31Jul2016_NoncontrollingInterestMember" decimals="-3">43881000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest unitRef="usd" contextRef="c35_AsOf31Jul2016" decimals="-3">362940000</us-gaap:StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest>
  <us-gaap:DepreciationDepletionAndAmortization unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">9955000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:DepreciationDepletionAndAmortization unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">9748000</us-gaap:DepreciationDepletionAndAmortization>
  <us-gaap:EquityMethodInvestmentDividendsOrDistributions unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">2005000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
  <us-gaap:EquityMethodInvestmentDividendsOrDistributions unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1504000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
  <us-gaap:GainLossOnInvestments unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">13000</us-gaap:GainLossOnInvestments>
  <us-gaap:GainLossOnInvestments unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-192000</us-gaap:GainLossOnInvestments>
  <us-gaap:DeferredIncomeTaxExpenseBenefit unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">537000</us-gaap:DeferredIncomeTaxExpenseBenefit>
  <us-gaap:AllocatedShareBasedCompensationExpense unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">350000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:AllocatedShareBasedCompensationExpense unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">40000</us-gaap:AllocatedShareBasedCompensationExpense>
  <us-gaap:IncreaseDecreaseInAccountsReceivable unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">886000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInAccountsReceivable unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-4250000</us-gaap:IncreaseDecreaseInAccountsReceivable>
  <us-gaap:IncreaseDecreaseInInventories unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-5034000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncreaseDecreaseInInventories unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-6455000</us-gaap:IncreaseDecreaseInInventories>
  <us-gaap:IncreaseDecreaseInOtherOperatingAssets unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-953000</us-gaap:IncreaseDecreaseInOtherOperatingAssets>
  <us-gaap:IncreaseDecreaseInOtherOperatingAssets unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">2989000</us-gaap:IncreaseDecreaseInOtherOperatingAssets>
  <us-gaap:IncreaseDecreaseInAccountsPayableTrade unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">1678000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
  <us-gaap:IncreaseDecreaseInAccountsPayableTrade unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-3087000</us-gaap:IncreaseDecreaseInAccountsPayableTrade>
  <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-4828000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
  <us-gaap:IncreaseDecreaseInOtherOperatingLiabilities unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">169000</us-gaap:IncreaseDecreaseInOtherOperatingLiabilities>
  <us-gaap:NetCashProvidedByUsedInOperatingActivities unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">13542000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
  <us-gaap:NetCashProvidedByUsedInOperatingActivities unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">11357000</us-gaap:NetCashProvidedByUsedInOperatingActivities>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">14366000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:PaymentsToAcquirePropertyPlantAndEquipment unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">9334000</us-gaap:PaymentsToAcquirePropertyPlantAndEquipment>
  <us-gaap:IncreaseDecreaseInRestrictedCash unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">249000</us-gaap:IncreaseDecreaseInRestrictedCash>
  <us-gaap:IncreaseDecreaseInRestrictedCash unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">56000</us-gaap:IncreaseDecreaseInRestrictedCash>
  <us-gaap:ProceedsFromSaleOfRestrictedInvestments unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">100000</us-gaap:ProceedsFromSaleOfRestrictedInvestments>
  <us-gaap:ProceedsFromSaleOfRestrictedInvestments unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">409000</us-gaap:ProceedsFromSaleOfRestrictedInvestments>
  <us-gaap:ProceedsFromSaleOfLongtermInvestments unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">64000</us-gaap:ProceedsFromSaleOfLongtermInvestments>
  <us-gaap:ProceedsFromSaleOfLongtermInvestments unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">2275000</us-gaap:ProceedsFromSaleOfLongtermInvestments>
  <us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">42000</us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment>
  <us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1028000</us-gaap:ProceedsFromSaleOfPropertyPlantAndEquipment>
  <us-gaap:PaymentsForProceedsFromOtherInvestingActivities unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-13000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
  <us-gaap:PaymentsForProceedsFromOtherInvestingActivities unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-12000</us-gaap:PaymentsForProceedsFromOtherInvestingActivities>
  <us-gaap:NetCashProvidedByUsedInInvestingActivities unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-14396000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
  <us-gaap:NetCashProvidedByUsedInInvestingActivities unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-5666000</us-gaap:NetCashProvidedByUsedInInvestingActivities>
  <us-gaap:PaymentsToMinorityShareholders unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">1725000</us-gaap:PaymentsToMinorityShareholders>
  <us-gaap:PaymentsToMinorityShareholders unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">2096000</us-gaap:PaymentsToMinorityShareholders>
  <us-gaap:PaymentsForRepurchaseOfCommonStock unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">4709000</us-gaap:PaymentsForRepurchaseOfCommonStock>
  <us-gaap:NetCashProvidedByUsedInFinancingActivities unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-1725000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
  <us-gaap:NetCashProvidedByUsedInFinancingActivities unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-6805000</us-gaap:NetCashProvidedByUsedInFinancingActivities>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">-2579000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">-1114000</us-gaap:CashAndCashEquivalentsPeriodIncreaseDecrease>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c25_AsOf31Jan2016" decimals="-3">135765000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <us-gaap:CashAndCashEquivalentsAtCarryingValue unitRef="usd" contextRef="c35_AsOf31Jul2016" decimals="-3">134651000</us-gaap:CashAndCashEquivalentsAtCarryingValue>
  <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">744000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
  <rex:NonCashInvestingActivitiesAccruedCapitalExpenditures unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1350000</rex:NonCashInvestingActivitiesAccruedCapitalExpenditures>
  <rex:NonCashFinancingActivitiesEquityAwardsIssued unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">281000</rex:NonCashFinancingActivitiesEquityAwardsIssued>
  <rex:NonCashFinancingActivitiesStockAwardsIssued unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">1195000</rex:NonCashFinancingActivitiesStockAwardsIssued>
  <rex:NonCashFinancingActivitiesStockAwardsIssued unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1095000</rex:NonCashFinancingActivitiesStockAwardsIssued>
  <dei:EntityRegistrantName contextRef="c4_From1Feb2017To31Jul2017">REX AMERICAN RESOURCES Corp</dei:EntityRegistrantName>
  <dei:DocumentType contextRef="c4_From1Feb2017To31Jul2017">10-Q</dei:DocumentType>
  <dei:CurrentFiscalYearEndDate contextRef="c4_From1Feb2017To31Jul2017">--01-31</dei:CurrentFiscalYearEndDate>
  <dei:EntityCommonStockSharesOutstanding unitRef="shares" contextRef="c36_AsOf5Sep2017" decimals="INF">6558679</dei:EntityCommonStockSharesOutstanding>
  <dei:AmendmentFlag contextRef="c4_From1Feb2017To31Jul2017">false</dei:AmendmentFlag>
  <dei:EntityCentralIndexKey contextRef="c4_From1Feb2017To31Jul2017">0000744187</dei:EntityCentralIndexKey>
  <dei:EntityCurrentReportingStatus contextRef="c4_From1Feb2017To31Jul2017">Yes</dei:EntityCurrentReportingStatus>
  <dei:EntityVoluntaryFilers contextRef="c4_From1Feb2017To31Jul2017">No</dei:EntityVoluntaryFilers>
  <dei:EntityFilerCategory contextRef="c4_From1Feb2017To31Jul2017">Accelerated Filer</dei:EntityFilerCategory>
  <dei:EntityWellKnownSeasonedIssuer contextRef="c4_From1Feb2017To31Jul2017">No</dei:EntityWellKnownSeasonedIssuer>
  <dei:DocumentFiscalYearFocus contextRef="c4_From1Feb2017To31Jul2017">2017</dei:DocumentFiscalYearFocus>
  <dei:DocumentFiscalPeriodFocus contextRef="c4_From1Feb2017To31Jul2017">Q2</dei:DocumentFiscalPeriodFocus>
  <dei:DocumentPeriodEndDate contextRef="c4_From1Feb2017To31Jul2017">2017-07-31</dei:DocumentPeriodEndDate>
  <us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0&quot;&gt;&lt;b&gt;Note 1. &lt;i&gt;Consolidated Condensed Financial Statements&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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, 2017 included in these financial statements has been
derived from the audited consolidated financial statements included in the Company&amp;#x2019;s Annual Report on Form 10-K for the year
ended January 31, 2017 (fiscal year 2016). 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&amp;#x2019;s Annual Report on
Form 10-K for the year ended January 31, 2017. 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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Basis
of Consolidation &amp;#x2013; The consolidated condensed financial statements in this report include the operating results and financial
position of REX American Resources Corporation and its wholly and majority owned subsidiaries. All intercompany balances and transactions
have been eliminated. The Company includes the results of operations of One Earth Energy, LLC (&amp;#x201c;One Earth&amp;#x201d;) in its
Consolidated Condensed Statements of Operations on a delayed basis of one month.&lt;/font&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Nature of Operations &amp;#x2013; The Company
operates in one reportable segment, alternative energy, and has equity investments in three ethanol limited liability companies,
two of which are majority ownership interests.&lt;/p&gt;&lt;br/&gt;</us-gaap:OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock>
  <us-gaap:NumberOfOperatingSegments unitRef="pure" contextRef="c4_From1Feb2017To31Jul2017" decimals="0">1</us-gaap:NumberOfOperatingSegments>
  <rex:NumberOfEthanolEntitiesUnderOwnershipInterest unitRef="pure" contextRef="c4_From1Feb2017To31Jul2017" decimals="0">3</rex:NumberOfEthanolEntitiesUnderOwnershipInterest>
  <rex:NumberOfEthanolEntitiesUnderMajorityOwnershipInterest unitRef="pure" contextRef="c4_From1Feb2017To31Jul2017" decimals="0">2</rex:NumberOfEthanolEntitiesUnderMajorityOwnershipInterest>
  <us-gaap:SignificantAccountingPoliciesTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 2. &lt;i&gt;Accounting Policies&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&amp;#x2019;s fiscal year 2016 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;br/&gt;&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Revenue Recognition&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Cost of Sales &lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt&quot;&gt;Selling, General and Administrative Expenses&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.&lt;/font&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0in&quot;&gt;Financial Instruments&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &amp;#x201c;normal purchases and normal
sales&amp;#x201d; scope exemption of Accounting Standards Codification (&amp;#x201c;ASC&amp;#x201d;) 815, &amp;#x201c;&lt;i&gt;Derivatives and Hedging&lt;/i&gt;&amp;#x201d;
(&amp;#x201c;ASC 815&amp;#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. During fiscal year 2015, the Company began to carry
a portion of its forward grain purchase contracts at fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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 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;br/&gt;&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Income Taxes&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company applies an effective tax rate
to interim periods that is consistent with the Company&amp;#x2019;s estimated annual tax rate as adjusted for discrete items impacting
the interim periods. The Company&amp;#x2019;s estimated annual tax rate does not reflect the impact of its refined coal operation and
the expected federal income tax credits to be earned beginning in the third quarter of fiscal year 2017 (see Note 16). 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 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 approximately $6.5 million and $1.0 million
during the six months ended July 31, 2017 and 2016, respectively. The Company received no refunds of income taxes during the six
months ended July 31, 2017 and 2016.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;As of July 31, 2017 and January 31, 2017,
total unrecognized tax benefits were approximately $2.0 million and $1.9 million, respectively. Accrued penalties and interest
were approximately $0.3 million and $0.2 million at July 31, 2017 and January 31, 2017, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $1.3 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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently 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. There were no significant permanent write-downs of inventory
at July 31, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory 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;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;4,302&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,262&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Work in process&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,074&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,359&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Grain and other raw materials&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,715&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;22,091&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Property and Equipment &lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Property and equipment is recorded at cost.
Depreciation is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements,
and 2 to 20 years for fixtures and equipment.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In accordance with ASC 360-10 &amp;#x201c;&lt;i&gt;Impairment
or Disposal of Long-Lived Assets&lt;/i&gt;&amp;#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, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first six months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&amp;#x2019;s management performing cash flow analysis and
have represented management&amp;#x2019;s estimate of the excess of net book value over fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&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 of an
asset group exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by
which the asset group&amp;#x2019;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of
the asset group using a discounted cash flow model based on market participant assumptions (for income producing asset groups)
or by obtaining appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Investments &lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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 consolidates the results of two majority owned
subsidiaries, One Earth and NuGen Energy, LLC (&amp;#x201c;NuGen&amp;#x201d;). The results of One Earth are included on a delayed basis of
one month lag as One Earth has a fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there
is no lag in reporting the results of NuGen. 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, &amp;#x201c;&lt;i&gt;Investments-Equity
Method and Joint Ventures&lt;/i&gt;&amp;#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. Any unallocated excess is treated as goodwill and is recorded
as a component of the carrying value of the equity method investee. Investments in businesses that the Company does not control
but for which it has the ability to exercise significant influence over operating and financial matters are accounted for using
the equity method. The Company accounts for its investment in Big River Resources, LLC (&amp;#x201c;Big River&amp;#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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Accounting Changes and Recently Issued Accounting Standards
&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In March 2016, the Financial Accounting Standards
Board (&amp;#x201c;FASB&amp;#x201d;) issued Accounting Standards Update (&amp;#x201c;ASU&amp;#x201d;) 2016-09, &amp;#x201c;&lt;i&gt;Improvements to Employee Share-Based
Payment Accounting&lt;/i&gt;&amp;#x201d; (&amp;#x201c;ASU 2016-09&amp;#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation.
The Company adopted this standard February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&amp;#x2019;s consolidated
financial statements and related disclosures.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In February 2016, the FASB issued ASU 2016-02
&amp;#x201c;&lt;i&gt;Leases&lt;/i&gt;&amp;#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company will be required to adopt the
amended guidance in ASC Topic 606 &amp;#x201c;&lt;i&gt;Revenue from Contracts with Customers&lt;/i&gt;&amp;#x201d;, which requires revenue recognition
to reflect the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated
standard permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required
adoption of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company is progressing in its evaluation
of adopting this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial
statements with respect to measurement and recognition of revenue. The Company expects to adopt this guidance using the modified
prospective method. The Company is still evaluating the impact of adopting this guidance on disclosures in the consolidated financial
statements.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In November 2015, the FASB issued ASU 2015-17
&amp;#x201c;&lt;i&gt;Balance Sheet Classification of Deferred Taxes&lt;/i&gt;&amp;#x201d;, (&amp;#x201c;ASU 2015-17&amp;#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.&lt;/p&gt;&lt;br/&gt;</us-gaap:SignificantAccountingPoliciesTextBlock>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kuld3LDZfJ5+SrbMl+65Y3vk35TIYwV1l/eRWaIr0FXyLkdfF2A5lGg/P7TH29CbpPuG6inl+TTHpeLqRCmAEUBEwcU/NpzeIwmufA6IPOp2Mv9A1PHymTKAtzmCOK26moSHkHnmrAO1zcw==] CSR-->
  <us-gaap:RevenueRecognitionPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Revenue Recognition&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.&lt;/p&gt;</us-gaap:RevenueRecognitionPolicyTextBlock>
  <us-gaap:CostOfSalesPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Cost of Sales &lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges&lt;/p&gt;</us-gaap:CostOfSalesPolicyTextBlock>
  <us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt&quot;&gt;Selling, General and Administrative Expenses&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.&lt;/font&gt;&lt;/p&gt;</us-gaap:SellingGeneralAndAdministrativeExpensesPolicyTextBlock>
  <us-gaap:FairValueOfFinancialInstrumentsPolicy contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0in&quot;&gt;Financial Instruments&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &amp;#x201c;normal purchases and normal
sales&amp;#x201d; scope exemption of Accounting Standards Codification (&amp;#x201c;ASC&amp;#x201d;) 815, &amp;#x201c;&lt;i&gt;Derivatives and Hedging&lt;/i&gt;&amp;#x201d;
(&amp;#x201c;ASC 815&amp;#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. During fiscal year 2015, the Company began to carry
a portion of its forward grain purchase contracts at fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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 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;</us-gaap:FairValueOfFinancialInstrumentsPolicy>
  <us-gaap:IncomeTaxPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;Income Taxes&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company applies an effective tax rate
to interim periods that is consistent with the Company&amp;#x2019;s estimated annual tax rate as adjusted for discrete items impacting
the interim periods. The Company&amp;#x2019;s estimated annual tax rate does not reflect the impact of its refined coal operation and
the expected federal income tax credits to be earned beginning in the third quarter of fiscal year 2017 (see Note 16). 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 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 approximately $6.5 million and $1.0 million
during the six months ended July 31, 2017 and 2016, respectively. The Company received no refunds of income taxes during the six
months ended July 31, 2017 and 2016.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;As of July 31, 2017 and January 31, 2017,
total unrecognized tax benefits were approximately $2.0 million and $1.9 million, respectively. Accrued penalties and interest
were approximately $0.3 million and $0.2 million at July 31, 2017 and January 31, 2017, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $1.3 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;</us-gaap:IncomeTaxPolicyTextBlock>
  <us-gaap:IncomeTaxesPaid unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-5">6500000</us-gaap:IncomeTaxesPaid>
  <us-gaap:IncomeTaxesPaid unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-5">1000000</us-gaap:IncomeTaxesPaid>
  <us-gaap:ProceedsFromIncomeTaxRefunds unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-6">0</us-gaap:ProceedsFromIncomeTaxRefunds>
  <us-gaap:ProceedsFromIncomeTaxRefunds unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-6">0</us-gaap:ProceedsFromIncomeTaxRefunds>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c37_AsOf31Jul2017_ApproximateMember" decimals="-5">2000000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:UnrecognizedTaxBenefits unitRef="usd" contextRef="c38_AsOf31Jan2017_ApproximateMember" decimals="-5">1900000</us-gaap:UnrecognizedTaxBenefits>
  <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-5">300000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
  <us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-5">200000</us-gaap:IncomeTaxExaminationPenaltiesAndInterestAccrued>
  <us-gaap:UnrecognizedTaxBenefitsPeriodIncreaseDecrease unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-5">1300000</us-gaap:UnrecognizedTaxBenefitsPeriodIncreaseDecrease>
  <us-gaap:InventoryPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Inventories&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently 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. There were no significant permanent write-downs of inventory
at July 31, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory 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;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;4,302&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,262&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Work in process&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,074&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,359&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Grain and other raw materials&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,715&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;22,091&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:InventoryPolicyTextBlock>
  <us-gaap:PropertyPlantAndEquipmentPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Property and Equipment &lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Property and equipment is recorded at cost.
Depreciation is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements,
and 2 to 20 years for fixtures and equipment.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In accordance with ASC 360-10 &amp;#x201c;&lt;i&gt;Impairment
or Disposal of Long-Lived Assets&lt;/i&gt;&amp;#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, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first six months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&amp;#x2019;s management performing cash flow analysis and
have represented management&amp;#x2019;s estimate of the excess of net book value over fair value.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt&quot;&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 of an
asset group exceeds its estimated undiscounted future cash flows, the Company recognizes an impairment charge for the amount by
which the asset group&amp;#x2019;s carrying amount exceeds its fair value, if any. The Company generally determines the fair value of
the asset group using a discounted cash flow model based on market participant assumptions (for income producing asset groups)
or by obtaining appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).&lt;/p&gt;</us-gaap:PropertyPlantAndEquipmentPolicyTextBlock>
  <us-gaap:PropertyPlantAndEquipmentDepreciationMethods contextRef="c4_From1Feb2017To31Jul2017">Depreciation is computed using the straight-line method</us-gaap:PropertyPlantAndEquipmentDepreciationMethods>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c39_From1Feb2017To31Jul2017_BuildingAndBuildingImprovementsMember_MinimumMember">15</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c40_From1Feb2017To31Jul2017_BuildingAndBuildingImprovementsMember_MaximumMember">40 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c41_From1Feb2017To31Jul2017_FixturesAndEquipmentMember_MinimumMember">2</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives contextRef="c42_From1Feb2017To31Jul2017_FixturesAndEquipmentMember_MaximumMember">20 years</us-gaap:PropertyPlantAndEquipmentEstimatedUsefulLives>
  <us-gaap:InvestmentPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Investments &lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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 consolidates the results of two majority owned
subsidiaries, One Earth and NuGen Energy, LLC (&amp;#x201c;NuGen&amp;#x201d;). The results of One Earth are included on a delayed basis of
one month lag as One Earth has a fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there
is no lag in reporting the results of NuGen. 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, &amp;#x201c;&lt;i&gt;Investments-Equity
Method and Joint Ventures&lt;/i&gt;&amp;#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. Any unallocated excess is treated as goodwill and is recorded
as a component of the carrying value of the equity method investee. Investments in businesses that the Company does not control
but for which it has the ability to exercise significant influence over operating and financial matters are accounted for using
the equity method. The Company accounts for its investment in Big River Resources, LLC (&amp;#x201c;Big River&amp;#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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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;</us-gaap:InvestmentPolicyTextBlock>
  <rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting unitRef="pure" contextRef="c43_From1Feb2017To31Jul2017_CostOfSalesMember" decimals="2">0.20</rex:MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting>
  <us-gaap:ComprehensiveIncomePolicyPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Comprehensive Income&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.&lt;/p&gt;</us-gaap:ComprehensiveIncomePolicyPolicyTextBlock>
  <us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Accounting Changes and Recently Issued Accounting Standards
&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In March 2016, the Financial Accounting Standards
Board (&amp;#x201c;FASB&amp;#x201d;) issued Accounting Standards Update (&amp;#x201c;ASU&amp;#x201d;) 2016-09, &amp;#x201c;&lt;i&gt;Improvements to Employee Share-Based
Payment Accounting&lt;/i&gt;&amp;#x201d; (&amp;#x201c;ASU 2016-09&amp;#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation.
The Company adopted this standard February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&amp;#x2019;s consolidated
financial statements and related disclosures.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In February 2016, the FASB issued ASU 2016-02
&amp;#x201c;&lt;i&gt;Leases&lt;/i&gt;&amp;#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company will be required to adopt the
amended guidance in ASC Topic 606 &amp;#x201c;&lt;i&gt;Revenue from Contracts with Customers&lt;/i&gt;&amp;#x201d;, which requires revenue recognition
to reflect the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated
standard permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required
adoption of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company is progressing in its evaluation
of adopting this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial
statements with respect to measurement and recognition of revenue. The Company expects to adopt this guidance using the modified
prospective method. The Company is still evaluating the impact of adopting this guidance on disclosures in the consolidated financial
statements.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;In November 2015, the FASB issued ASU 2015-17
&amp;#x201c;&lt;i&gt;Balance Sheet Classification of Deferred Taxes&lt;/i&gt;&amp;#x201d;, (&amp;#x201c;ASU 2015-17&amp;#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.&lt;/p&gt;</us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock>
  <us-gaap:ScheduleOfInventoryCurrentTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">The components of inventory are as follows as of the dates presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Ethanol and other finished goods&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;4,302&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,262&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Work in process&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,074&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,359&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Grain and other raw materials&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;14,715&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,436&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;22,091&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfInventoryCurrentTableTextBlock>
  <us-gaap:InventoryFinishedGoodsNetOfReserves unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">4302000</us-gaap:InventoryFinishedGoodsNetOfReserves>
  <us-gaap:InventoryFinishedGoodsNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">5262000</us-gaap:InventoryFinishedGoodsNetOfReserves>
  <us-gaap:InventoryWorkInProcessNetOfReserves unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">3074000</us-gaap:InventoryWorkInProcessNetOfReserves>
  <us-gaap:InventoryWorkInProcessNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2359000</us-gaap:InventoryWorkInProcessNetOfReserves>
  <us-gaap:InventoryRawMaterialsNetOfReserves unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">14715000</us-gaap:InventoryRawMaterialsNetOfReserves>
  <us-gaap:InventoryRawMaterialsNetOfReserves unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">9436000</us-gaap:InventoryRawMaterialsNetOfReserves>
  <us-gaap:LeasesOfLessorDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 3. &lt;i&gt;Leases&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;At July 31, 2017, the Company has lease agreements,
as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table
is a summary of future minimum rentals on such leases (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 50%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; border-bottom: Black 1px solid&quot;&gt;Years Ended January 31,&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Minimum&lt;br /&gt; Rentals&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 50%; padding-left: 10pt; text-indent: -10pt&quot;&gt;Remainder of 2018&lt;/td&gt;&lt;td style=&quot;width: 30%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 18%; text-align: right&quot;&gt;3,556&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2019&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,910&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2020&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5,379&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2021&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,580&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2022&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,948&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Thereafter&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,622&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;23,995&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:LeasesOfLessorDisclosureTextBlock>
  <us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">At July 31, 2017, the Company has lease agreements, as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table is a summary of future minimum rentals on such leases (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 50%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; border-bottom: Black 1px solid&quot;&gt;Years Ended January 31,&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;Minimum&lt;br /&gt; Rentals&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 50%; padding-left: 10pt; text-indent: -10pt&quot;&gt;Remainder of 2018&lt;/td&gt;&lt;td style=&quot;width: 30%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 18%; text-align: right&quot;&gt;3,556&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2019&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;6,910&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2020&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;5,379&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2021&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,580&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;2022&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,948&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Thereafter&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,622&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;23,995&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">3556000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueCurrent>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">6910000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInTwoYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">5379000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInThreeYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">3580000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFourYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">2948000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueInFiveYears>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">1622000</us-gaap:OperatingLeasesFutureMinimumPaymentsDueThereafter>
  <us-gaap:OperatingLeasesFutureMinimumPaymentsDue unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">23995000</us-gaap:OperatingLeasesFutureMinimumPaymentsDue>
  <us-gaap:FairValueDisclosuresTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 4. &lt;i&gt;Fair Value&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;&lt;font style=&quot;color: black&quot;&gt;The Company applies
ASC 820, &amp;#x201c;&lt;i&gt;Fair Value Measurements and Disclosures&amp;#x201d;&lt;/i&gt;, (&amp;#x201c;ASC 820&amp;#x201d;) which provides a framework for measuring
fair value under &lt;/font&gt;accounting principles generally accepted in the United States of America&lt;font style=&quot;color: black&quot;&gt;. 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;/font&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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&amp;#x2019;s own
credit standing and other specific factors, where appropriate. The fair values of property and equipment are determined by using
various models that discount future expected cash flows.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2017 are summarized below (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract asset (4)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;237&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;237&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;373&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;706&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Financial assets and liabilities measured
  at fair value on a recurring basis at January 31, 2017 are summarized below (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract asset (4)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;541&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(1) Commodity futures are included in &amp;#x201c;Prepaid
expenses and other current assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(2) The investment in cooperative is included
in &amp;#x201c;Other assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(3) The forward purchase contract liability
is included in &amp;#x201c;Accrued expenses and other current liabilities&amp;#x201d; on the accompanying Consolidated Condensed Balance
Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(4) The forward purchase contract asset is
included in &amp;#x201c;Prepaid expenses and other current assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;There were no assets measured at fair value
on a non-recurring basis at July 31, 2017 or January 31, 2017.&lt;/p&gt;&lt;br/&gt;</us-gaap:FairValueDisclosuresTextBlock>
  <us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract asset (4)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;237&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;237&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;373&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;706&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 1&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 2&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Level 3&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;color: black; text-align: left; border-bottom: Black 1px solid&quot;&gt;Fair Value&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%; color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; color: black; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract asset (4)&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Investment in cooperative (2)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total assets&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;333&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;541&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contract liability (3)&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;color: black; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; color: black; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; color: black; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(1) Commodity futures are included in &amp;#x201c;Prepaid
expenses and other current assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(2) The investment in cooperative is included
in &amp;#x201c;Other assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(3) The forward purchase contract liability
is included in &amp;#x201c;Accrued expenses and other current liabilities&amp;#x201d; on the accompanying Consolidated Condensed Balance
Sheets.&lt;/p&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;(4) The forward purchase contract asset is
included in &amp;#x201c;Prepaid expenses and other current assets&amp;#x201d; on the accompanying Consolidated Condensed Balance Sheets.&lt;/p&gt;</us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c44_AsOf31Jul2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c45_AsOf31Jul2017_FairValueInputsLevel2Member" decimals="-3">136000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c46_AsOf31Jul2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c0_AsOf31Jul2017_usd" unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">136000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c44_AsOf31Jul2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c45_AsOf31Jul2017_FairValueInputsLevel2Member" decimals="-3">237000</rex:ForwardPurchaseContractsAsset>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c46_AsOf31Jul2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c0_AsOf31Jul2017_usd" unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">237000</rex:ForwardPurchaseContractsAsset>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c44_AsOf31Jul2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c45_AsOf31Jul2017_FairValueInputsLevel2Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c46_AsOf31Jul2017_FairValueInputsLevel3Member" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c0_AsOf31Jul2017_usd" unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c45_AsOf31Jul2017_FairValueInputsLevel2Member" decimals="-3">373000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c46_AsOf31Jul2017_FairValueInputsLevel3Member" decimals="-3">333000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">706000</us-gaap:AssetsFairValueDisclosure>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c44_AsOf31Jul2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c44_AsOf31Jul2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c45_AsOf31Jul2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c45_AsOf31Jul2017_FairValueInputsLevel2Member" decimals="-3">158000</rex:ForwardPurchaseContractLiabilityFairValue>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c46_AsOf31Jul2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c46_AsOf31Jul2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c0_AsOf31Jul2017_usd" unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">158000</rex:ForwardPurchaseContractLiabilityFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c48_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">45000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c49_AsOf31Jan2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue id="_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">45000</us-gaap:FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c48_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">163000</rex:ForwardPurchaseContractsAsset>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c49_AsOf31Jan2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractsAsset id="_ForwardPurchaseContractsAsset-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">163000</rex:ForwardPurchaseContractsAsset>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c48_AsOf31Jan2017_FairValueInputsLevel2Member" xs:nil="true"/>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c49_AsOf31Jan2017_FairValueInputsLevel3Member" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <rex:InvestmentInCooperativeFairValueDisclosure id="_InvestmentInCooperativeFairValueDisclosure-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">333000</rex:InvestmentInCooperativeFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c48_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">208000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c49_AsOf31Jan2017_FairValueInputsLevel3Member" decimals="-3">333000</us-gaap:AssetsFairValueDisclosure>
  <us-gaap:AssetsFairValueDisclosure unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">541000</us-gaap:AssetsFairValueDisclosure>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c47_AsOf31Jan2017_FairValueInputsLevel1Member_usd" unitRef="usd" contextRef="c47_AsOf31Jan2017_FairValueInputsLevel1Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c48_AsOf31Jan2017_FairValueInputsLevel2Member_usd" unitRef="usd" contextRef="c48_AsOf31Jan2017_FairValueInputsLevel2Member" decimals="-3">136000</rex:ForwardPurchaseContractLiabilityFairValue>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c49_AsOf31Jan2017_FairValueInputsLevel3Member_usd" unitRef="usd" contextRef="c49_AsOf31Jan2017_FairValueInputsLevel3Member" xs:nil="true"/>
  <rex:ForwardPurchaseContractLiabilityFairValue id="_ForwardPurchaseContractLiabilityFairValue-c1_AsOf31Jan2017_usd" unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">136000</rex:ForwardPurchaseContractLiabilityFairValue>
  <us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 5. &lt;i&gt;Property and Equipment&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The components of property and equipment
are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Land and improvements&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;20,965&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;20,951&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Buildings and improvements&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,259&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,203&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;261,772&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;255,348&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Construction in progress&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,359&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,046&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;315,355&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;300,548&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Less:&amp;#160;&amp;#160;accumulated depreciation&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(127,810&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(117,787&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;187,545&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;182,761&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock>
  <us-gaap:PropertyPlantAndEquipmentTextBlock contextRef="c4_From1Feb2017To31Jul2017">The components of property and equipment are as follows for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Land and improvements&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;20,965&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;20,951&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Buildings and improvements&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,259&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;23,203&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Machinery, equipment and fixtures&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;261,772&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;255,348&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Construction in progress&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;9,359&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,046&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;315,355&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;300,548&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Less:&amp;#160;&amp;#160;accumulated depreciation&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(127,810&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;(117,787&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;)&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;187,545&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;182,761&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:PropertyPlantAndEquipmentTextBlock>
  <us-gaap:LandAndLandImprovements unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">20965000</us-gaap:LandAndLandImprovements>
  <us-gaap:LandAndLandImprovements unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">20951000</us-gaap:LandAndLandImprovements>
  <us-gaap:BuildingsAndImprovementsGross unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">23259000</us-gaap:BuildingsAndImprovementsGross>
  <us-gaap:BuildingsAndImprovementsGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">23203000</us-gaap:BuildingsAndImprovementsGross>
  <us-gaap:MachineryAndEquipmentGross unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">261772000</us-gaap:MachineryAndEquipmentGross>
  <us-gaap:MachineryAndEquipmentGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">255348000</us-gaap:MachineryAndEquipmentGross>
  <us-gaap:ConstructionInProgressGross unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">9359000</us-gaap:ConstructionInProgressGross>
  <us-gaap:ConstructionInProgressGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">1046000</us-gaap:ConstructionInProgressGross>
  <us-gaap:PropertyPlantAndEquipmentGross unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">315355000</us-gaap:PropertyPlantAndEquipmentGross>
  <us-gaap:PropertyPlantAndEquipmentGross unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">300548000</us-gaap:PropertyPlantAndEquipmentGross>
  <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">127810000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
  <us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">117787000</us-gaap:AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment>
  <us-gaap:OtherAssetsDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 6. &lt;i&gt;Other Assets&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The components of other assets are as follows
for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Real estate taxes refundable&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Deposits&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;55&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;155&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;742&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;835&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;6,720&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;6,913&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Real estate taxes refundable represent amounts
due One Earth associated with refunds of previously paid taxes in connection with a tax increment financing arrangement with local
taxing authorities. Deposits are with utility and other vendors.&lt;/p&gt;&lt;br/&gt;</us-gaap:OtherAssetsDisclosureTextBlock>
  <us-gaap:ScheduleOfOtherAssetsTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">The components of other assets are as follows for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Real estate taxes refundable&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;5,923&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Deposits&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;55&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;155&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;742&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;835&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;6,720&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;6,913&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfOtherAssetsTableTextBlock>
  <rex:RealEstateTaxesRefundableNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">5923000</rex:RealEstateTaxesRefundableNoncurrent>
  <rex:RealEstateTaxesRefundableNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">5923000</rex:RealEstateTaxesRefundableNoncurrent>
  <us-gaap:DepositsAssetsNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">55000</us-gaap:DepositsAssetsNoncurrent>
  <us-gaap:DepositsAssetsNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">155000</us-gaap:DepositsAssetsNoncurrent>
  <us-gaap:OtherAssetsMiscellaneousNoncurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">742000</us-gaap:OtherAssetsMiscellaneousNoncurrent>
  <us-gaap:OtherAssetsMiscellaneousNoncurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">835000</us-gaap:OtherAssetsMiscellaneousNoncurrent>
  <us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&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;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued utility charges&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,088&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,414&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued payroll and related items&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,344&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,279&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,049&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,716&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued income taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;37&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,120&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;2,924&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,819&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;7,442&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;13,348&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock>
  <us-gaap:OtherCurrentLiabilitiesTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">The components of accrued expenses and other current liabilities are as follows for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued utility charges&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,088&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,414&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued payroll and related items&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,344&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,279&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued real estate taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,049&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,716&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Accrued income taxes&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;37&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,120&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;2,924&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;1,819&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;7,442&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;13,348&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:OtherCurrentLiabilitiesTableTextBlock>
  <us-gaap:AccruedUtilitiesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">2088000</us-gaap:AccruedUtilitiesCurrent>
  <us-gaap:AccruedUtilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2414000</us-gaap:AccruedUtilitiesCurrent>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">1344000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:EmployeeRelatedLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">4279000</us-gaap:EmployeeRelatedLiabilitiesCurrent>
  <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">1049000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
  <us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2716000</us-gaap:AccrualForTaxesOtherThanIncomeTaxesCurrent>
  <us-gaap:AccruedIncomeTaxes unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">37000</us-gaap:AccruedIncomeTaxes>
  <us-gaap:AccruedIncomeTaxes unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2120000</us-gaap:AccruedIncomeTaxes>
  <us-gaap:OtherAccruedLiabilitiesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">2924000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:OtherAccruedLiabilitiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">1819000</us-gaap:OtherAccruedLiabilitiesCurrent>
  <us-gaap:DebtDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 8. &lt;i&gt;Revolving Lines of Credit&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. During the second quarter of fiscal year
2017, One Earth and NuGen renewed the revolving loan facilities, which now mature June 1, 2018. Neither One Earth nor NuGen had
outstanding borrowings on the revolving loans during the six months ended July 31, 2017 and 2016.&lt;/p&gt;&lt;br/&gt;</us-gaap:DebtDisclosureTextBlock>
  <us-gaap:DebtInstrumentMaturityDate contextRef="c50_From1Feb2017To31Jul2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember">2017-04-01</us-gaap:DebtInstrumentMaturityDate>
  <us-gaap:LinesOfCreditCurrent unitRef="usd" contextRef="c51_AsOf31Jul2017_RevolvingCreditFacilityMember_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">10000000</us-gaap:LinesOfCreditCurrent>
  <us-gaap:FinancialInstrumentsDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 9. &lt;i&gt;Derivative Financial Instruments&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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 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.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The following table provides information
about the fair values of the Company&amp;#x2019;s derivative financial instruments (that are not accounted for under the &amp;#x201c;normal
purchases and normal sales&amp;#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;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif; margin-left: 23.75pt&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;Asset Derivatives&lt;br /&gt; Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;Liability Derivatives&lt;br /&gt; Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; text-align: justify; padding-left: 10pt; text-indent: -10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;237&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;373&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify&quot;&gt;(1) Commodity futures are included
in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million
bushels of corn at July 31, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify&quot;&gt;(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued
expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels
of corn at July 31, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;As of July 31, 2017, all of the derivative
financial instruments held by the Company were subject to enforceable master netting arrangements. The Company&amp;#x2019;s accounting
policy is to offset positions amounts owed or owing with the same counterparty. As of July 31, 2017, 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&amp;#x2019;s derivative contract position. As of July 31, 2017, the Company was required to maintain collateral with the
counterparty in the amount of approximately $379,000 to secure the Company&amp;#x2019;s derivative liability position.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;See Note 4 which contains fair value information
related to derivative financial instruments.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Gains on the Company&amp;#x2019;s derivative financial
instruments of approximately $853,000 and $1,136,000 for the second quarters of fiscal years 2017 and 2016, respectively, were
included in cost of sales on the Consolidated Condensed Statements of Operations. Gains on the Company&amp;#x2019;s derivative financial
instruments of approximately $977,000 and $1,625,000 for the first six months of fiscal years 2017 and 2016, respectively, were
included in cost of sales on the Consolidated Condensed Statements of Operations.&lt;/p&gt;&lt;br/&gt;</us-gaap:FinancialInstrumentsDisclosureTextBlock>
  <rex:QuantityOfBushelsUnderCommodityFutures unitRef="bu" contextRef="c0_AsOf31Jul2017" decimals="-5">1900000</rex:QuantityOfBushelsUnderCommodityFutures>
  <rex:QuantityOfBushelsUnderCommodityFutures unitRef="bu" contextRef="c1_AsOf31Jan2017" decimals="-5">700000</rex:QuantityOfBushelsUnderCommodityFutures>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c0_AsOf31Jul2017" decimals="-5">10300000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c1_AsOf31Jan2017" decimals="-5">5300000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <us-gaap:DebtInstrumentCollateralAmount unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="0">379000</us-gaap:DebtInstrumentCollateralAmount>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="0">853000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="0">1136000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="0">977000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:DerivativeGainOnDerivative unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="0">1625000</us-gaap:DerivativeGainOnDerivative>
  <us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">The following table provides information about the fair values of the Company&amp;#x2019;s derivative financial instruments (that are not accounted for under the &amp;#x201c;normal purchases and normal sales&amp;#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;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif; margin-left: 23.75pt&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;Asset Derivatives&lt;br /&gt; Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;Liability Derivatives&lt;br /&gt; Fair Value&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;July 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;January 31,&lt;br /&gt; 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; text-align: justify; padding-left: 10pt; text-indent: -10pt&quot;&gt;Commodity futures (1)&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;45&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Forward purchase contracts (2)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;237&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;163&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: justify; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;373&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;208&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;136&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify&quot;&gt;(1) Commodity futures are included
in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million
bushels of corn at July 31, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify&quot;&gt;(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued
expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels
of corn at July 31, 2017 and January 31, 2017, respectively.&lt;/p&gt;</us-gaap:ScheduleOfDerivativeAssetsAtFairValueTableTextBlock>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c52_AsOf31Jul2017_CommodityContractMember_usd" unitRef="usd" contextRef="c52_AsOf31Jul2017_CommodityContractMember" decimals="-3">136000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c53_AsOf31Jan2017_CommodityContractMember_usd" unitRef="usd" contextRef="c53_AsOf31Jan2017_CommodityContractMember" decimals="-3">45000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c52_AsOf31Jul2017_CommodityContractMember_usd" unitRef="usd" contextRef="c52_AsOf31Jul2017_CommodityContractMember" xs:nil="true"/>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c53_AsOf31Jan2017_CommodityContractMember_usd" unitRef="usd" contextRef="c53_AsOf31Jan2017_CommodityContractMember" xs:nil="true"/>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c54_AsOf31Jul2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c54_AsOf31Jul2017_ForwardContractsMember" decimals="-3">237000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets id="_DerivativeAssets-c55_AsOf31Jan2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c55_AsOf31Jan2017_ForwardContractsMember" decimals="-3">163000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c54_AsOf31Jul2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c54_AsOf31Jul2017_ForwardContractsMember" decimals="-3">158000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities id="_DerivativeLiabilities-c55_AsOf31Jan2017_ForwardContractsMember_usd" unitRef="usd" contextRef="c55_AsOf31Jan2017_ForwardContractsMember" decimals="-3">136000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeAssets unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">373000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeAssets unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">208000</us-gaap:DerivativeAssets>
  <us-gaap:DerivativeLiabilities unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">158000</us-gaap:DerivativeLiabilities>
  <us-gaap:DerivativeLiabilities unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">136000</us-gaap:DerivativeLiabilities>
  <invest:InvestmentTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 10. &lt;i&gt;Investments &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The following table summarizes the Company&amp;#x2019;s
equity method investment at July 31, 2017 and January 31, 2017 (dollars in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse&quot;&gt;
&lt;tr style=&quot;vertical-align: top&quot;&gt;
    &lt;td style=&quot;width: 30%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Entity&lt;/font&gt;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Ownership&lt;/font&gt;&lt;br /&gt;
&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Percentage&lt;/font&gt;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Carrying&amp;#160;Amount&lt;/font&gt;&lt;br /&gt;
&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;July 31, 2017&lt;/font&gt;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Carrying&amp;#160;Amount&lt;/font&gt;&lt;br /&gt;
&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;January&amp;#160;31,&amp;#160;2017&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top&quot;&gt;
    &lt;td&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Big River &lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;9.7%&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;$36,665&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;$37,833&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Undistributed earnings of the Company&amp;#x2019;s
equity method investee totaled approximately $16.6 million and $17.8 million at July 31, 2017 and January 31, 2017, respectively.
The Company received dividends from its equity method investee of approximately $2.0 million and $1.5 million during the first
six months of fiscal years 2017 and 2016, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Summarized financial information for the
Company&amp;#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Net sales and revenue&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;212,070&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;210,974&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;404,569&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;394,545&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Gross profit&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;11,582&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;19,764&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;22,928&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Income from continuing operations&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,411&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;12,216&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,618&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;14,620&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Net income&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,411&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;12,216&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,618&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;14,620&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;Big River has debt agreements that limit
amounts Big River can pay in the form of dividends or advances to owners. The restricted net assets of Big River at July 31, 2017
and January 31, 2017 are approximately $279.5 million and $278.7 million, respectively.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;On June 1, 2015, Patriot Holdings, LLC (&amp;#x201c;Patriot&amp;#x201d;)
and a subsidiary of CHS Inc. (&amp;#x201c;CHS&amp;#x201d;) completed a merger that resulted in CHS acquiring 100% of the ownership interest
in Patriot. During the first quarter of fiscal year 2016, the Company received proceeds of approximately $2.3 million as partial
payment for certain escrow holdbacks and adjustments to the purchase price. As a result, the Company recognized approximately $0.2
million as gain on sale of investment during the first quarter of fiscal year 2016. The Company does not expect any further proceeds
or gain/loss on sale of investment to be significant.&lt;/p&gt;&lt;br/&gt;</invest:InvestmentTextBlock>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c56_From1Feb2017To31Jul2017_BigRiverMember" decimals="-5">16600000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:IncomeLossFromEquityMethodInvestments unitRef="usd" contextRef="c57_From1Feb2016To31Jan2017_BigRiverMember" decimals="-5">17800000</us-gaap:IncomeLossFromEquityMethodInvestments>
  <us-gaap:EquityMethodInvestmentDividendsOrDistributions unitRef="usd" contextRef="c56_From1Feb2017To31Jul2017_BigRiverMember" decimals="-5">2000000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
  <us-gaap:EquityMethodInvestmentDividendsOrDistributions unitRef="usd" contextRef="c58_From1Feb2016To31Jul2016_BigRiverMember" decimals="-5">1500000</us-gaap:EquityMethodInvestmentDividendsOrDistributions>
  <us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets unitRef="usd" contextRef="c59_AsOf31Jul2017_BigRiverMember" decimals="-5">279500000</us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets>
  <us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets unitRef="usd" contextRef="c60_AsOf31Jan2017_BigRiverMember" decimals="-5">278700000</us-gaap:EquityMethodInvestmentUnderlyingEquityInNetAssets>
  <us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired unitRef="pure" contextRef="c61_AsOf31Jul2017_PatriotMember" decimals="2">1.00</us-gaap:BusinessAcquisitionPercentageOfVotingInterestsAcquired>
  <rex:ProceedsFromPaymentForEscrowHoldbacksAndAdjustments unitRef="usd" contextRef="c62_From1Feb2016To30Apr2016_PatriotMember" decimals="-5">2300000</rex:ProceedsFromPaymentForEscrowHoldbacksAndAdjustments>
  <us-gaap:GainLossOnSaleOfInvestments unitRef="usd" contextRef="c62_From1Feb2016To30Apr2016_PatriotMember" decimals="-5">200000</us-gaap:GainLossOnSaleOfInvestments>
  <us-gaap:EquityMethodInvestmentsTextBlock contextRef="c4_From1Feb2017To31Jul2017">The following table summarizes the Company&amp;#x2019;s equity method investment at July 31, 2017 and January 31, 2017 (dollars in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; style=&quot;font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse&quot;&gt;
&lt;tr style=&quot;vertical-align: top&quot;&gt;
    &lt;td style=&quot;width: 30%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Entity&lt;/font&gt;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Ownership&lt;/font&gt;&lt;br /&gt;
&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Percentage&lt;/font&gt;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Carrying&amp;#160;Amount&lt;/font&gt;&lt;br /&gt;
&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;July 31, 2017&lt;/font&gt;&lt;/td&gt;
    &lt;td style=&quot;width: 10%; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Carrying&amp;#160;Amount&lt;/font&gt;&lt;br /&gt;
&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;January&amp;#160;31,&amp;#160;2017&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top&quot;&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: top&quot;&gt;
    &lt;td&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;Big River &lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;9.7%&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;$36,665&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: right&quot;&gt;&lt;font style=&quot;font-family: Times New Roman, Times, Serif&quot;&gt;$37,833&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:EquityMethodInvestmentsTextBlock>
  <us-gaap:EquityMethodInvestmentOwnershipPercentage unitRef="pure" contextRef="c59_AsOf31Jul2017_BigRiverMember" decimals="3">0.097</us-gaap:EquityMethodInvestmentOwnershipPercentage>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c59_AsOf31Jul2017_BigRiverMember" decimals="-3">36665000</us-gaap:EquityMethodInvestments>
  <us-gaap:EquityMethodInvestments unitRef="usd" contextRef="c60_AsOf31Jan2017_BigRiverMember" decimals="-3">37833000</us-gaap:EquityMethodInvestments>
  <rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">Summarized financial information for the Company&amp;#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 80%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Net sales and revenue&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;212,070&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;210,974&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;404,569&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;394,545&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Gross profit&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;11,582&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;17,057&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;19,764&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;22,928&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Income from continuing operations&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,411&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;12,216&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,618&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;14,620&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Net income&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,411&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;12,216&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,618&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;14,620&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</rex:ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c63_From1May2017To31Jul2017_BigRiverMember" decimals="-3">212070000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c64_From1May2016To31Jul2016_BigRiverMember" decimals="-3">210974000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c56_From1Feb2017To31Jul2017_BigRiverMember" decimals="-3">404569000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue unitRef="usd" contextRef="c58_From1Feb2016To31Jul2016_BigRiverMember" decimals="-3">394545000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationRevenue>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c63_From1May2017To31Jul2017_BigRiverMember" decimals="-3">11582000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c64_From1May2016To31Jul2016_BigRiverMember" decimals="-3">17057000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c56_From1Feb2017To31Jul2017_BigRiverMember" decimals="-3">19764000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss unitRef="usd" contextRef="c58_From1Feb2016To31Jul2016_BigRiverMember" decimals="-3">22928000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c63_From1May2017To31Jul2017_BigRiverMember" decimals="-3">1411000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c64_From1May2016To31Jul2016_BigRiverMember" decimals="-3">12216000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c56_From1Feb2017To31Jul2017_BigRiverMember" decimals="-3">8618000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems unitRef="usd" contextRef="c58_From1Feb2016To31Jul2016_BigRiverMember" decimals="-3">14620000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss unitRef="usd" contextRef="c63_From1May2017To31Jul2017_BigRiverMember" decimals="-3">1411000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss unitRef="usd" contextRef="c64_From1May2016To31Jul2016_BigRiverMember" decimals="-3">12216000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss unitRef="usd" contextRef="c56_From1Feb2017To31Jul2017_BigRiverMember" decimals="-3">8618000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss>
  <us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss unitRef="usd" contextRef="c58_From1Feb2016To31Jul2016_BigRiverMember" decimals="-3">14620000</us-gaap:EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss>
  <us-gaap:CompensationAndEmployeeBenefitPlansTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 11. &lt;i&gt;Employee Benefits&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt&quot;&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. The Company measures share-based compensation grants at fair value on the grant date, adjusted for estimated forfeitures.
The Company records noncash compensation expense related to liability and equity awards in its consolidated financial statements
over the requisite service period on a straight-line basis. At July 31, 2017, 511,174 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 date of the grant. In addition one third of executives&amp;#x2019; incentive compensation is payable by an award
of restricted stock based on the then closing market price of REX common stock.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt&quot;&gt;At July 31, and January
31, 2017, unrecognized compensation cost related to nonvested restricted stock was approximately $321,000 and $214,000, respectively.
The following table summarizes non-vested restricted stock award activity for the six months ended July 31, 2017 and 2016:&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended July 31, 2017&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#160;Remaining&lt;br /&gt; Vesting Term&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 43%; padding-left: 10pt; text-indent: -10pt&quot;&gt;Non-Vested at January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Granted&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;14,156&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,370&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Forfeited&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;8,091&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;481&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 3px&quot;&gt;Non-Vested at July 31, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px; border-bottom: Black 3px double&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;29,415&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;2,275&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended July 31, 2016&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#160;Remaining&lt;br /&gt; Vesting Term&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; width: 43%&quot;&gt;Non-Vested at January 31, 2016&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%&quot;&gt;3,168&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 15%&quot;&gt;200&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 15%&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Granted&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;21,502&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,269&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Forfeited&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;1,320&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;83&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Non-Vested at July 31, 2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px; border-bottom: Black 3px double&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 3px&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:CompensationAndEmployeeBenefitPlansTextBlock>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized unitRef="shares" contextRef="c65_AsOf31Jul2017_EmployeeStockOptionMember_StockOptionPlans2015Member" decimals="INF">550000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant unitRef="shares" contextRef="c65_AsOf31Jul2017_EmployeeStockOptionMember_StockOptionPlans2015Member" decimals="INF">511174</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="0">321000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="0">214000</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized>
  <us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">The following table summarizes non-vested restricted stock award activity for the six months ended July 31, 2017 and 2016:&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended July 31, 2017&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#160;Remaining&lt;br /&gt; Vesting Term&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 43%; padding-left: 10pt; text-indent: -10pt&quot;&gt;Non-Vested at January 31, 2017&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 15%; text-align: right&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Granted&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;14,156&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,370&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Forfeited&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;8,091&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;481&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; padding-bottom: 3px&quot;&gt;Non-Vested at July 31, 2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px; border-bottom: Black 3px double&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;29,415&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;2,275&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 3px&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended July 31, 2016&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;10&quot; style=&quot;text-align: center&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Non-Vested&lt;br /&gt; Shares&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average Grant&lt;br /&gt; Date Fair Value&lt;br /&gt; (000&amp;#x2019;s)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;Weighted&lt;br /&gt; Average&amp;#160;Remaining&lt;br /&gt; Vesting Term&lt;br /&gt; (in years)&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt; width: 43%&quot;&gt;Non-Vested at January 31, 2016&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 12%&quot;&gt;3,168&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 15%&quot;&gt;200&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; width: 15%&quot;&gt;2&lt;/td&gt;&lt;td style=&quot;text-align: left; width: 1%&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Granted&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;21,502&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,269&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;Forfeited&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Vested&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;1,320&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 1px solid&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;83&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Non-Vested at July 31, 2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px; border-bottom: Black 3px double&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;23,350&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; border-bottom: Black 3px double&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;text-align: right; border-bottom: Black 3px double&quot;&gt;1,386&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right; padding-bottom: 3px&quot;&gt;3&lt;/td&gt;&lt;td style=&quot;text-align: left; padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:NonvestedRestrictedStockSharesActivityTableTextBlock>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares unitRef="shares" contextRef="c1_AsOf31Jan2017" decimals="INF">23350</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c1_AsOf31Jan2017" decimals="-3">1386000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c4_From1Feb2017To31Jul2017">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross unitRef="shares" contextRef="c4_From1Feb2017To31Jul2017" decimals="INF">14156</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">1370000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares unitRef="shares" contextRef="c4_From1Feb2017To31Jul2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c4_From1Feb2017To31Jul2017" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares unitRef="shares" contextRef="c4_From1Feb2017To31Jul2017" decimals="INF">8091</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">481000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares unitRef="shares" contextRef="c0_AsOf31Jul2017" decimals="INF">29415</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c0_AsOf31Jul2017" decimals="-3">2275000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares unitRef="shares" contextRef="c25_AsOf31Jan2016" decimals="INF">3168</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c25_AsOf31Jan2016" decimals="-3">200000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue>
  <us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1 contextRef="c5_From1Feb2016To31Jul2016">P2Y</us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross unitRef="shares" contextRef="c5_From1Feb2016To31Jul2016" decimals="INF">21502</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross>
  <us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">1269000</us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares unitRef="shares" contextRef="c5_From1Feb2016To31Jul2016" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c5_From1Feb2016To31Jul2016" xs:nil="true"/>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares unitRef="shares" contextRef="c5_From1Feb2016To31Jul2016" decimals="INF">1320</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">83000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares unitRef="shares" contextRef="c35_AsOf31Jul2016" decimals="INF">23350</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares>
  <us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue unitRef="usdPershares" contextRef="c35_AsOf31Jul2016" decimals="-3">1386000</us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue>
  <us-gaap:IncomeTaxDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 12&lt;i&gt;. Income Taxes&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The effective tax rate on consolidated pre-tax income was 35.6%
and 33.3% for the three months ended July 31, 2017 and 2016, respectively. The effective tax rate on consolidated pre-tax income
was 32.4% and 32.6% for the six months ended July 31, 2017 and
2016, respectively. The fluctuation in the effective tax rate primarily relates to the impact of noncontrolling interests.
The Company expects the effective tax rate, for the remainder of fiscal year 2017, to be significantly lower than the current
year to date levels as the Company expects to earn federal income tax credits from its refined coal operation (see Note 16).&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&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, 2010 and prior. 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;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 59%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,096&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 5%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;987&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Changes for prior years&amp;#x2019; tax positions&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;164&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;171&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Changes for current year tax positions&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;2,260&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;1,158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</us-gaap:IncomeTaxDisclosureTextBlock>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations unitRef="pure" contextRef="c2_From1May2017To31Jul2017" decimals="3">0.356</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations unitRef="pure" contextRef="c3_From1May2016To31Jul2016" decimals="3">0.333</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations unitRef="pure" contextRef="c4_From1Feb2017To31Jul2017" decimals="3">0.324</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:EffectiveIncomeTaxRateContinuingOperations unitRef="pure" contextRef="c5_From1Feb2016To31Jul2016" decimals="3">0.326</us-gaap:EffectiveIncomeTaxRateContinuingOperations>
  <us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock contextRef="c4_From1Feb2017To31Jul2017">A reconciliation of the beginning and ending amount of unrecognized tax benefits, including interest and penalties, is as follows (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: center; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 59%; text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Unrecognized tax benefits, beginning of period&lt;/td&gt;&lt;td style=&quot;width: 8%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;2,096&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 5%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 12%; text-align: right&quot;&gt;987&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Changes for prior years&amp;#x2019; tax positions&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;164&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;171&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Changes for current year tax positions&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;-&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Unrecognized tax benefits, end of period&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;2,260&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;1,158&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-3">2096000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c25_AsOf31Jan2016" decimals="-3">987000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">164000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
  <us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">171000</us-gaap:UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-3">2260000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties unitRef="usd" contextRef="c35_AsOf31Jul2016" decimals="-3">1158000</rex:UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties>
  <us-gaap:CommitmentsAndContingenciesDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 13. &lt;i&gt;Commitments and Contingencies&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company is involved in various legal
actions arising in the normal course of business. After taking into consideration legal counsels&amp;#x2019; evaluations of such actions,
management is of the opinion that their outcome will not have a material adverse effect on the Company&amp;#x2019;s Consolidated Condensed
Financial Statements.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;One Earth and NuGen have combined forward
purchase contracts for approximately 11.4 million bushels of corn, the principal raw material for their ethanol plants. They expect
to take delivery of the grain through October 2017.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;One Earth and NuGen have combined sales commitments
for approximately 67.8 million gallons of ethanol, approximately 79,000 tons of distillers grains and approximately 11.7 million
pounds of non-food grade corn oil. They expect to deliver the ethanol, distillers grains and non-food grade corn oil through December
2017.&lt;/p&gt;&lt;br/&gt;</us-gaap:CommitmentsAndContingenciesDisclosureTextBlock>
  <rex:QuantityOfBushelsUnderForwardPurchaseContract unitRef="bu" contextRef="c66_AsOf31Jul2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">11400000</rex:QuantityOfBushelsUnderForwardPurchaseContract>
  <rex:QuantityOfEthanolUnderSalesCommitment unitRef="gal" contextRef="c66_AsOf31Jul2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">67800000</rex:QuantityOfEthanolUnderSalesCommitment>
  <rex:QuantityOfDistillersGrainsUnderSalesCommitment unitRef="t" contextRef="c66_AsOf31Jul2017_OneEarthEnergyAndNuGenEnergyMember" decimals="0">79000</rex:QuantityOfDistillersGrainsUnderSalesCommitment>
  <rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments unitRef="lb" contextRef="c66_AsOf31Jul2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">11700000</rex:QuantityOfNonFoodGradeCornOilUnderSalesCommitments>
  <rex:SupplyCommitmentExpectedPeriodOfDelivery contextRef="c67_From1Feb2017To31Jul2017_OneEarthEnergyAndNuGenEnergyMember">They expect to deliver the ethanol, distillers grains and non-food grade corn oil through December2017.</rex:SupplyCommitmentExpectedPeriodOfDelivery>
  <rex:NetSalesAndRevenueTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 14. &lt;i&gt;Net Sales and Revenue&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The following table summarizes sales for
each product and service group for the periods presented (amounts in thousands):&lt;/p&gt;&lt;br/&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt&quot;&gt;Product or Service Category&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; padding-left: 10pt; text-indent: -10pt&quot;&gt;Ethanol&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;88,785&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;90,933&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;180,257&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;168,564&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Dried distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;13,472&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;18,946&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;28,622&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;36,000&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,726&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,738&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;9,318&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,584&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Modified distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,748&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;983&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,667&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,547&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;13&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;107&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;23&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;234&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;108,744&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;115,707&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;221,887&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;215,929&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br/&gt;</rex:NetSalesAndRevenueTextBlock>
  <us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock contextRef="c4_From1Feb2017To31Jul2017">The following table summarizes sales for each product and service group for the periods presented (amounts in thousands):&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 100%; font: 12pt Times New Roman, Times, Serif&quot;&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Three Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;6&quot; style=&quot;text-align: center&quot;&gt;Six Months Ended&lt;br /&gt; July 31,&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt&quot;&gt;Product or Service Category&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2017&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right; border-bottom: Black 1px solid&quot;&gt;2016&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom&quot;&gt;
    &lt;td style=&quot;padding-left: 10pt; text-indent: -10pt&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td colspan=&quot;2&quot; style=&quot;text-align: right&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;width: 40%; padding-left: 10pt; text-indent: -10pt&quot;&gt;Ethanol&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;88,785&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;90,933&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;180,257&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;width: 3%&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;width: 1%; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;width: 10%; text-align: right&quot;&gt;168,564&lt;/td&gt;&lt;td style=&quot;width: 1%; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Dried distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;13,472&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;18,946&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;28,622&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;36,000&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Non-food grade corn oil&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,726&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;4,738&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;9,318&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;8,584&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;text-align: left; padding-left: 10pt; text-indent: -10pt&quot;&gt;Modified distillers grains&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;1,748&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;983&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;3,667&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;text-align: right&quot;&gt;2,547&lt;/td&gt;&lt;td style=&quot;text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; background-color: rgb(229,255,255)&quot;&gt;
    &lt;td style=&quot;padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Other&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;13&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;107&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;23&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 1px solid; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 1px solid; text-align: right&quot;&gt;234&lt;/td&gt;&lt;td style=&quot;padding-bottom: 1px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;vertical-align: bottom; &quot;&gt;
    &lt;td style=&quot;padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt&quot;&gt;Total&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;108,744&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;115,707&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;221,887&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px&quot;&gt;&amp;#160;&lt;/td&gt;
    &lt;td style=&quot;border-bottom: Black 3px double; text-align: left&quot;&gt;$&lt;/td&gt;&lt;td style=&quot;border-bottom: Black 3px double; text-align: right&quot;&gt;215,929&lt;/td&gt;&lt;td style=&quot;padding-bottom: 3px; text-align: left&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</us-gaap:ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c68_From1May2017To31Jul2017_EthanolMember" decimals="-3">88785000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c69_From1May2016To31Jul2016_EthanolMember" decimals="-3">90933000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c70_From1Feb2017To31Jul2017_EthanolMember" decimals="-3">180257000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c71_From1Feb2016To31Jul2016_EthanolMember" decimals="-3">168564000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c72_From1May2017To31Jul2017_DriedDistillersGrainsMember" decimals="-3">13472000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c73_From1May2016To31Jul2016_DriedDistillersGrainsMember" decimals="-3">18946000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c74_From1Feb2017To31Jul2017_DriedDistillersGrainsMember" decimals="-3">28622000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c75_From1Feb2016To31Jul2016_DriedDistillersGrainsMember" decimals="-3">36000000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c76_From1May2017To31Jul2017_NonFoodGradeCornOilMember" decimals="-3">4726000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c77_From1May2016To31Jul2016_NonFoodGradeCornOilMember" decimals="-3">4738000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c78_From1Feb2017To31Jul2017_NonFoodGradeCornOilMember" decimals="-3">9318000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c79_From1Feb2016To31Jul2016_NonFoodGradeCornOilMember" decimals="-3">8584000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c80_From1May2017To31Jul2017_ModifiedDistillersGrainsMember" decimals="-3">1748000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c81_From1May2016To31Jul2016_ModifiedDistillersGrainsMember" decimals="-3">983000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c82_From1Feb2017To31Jul2017_ModifiedDistillersGrainsMember" decimals="-3">3667000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c83_From1Feb2016To31Jul2016_ModifiedDistillersGrainsMember" decimals="-3">2547000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c84_From1May2017To31Jul2017_OtherProductMember" decimals="-3">13000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c85_From1May2016To31Jul2016_OtherProductMember" decimals="-3">107000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c86_From1Feb2017To31Jul2017_OtherProductMember" decimals="-3">23000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c87_From1Feb2016To31Jul2016_OtherProductMember" decimals="-3">234000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c2_From1May2017To31Jul2017" decimals="-3">108744000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c3_From1May2016To31Jul2016" decimals="-3">115707000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-3">221887000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:OtherAlternativeEnergySalesRevenue unitRef="usd" contextRef="c5_From1Feb2016To31Jul2016" decimals="-3">215929000</us-gaap:OtherAlternativeEnergySalesRevenue>
  <us-gaap:RelatedPartyTransactionsDisclosureTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 15. &lt;i&gt;Related-Party Transactions&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;During the second quarters of fiscal year
2017 and 2016, One Earth and NuGen purchased approximately $36.5 million and approximately $36.0 million, respectively, of corn
from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately $78.7 million and
approximately $80.4 million for the six months ended July 31, 2017 and 2016, respectively. The Company had amounts payable to related
parties for corn purchases of approximately $1.6 million and $1.7 million at July 31, 2017 and January 31, 2017, respectively.&lt;/p&gt;&lt;br/&gt;</us-gaap:RelatedPartyTransactionsDisclosureTextBlock>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c88_From1May2017To31Jul2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">36500000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c89_From1May2016To31Jul2016_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">36000000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c90_From1Feb2017To31Jul2017_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">78700000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:CostsAndExpensesRelatedParty unitRef="usd" contextRef="c91_From1Feb2016To31Jul2016_OneEarthEnergyAndNuGenEnergyMember" decimals="-5">80400000</us-gaap:CostsAndExpensesRelatedParty>
  <us-gaap:AccountsPayableRelatedPartiesCurrent unitRef="usd" contextRef="c0_AsOf31Jul2017" decimals="-5">1600000</us-gaap:AccountsPayableRelatedPartiesCurrent>
  <us-gaap:AccountsPayableRelatedPartiesCurrent unitRef="usd" contextRef="c1_AsOf31Jan2017" decimals="-5">1700000</us-gaap:AccountsPayableRelatedPartiesCurrent>
  <us-gaap:SubsequentEventsTextBlock contextRef="c4_From1Feb2017To31Jul2017">&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0&quot;&gt;&lt;b&gt;Note 16. Subsequent Event&lt;/b&gt;&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;On August 10, 2017, the Company, through a 95.35%
owned subsidiary, purchased the entire ownership interest of a refined coal facility for approximately $12 million in cash. The
facility is in operation and will begin affecting the Company&amp;#x2019;s financial results during the third quarter of fiscal year
2017. The Company expects that the revenues from the sale of refined coal produced in the facility will be subsidized by federal
production tax credits, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The impact on the combined results of operations
of the Company and the refined coal facility, on a pro forma basis, as though the companies had been combined as of the beginning
of fiscal year 2017 is insignificant as the refined coal facility has been inactive for several years up until the Company&amp;#x2019;s
acquisition.&lt;/p&gt;&lt;br/&gt;&lt;p style=&quot;font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt&quot;&gt;The Company expects to complete its analysis
of transaction costs related to the acquisition of the refined coal facility and the estimated fair value of assets acquired and
liabilities assumed during the third quarter of fiscal year 2017.&lt;/p&gt;&lt;br/&gt;</us-gaap:SubsequentEventsTextBlock>
  <us-gaap:SubsequentEventDescription contextRef="c4_From1Feb2017To31Jul2017">On August 10, 2017, the Company, through a 95.35%owned subsidiary, purchased the entire ownership interest of a refined coal facility for approximately $12 million in cash. Thefacility is in operation and will begin affecting the Company&amp;#x2019;s financial results during the third quarter of fiscal year2017. The Company expects that the revenues from the sale of refined coal produced in the facility will be subsidized by federalproduction tax credits, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.The impact on the combined results of operationsof the Company and the refined coal facility, on a pro forma basis, as though the companies had been combined as of the beginningof fiscal year 2017 is insignificant as the refined coal facility has been inactive for several years up until the Company&amp;#x2019;sacquisition.The Company expects to complete its analysisof transaction costs related to the acquisition of the refined coal facility and the estimated fair value of assets acquired andliabilities assumed during the third quarter of fiscal year 2017.</us-gaap:SubsequentEventDescription>
  <us-gaap:SubsequentEventsDate contextRef="c4_From1Feb2017To31Jul2017">2017-08-10</us-gaap:SubsequentEventsDate>
  <us-gaap:EquityMethodInvestmentOwnershipPercentage unitRef="pure" contextRef="c0_AsOf31Jul2017" decimals="4">0.9535</us-gaap:EquityMethodInvestmentOwnershipPercentage>
  <us-gaap:BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1 unitRef="usd" contextRef="c4_From1Feb2017To31Jul2017" decimals="-6">12000000</us-gaap:BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1>
</xbrl>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.SCH
<SEQUENCE>8
<FILENAME>rex-20170731.xsd
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Tue Sep 05 10:06:29 EDT 2017 -->
<xs:schema elementFormDefault="qualified" xmlns:num="http://www.xbrl.org/dtr/type/numeric" targetNamespace="http://www.rexamerican.com/20170731" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-types="http://fasb.org/us-types/2017-01-31" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:rex="http://www.rexamerican.com/20170731" xmlns:xbrli="http://www.xbrl.org/2003/instance">
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xlink:type="simple" xlink:href="rex-20170731_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-20170731_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-20170731_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-20170731_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/ConsolidatedIncomeStatement" id="rex_r_ConsolidatedIncomeStatement">
        <link:definition>002 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3" id="rex_r_ShareholdersEquityType2or3">
        <link:definition>003 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow" id="rex_r_ConsolidatedCashFlow">
        <link:definition>004 - 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>005 - 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>006 - 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/LEASES" id="rex_r_LEASES">
        <link:definition>007 - 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>008 - 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>009 - 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/OTHERASSETS" id="rex_r_OTHERASSETS">
        <link:definition>010 - Disclosure - OTHER ASSETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" id="rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES">
        <link:definition>011 - 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/REVOLVINGLINESOFCREDIT" id="rex_r_REVOLVINGLINESOFCREDIT">
        <link:definition>012 - Disclosure - REVOLVING LINES OF CREDIT</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>013 - 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>014 - 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>015 - 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>016 - Disclosure - INCOME TAXES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES" id="rex_r_COMMITMENTSANDCONTINGENCIES">
        <link:definition>017 - 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/NETSALESANDREVENUE" id="rex_r_NETSALESANDREVENUE">
        <link:definition>018 - 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/RELATEDPARTYTRANSACTIONS" id="rex_r_RELATEDPARTYTRANSACTIONS">
        <link:definition>019 - Disclosure - RELATED PARTY TRANSACTIONS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/SubsequentEvent" id="rex_r_SubsequentEvent">
        <link:definition>020 - Disclosure - Subsequent Event</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy" id="rex_r_AccountingPoliciesByPolicy">
        <link:definition>021 - Disclosure - Accounting Policies, by Policy (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables" id="rex_r_ACCOUNTINGPOLICIESTables">
        <link:definition>022 - Disclosure - ACCOUNTING POLICIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/LEASESTables" id="rex_r_LEASESTables">
        <link:definition>023 - Disclosure - LEASES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/FAIRVALUETables" id="rex_r_FAIRVALUETables">
        <link:definition>024 - Disclosure - FAIR VALUE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables" id="rex_r_PROPERTYANDEQUIPMENTTables">
        <link:definition>025 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/OTHERASSETSTables" id="rex_r_OTHERASSETSTables">
        <link:definition>026 - Disclosure - OTHER ASSETS (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/NETSALESANDREVENUETables" id="rex_r_NETSALESANDREVENUETables">
        <link:definition>032 - 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/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>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kuld3LDZfJ5+SrbMl+65Y3vk35TIYwV1l/eRWaIr0FXyLkdfF2A5lGg/P7TH29CbpPuG6inl+TTHpeLqRCmAEUBEwcU/NpzeIwmufA6IPOp2MvwghB4+BRUYhX8VeSPu0BE0FxfcDfSpEdg==] CSR-->
      <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>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" id="rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
        <link:definition>036 - 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>037 - 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>038 - 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/ScheduleofOtherAssetsTable" id="rex_r_ScheduleofOtherAssetsTable">
        <link:definition>039 - Disclosure - OTHER ASSETS (Details) - Schedule of Other Assets</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable" id="rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
        <link:definition>040 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails" id="rex_r_REVOLVINGLINESOFCREDITDetails">
        <link:definition>041 - Disclosure - REVOLVING LINES OF CREDIT (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/DERIVATIVEFINANCIALINSTRUMENTSDetails" id="rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails">
        <link:definition>042 - 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>043 - 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>044 - 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>045 - 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>046 - 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>047 - 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>048 - 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>049 - 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>050 - Disclosure - INCOME TAXES  (Details) - Schedule of Unrecognized Tax Benefits Roll Forward</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails" id="rex_r_COMMITMENTSANDCONTINGENCIESDetails">
        <link:definition>051 - 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/ScheduleofSalesofConsolidatedEthanolPlantsTable" id="rex_r_ScheduleofSalesofConsolidatedEthanolPlantsTable">
        <link:definition>052 - Disclosure - NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants</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>053 - 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/SubsequentEventDetails" id="rex_r_SubsequentEventDetails">
        <link:definition>054 - Disclosure - Subsequent Event (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 - Disclosure - 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/2017-01-31" schemaLocation="http://xbrl.fasb.org/us-gaap/2017/elts/us-types-2017-01-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/numeric" schemaLocation="http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/non-numeric" schemaLocation="http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:element name="ScheduleOfComponentsOfInventoryAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfComponentsOfInventoryAbstract"/>
  <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="ScheduleOfOtherAssetsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfOtherAssetsAbstract"/>
  <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="NetSalesAndRevenueAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetSalesAndRevenueAbstract"/>
  <xs:element name="ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract"/>
  <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="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract"/>
  <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="NonCashInvestingActivitiesAccruedCapitalExpenditures" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
  <xs:element name="NonCashFinancingActivitiesEquityAwardsIssued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
  <xs:element name="NonCashFinancingActivitiesStockAwardsIssued" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_NonCashFinancingActivitiesStockAwardsIssued"/>
  <xs:element name="NetSalesAndRevenueTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NetSalesAndRevenueTextBlock"/>
  <xs:element name="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" type="nonnum:textBlockItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
  <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="ForwardPurchaseContractsAsset" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractsAsset"/>
  <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="ForwardPurchaseContractLiabilityFairValue" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_ForwardPurchaseContractLiabilityFairValue"/>
  <xs:element name="RealEstateTaxesRefundableNoncurrent" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="debit" nillable="true" substitutionGroup="xbrli:item" id="rex_RealEstateTaxesRefundableNoncurrent"/>
  <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="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="instant" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
  <xs:element name="NumberOfEthanolEntitiesUnderOwnershipInterest" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
  <xs:element name="NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" type="xbrli:integerItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
  <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="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" type="num:percentItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
  <xs:element name="REVOLVINGLINESOFCREDITDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_REVOLVINGLINESOFCREDITDetailsTable"/>
  <xs:element name="REVOLVINGLINESOFCREDITDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
  <xs:element name="QuantityOfBushelsUnderCommodityFutures" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfBushelsUnderCommodityFutures"/>
  <xs:element name="QuantityOfBushelsUnderForwardPurchaseContract" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
  <xs:element name="INVESTMENTSDetailsTable" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrldt:hypercubeItem" id="rex_INVESTMENTSDetailsTable"/>
  <xs:element name="INVESTMENTSDetailsLineItems" type="xbrli:stringItemType" abstract="true" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_INVESTMENTSDetailsLineItems"/>
  <xs:element name="ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" type="xbrli:monetaryItemType" abstract="false" xbrli:periodType="duration" xbrli:balance="credit" nillable="true" substitutionGroup="xbrli:item" id="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
  <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="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="QuantityOfEthanolUnderSalesCommitment" type="num:volumeItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfEthanolUnderSalesCommitment"/>
  <xs:element name="QuantityOfDistillersGrainsUnderSalesCommitment" type="num:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
  <xs:element name="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" type="num:massItemType" abstract="false" xbrli:periodType="instant" nillable="true" substitutionGroup="xbrli:item" id="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
  <xs:element name="SupplyCommitmentExpectedPeriodOfDelivery" type="xbrli:stringItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
  <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="ApproximateMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ApproximateMember"/>
  <xs:element name="BigRiverMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_BigRiverMember"/>
  <xs:element name="DriedDistillersGrainsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_DriedDistillersGrainsMember"/>
  <xs:element name="EthanolMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_EthanolMember"/>
  <xs:element name="FixturesAndEquipmentMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_FixturesAndEquipmentMember"/>
  <xs:element name="ModifiedDistillersGrainsMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_ModifiedDistillersGrainsMember"/>
  <xs:element name="NonFoodGradeCornOilMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NonFoodGradeCornOilMember"/>
  <xs:element name="NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember"/>
  <xs:element name="OneEarthEnergyAndNuGenEnergyMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OneEarthEnergyAndNuGenEnergyMember"/>
  <xs:element name="OtherProductMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_OtherProductMember"/>
  <xs:element name="PatriotMember" type="nonnum:domainItemType" abstract="false" xbrli:periodType="duration" nillable="true" substitutionGroup="xbrli:item" id="rex_PatriotMember"/>
  <xs:element name="StockOptionPlans2015Member" type="nonnum:domainItemType" abstract="false" 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>9
<FILENAME>rex-20170731_cal.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Tue Sep 05 10:06:29 EDT 2017 -->
<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-20170731.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedBalanceSheet">
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsCurrent" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent" order="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquity"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_GrossProfit" xlink:to="us-gaap_SalesRevenueNet" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="6" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_ProfitLoss" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_ProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetIncomeLoss" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="2" weight="-1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_ProfitLoss" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_GainLossOnInvestments" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="5" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kuld3LDZfJ5+SrbMl+65Y3vk35TIYwV1l/eRWaIr0FXyLkdfF2A5lGg/P7TH29CbpPuG6inl+TTHpeLqRCmAEUBEwcU/NpzeIwmufA6IPOp2Mv2vIJNF9O2GRroyOSnTJmvkfz2/uKGLb6g==] CSR-->
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccountsReceivable" order="7" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInInventories" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInInventories" order="8" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="9" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInAccountsPayableTrade" order="10" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" order="11" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="12" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="13" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash" order="5" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="6" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsToMinorityShareholders" order="1" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="us-gaap_PaymentsForRepurchaseOfCommonStock" order="2" weight="-1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" 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_CashAndCashEquivalentsPeriodIncreaseDecrease" 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_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="3" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryNet"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" order="6" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable">
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractsAsset"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="rex_ForwardPurchaseContractsAsset" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170731.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_AssetsFairValueDisclosure" xlink:to="rex_InvestmentInCooperativeFairValueDisclosure" order="3" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170731.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="rex_RealEstateTaxesRefundableNoncurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_DepositsAssetsNoncurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent" order="3" weight="1"/>
  </calculationLink>
  <calculationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable">
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_AccruedUtilitiesCurrent" order="1" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_EmployeeRelatedLiabilitiesCurrent" order="2" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" order="3" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_AccruedIncomeTaxes" order="4" weight="1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <calculationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherAccruedLiabilitiesCurrent" order="5" weight="1"/>
  </calculationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.DEF
<SEQUENCE>10
<FILENAME>rex-20170731_def.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Tue Sep 05 10:06:29 EDT 2017 -->
<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-20170731.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCOUNTINGPOLICIES" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_LEASES" roleURI="http://www.rexamerican.com/role/LEASES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_FAIRVALUE" roleURI="http://www.rexamerican.com/role/FAIRVALUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_PROPERTYANDEQUIPMENT" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_OTHERASSETS" roleURI="http://www.rexamerican.com/role/OTHERASSETS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_REVOLVINGLINESOFCREDIT" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTS" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INVESTMENTS" roleURI="http://www.rexamerican.com/role/INVESTMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_EMPLOYEEBENEFITS" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INCOMETAXES" roleURI="http://www.rexamerican.com/role/INCOMETAXES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_COMMITMENTSANDCONTINGENCIES" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_NETSALESANDREVENUE" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_RELATEDPARTYTRANSACTIONS" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_SubsequentEvent" roleURI="http://www.rexamerican.com/role/SubsequentEvent"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCOUNTINGPOLICIESTables" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_LEASESTables" roleURI="http://www.rexamerican.com/role/LEASESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_FAIRVALUETables" roleURI="http://www.rexamerican.com/role/FAIRVALUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_PROPERTYANDEQUIPMENTTables" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_OTHERASSETSTables" roleURI="http://www.rexamerican.com/role/OTHERASSETSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INVESTMENTSTables" roleURI="http://www.rexamerican.com/role/INVESTMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_EMPLOYEEBENEFITSTables" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INCOMETAXESTables" roleURI="http://www.rexamerican.com/role/INCOMETAXESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_NETSALESANDREVENUETables" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofSalesofConsolidatedEthanolPlantsTable" roleURI="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCOUNTINGPOLICIESDetails" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_REVOLVINGLINESOFCREDITDetails" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INVESTMENTSDetails" roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_EMPLOYEEBENEFITSDetails" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INCOMETAXESDetails" roleURI="http://www.rexamerican.com/role/INCOMETAXESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_COMMITMENTSANDCONTINGENCIESDetails" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_RELATEDPARTYTRANSACTIONSDetails" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_SubsequentEventDetails" roleURI="http://www.rexamerican.com/role/SubsequentEventDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.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_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AssetsCurrentAbstract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:to="us-gaap_AssetsCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_Assets" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20170731.xsd#rex_LongTermLiabilitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_LongTermLiabilitiesAbstract" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityAbstract" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_RexShareholdersEquityAbstract" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_RexShareholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_MinorityInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SalesRevenueNet" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GrossProfit" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SellingGeneralAndAdministrativeExpense" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_InterestAndOtherIncome" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLoss" order="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" order="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted" order="15" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_ShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ShareBasedCompensation" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="9" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedCashFlow">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_CashFlowsFromOperatingActivitiesAbstract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="us-gaap_ProfitLoss" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnInvestments" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20170731.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_ChangesInAssetsAndLiabilitiesAbstract" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_CashFlowsFromInvestingActivitiesAbstract" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_CashFlowsFromFinancingActivitiesAbstract" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_PaymentsToMinorityShareholders" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20170731.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsIssued" xlink:href="rex-20170731.xsd#rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsIssued" order="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesStockAwardsIssued" xlink:href="rex-20170731.xsd#rex_NonCashFinancingActivitiesStockAwardsIssued"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_StatementLineItems" xlink:to="rex_NonCashFinancingActivitiesStockAwardsIssued" order="12" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/LEASES">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesOfLessorDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesOfLessorDisclosureTextBlock" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/OTHERASSETS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherAssetsDisclosureTextBlock" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/REVOLVINGLINESOFCREDIT">
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureTextBlock" 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_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTS">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="invest_InvestmentTextBlock" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="invest_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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_IncomeTaxDisclosureTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/NETSALESANDREVENUE">
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueTextBlock" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="rex_NetSalesAndRevenueTextBlock" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/SubsequentEvent">
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsTextBlock" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="9" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_AccountingPoliciesAbstract" xlink:to="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" order="0" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" order="0" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/OTHERASSETSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOtherAssetsTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfOtherAssetsTableTextBlock" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherCurrentLiabilitiesTableTextBlock" 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_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" 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="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20170731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="invest_InvestmentsScheduleAbstract" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/NETSALESANDREVENUETables">
    <loc xlink:type="locator" xlink:label="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kuld3LDZfJ5+SrbMl+65Y3vk35TIYwV1l/eRWaIr0FXyLkdfF2A5lGg/P7TH29CbpPuG6inl+TTHpeLqRCmAEUBEwcU/NpzeIwmufA6IPOp2MvykfdPjsY9AKZiz/wT52EAD0sqYRqQAyUA==] CSR-->
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" order="0" 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-20170731.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" 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-20170731.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractsAsset"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractsAsset" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170731.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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ForwardPurchaseContractLiabilityFairValue" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractLiabilityFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="rex_ForwardPurchaseContractLiabilityFairValue" order="5" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfOtherAssetsAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170731.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="rex_RealEstateTaxesRefundableNoncurrent" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_DepositsAssetsNoncurrent" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3" 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-20170731.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="5" 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-20170731.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="2" 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-20170731.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20170731.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="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" 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-20170731.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" order="8" 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-20170731.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable">
    <loc xlink:type="locator" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductOrServiceAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_ProductOrServiceAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductsAndServicesDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductsAndServicesDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20170731.xsd#rex_EthanolMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_EthanolMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_DriedDistillersGrainsMember" xlink:href="rex-20170731.xsd#rex_DriedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_DriedDistillersGrainsMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NonFoodGradeCornOilMember" xlink:href="rex-20170731.xsd#rex_NonFoodGradeCornOilMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_NonFoodGradeCornOilMember" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ModifiedDistillersGrainsMember" xlink:href="rex-20170731.xsd#rex_ModifiedDistillersGrainsMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_ModifiedDistillersGrainsMember" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OtherProductMember" xlink:href="rex-20170731.xsd#rex_OtherProductMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="rex_OtherProductMember" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAlternativeEnergySalesRevenue"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_OtherAlternativeEnergySalesRevenue" order="1" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_NumberOfOperatingSegments" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:href="rex-20170731.xsd#rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:href="rex-20170731.xsd#rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" 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-20170731.xsd#rex_ACCOUNTINGPOLICIESDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20170731.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_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_RangeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_RangeAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_StatementScenarioAxis" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingAndBuildingImprovementsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ApproximateMember" xlink:href="rex-20170731.xsd#rex_ApproximateMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="rex_ApproximateMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinimumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MinimumMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MaximumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_MaximumMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" order="6" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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/REVOLVINGLINESOFCREDITDetails">
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:href="rex-20170731.xsd#rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:href="rex-20170731.xsd#rex_REVOLVINGLINESOFCREDITDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="rex_REVOLVINGLINESOFCREDITDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:to="dei_LegalEntityAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="us-gaap_CreditFacilityAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:to="us-gaap_CreditFacilityAxis" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_RevolvingCreditFacilityMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170731.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="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_DebtInstrumentMaturityDate" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LinesOfCreditCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_LinesOfCreditCurrent" order="2" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderCommodityFutures" xlink:href="rex-20170731.xsd#rex_QuantityOfBushelsUnderCommodityFutures"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="rex_QuantityOfBushelsUnderCommodityFutures" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170731.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="rex_QuantityOfBushelsUnderForwardPurchaseContract" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DerivativeGainOnDerivative" order="3" xbrldt:closed="true"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSDetails">
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsLineItems" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsTable" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsTable"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="rex_INVESTMENTSDetailsTable" order="0" xbrldt:contextElement="segment" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="rex_INVESTMENTSDetailsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_0" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_BigRiverMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_PatriotMember" xlink:href="rex-20170731.xsd#rex_PatriotMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="rex_PatriotMember" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" order="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" order="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:href="rex-20170731.xsd#rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="6" 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-20170731.xsd#rex_EMPLOYEEBENEFITSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_EmployeeStockOptionMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="rex_StockOptionPlans2015Member" xlink:href="rex-20170731.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_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations" order="0" 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-20170731.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:href="rex-20170731.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="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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-20170731.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_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170731.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_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20170731.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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20170731.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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20170731.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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:href="rex-20170731.xsd#rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="rex_COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="rex_SupplyCommitmentExpectedPeriodOfDelivery" order="5" 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-20170731.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsLineItems"/>
    <loc xlink:type="locator" xlink:label="rex_RELATEDPARTYTRANSACTIONSDetailsTable" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_RelatedPartyDomain" xlink:to="rex_OneEarthEnergyAndNuGenEnergyMember" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
  </definitionLink>
  <definitionLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SubsequentEventDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventDescription" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventDescription"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventDescription" order="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsDate"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsDate" order="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" 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="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentInformationLineItems"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="0" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="1" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="2" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="3" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="4" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityPublicFloat" order="5" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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_AmendmentDescription" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentDescription"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_AmendmentDescription" order="7" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="8" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="9" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityVoluntaryFilers" order="10" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="11" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentInformationLineItems" xlink:to="dei_EntityWellKnownSeasonedIssuer" order="12" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="13" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="14" xbrldt:closed="true"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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="15" xbrldt:closed="true"/>
  </definitionLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.LAB
<SEQUENCE>11
<FILENAME>rex-20170731_lab.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Tue Sep 05 10:06:29 EDT 2017 -->
<linkbase xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <roleRef xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel" roleURI="http://www.xbrl.org/2009/role/negatedLabel"/>
  <labelLink xlink:type="extended" xlink:role="http://www.xbrl.org/2003/role/link">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfFinancialPositionAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl" xml:lang="en-US">Gain on disposal of property and equipment, 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment_lbl0" xml:lang="en-US">Gain on disposal of real estate and property and equipment, 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_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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 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_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_ProfitLoss_lbl" xml:lang="en-US">Net income</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/label" xlink:label="us-gaap_ProfitLoss_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_ProfitLoss" xlink:to="us-gaap_ProfitLoss_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ProfitLoss_lbl1" 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_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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 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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_CommonStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_StatementOfCashFlowsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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 used in investing activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl" xml:lang="en-US">Net decrease in cash and cash equivalents</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl" xml:lang="en-US">Cash and cash equivalents, beginning of period</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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_lbl0" xml:lang="en-US">Cash and cash equivalents, end of period</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_CashAndCashEquivalentsAtCarryingValue_lbl1" 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_lbl1"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label" 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_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeasesAbstract_lbl" xml:lang="en-US">Leases [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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="rex_ForwardPurchaseContractsAsset" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractsAsset"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractsAsset_lbl" xml:lang="en-US">Forward purchase contract asset (4)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractsAsset" xlink:to="rex_ForwardPurchaseContractsAsset_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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 [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_FairValueInputsLevel1Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_ScheduleOfOtherAssetsAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfOtherAssetsAbstract_lbl" xml:lang="en-US">Schedule of Other Assets [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfOtherAssetsAbstract" xlink:to="rex_ScheduleOfOtherAssetsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OtherAssetsNoncurrent_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_OtherAssetsNoncurrent" xlink:to="us-gaap_OtherAssetsNoncurrent_lbl"/>
    <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</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"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:href="rex-20170731.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_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:label="us-gaap_OtherLiabilitiesCurrent_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_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherLiabilitiesCurrent_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_OtherLiabilitiesCurrent" xlink:to="us-gaap_OtherLiabilitiesCurrent_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureAbstract_lbl" xml:lang="en-US">Debt Disclosure [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_CommodityContractMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommodityContractMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="invest_InvestmentsScheduleAbstract_lbl" xml:lang="en-US">Investments Schedule [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="invest_InvestmentsScheduleAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20170731.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="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_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="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_BigRiverMember_lbl" xml:lang="en-US">Big River [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_BigRiverMember" xlink:to="rex_BigRiverMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20170731.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="rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:href="rex-20170731.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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl" xml:lang="en-US">Non-Vested, Beginning of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl0" xml:lang="en-US">Non-Vested, End of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Non-Vested, Beginning of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Non-Vested, End of Period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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-20170731.xsd#rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl" xml:lang="en-US">Unrecognized tax benefits, beginning of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:label="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl0" xml:lang="en-US">Unrecognized tax benefits, end of period</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:to="rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="rex_NetSalesAndRevenueAbstract" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NetSalesAndRevenueAbstract_lbl" xml:lang="en-US">Net Sales And Revenue [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueAbstract" xlink:to="rex_NetSalesAndRevenueAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract_lbl" xml:lang="en-US">Schedule of Sales of Consolidated Ethanol Plants [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:to="rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductOrServiceAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductOrServiceAxis_lbl" xml:lang="en-US">Products and Services [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductOrServiceAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_EthanolMember" xlink:href="rex-20170731.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-20170731.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-20170731.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-20170731.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_OtherProductMember" xlink:href="rex-20170731.xsd#rex_OtherProductMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_OtherProductMember_lbl" xml:lang="en-US">Other Product [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherProductMember" xlink:to="rex_OtherProductMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RelatedPartyTransactionsAbstract_lbl" xml:lang="en-US">Related Party Transactions [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RelatedPartyTransactionsAbstract" xlink:to="us-gaap_RelatedPartyTransactionsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventsAbstract_lbl" xml:lang="en-US">Subsequent Events [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_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_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesReceivable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent_lbl" xml:lang="en-US">Deferred taxes, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestments_lbl" 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_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestments_lbl0" xml:lang="en-US">Big River</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_EquityMethodInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_LiabilitiesAndEquityAbstract" xlink:href="rex-20170731.xsd#rex_LiabilitiesAndEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableTradeCurrent_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_AccountsPayableTradeCurrent" xlink:to="us-gaap_AccountsPayableTradeCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_LongTermLiabilitiesAbstract" xlink:href="rex-20170731.xsd#rex_LongTermLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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-20170731.xsd#rex_RexShareholdersEquityAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SalesRevenueNet_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_SalesRevenueNet" xlink:to="us-gaap_SalesRevenueNet_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfGoodsAndServicesSold_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_CostOfGoodsAndServicesSold" xlink:to="us-gaap_CostOfGoodsAndServicesSold_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" 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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnSaleOfInvestments_lbl" xml:lang="en-US">(Loss) gain on sale of investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSaleOfInvestments" xlink:to="us-gaap_GainLossOnSaleOfInvestments_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_GainLossOnSaleOfInvestments_lbl0" xml:lang="en-US">Gain (Loss) on Sale of Investments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnSaleOfInvestments" xlink:to="us-gaap_GainLossOnSaleOfInvestments_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InterestAndOtherIncome_lbl" 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_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl" xml:lang="en-US">Weighted average shares outstanding &#8211; basic and diluted (in Shares)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted_lbl" xml:lang="en-US">Basic and diluted net income 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_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_TreasuryStockSharesAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_ShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensation_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_ShareBasedCompensation" xlink:to="us-gaap_ShareBasedCompensation_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract_lbl" xml:lang="en-US">Adjustments to reconcile net income to net cash provided by operating activities:</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DepreciationDepletionAndAmortization_lbl" xml:lang="en-US">Depreciation 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_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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/terseLabel" 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_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_GainLossOnInvestments_lbl" xml:lang="en-US">Loss (gain) on sale of investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_GainLossOnInvestments" xlink:to="us-gaap_GainLossOnInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20170731.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets_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_IncreaseDecreaseInOtherOperatingAssets" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl" xml:lang="en-US">Other liabilities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments_lbl" xml:lang="en-US">Restricted investments and deposits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments_lbl" xml:lang="en-US">Proceeds from sale of investment</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl" xml:lang="en-US">Proceeds from sale of real estate and property and equipment, net</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="rex_NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20170731.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_NonCashFinancingActivitiesEquityAwardsIssued" xlink:href="rex-20170731.xsd#rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashFinancingActivitiesEquityAwardsIssued_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_NonCashFinancingActivitiesEquityAwardsIssued" xlink:to="rex_NonCashFinancingActivitiesEquityAwardsIssued_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NonCashFinancingActivitiesStockAwardsIssued" xlink:href="rex-20170731.xsd#rex_NonCashFinancingActivitiesStockAwardsIssued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NonCashFinancingActivitiesStockAwardsIssued_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="rex_NonCashFinancingActivitiesStockAwardsIssued" xlink:to="rex_NonCashFinancingActivitiesStockAwardsIssued_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfInventoryCurrentTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_LeasesOfLessorDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesOfLessorDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock_lbl" xml:lang="en-US">Leases of Lessor Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:to="us-gaap_LeasesOfLessorDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_lbl" xml:lang="en-US">Remainder of 2018</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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_lbl" xml:lang="en-US">2019</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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_lbl" xml:lang="en-US">2020</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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_lbl" xml:lang="en-US">2021</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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_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_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl" xml:lang="en-US">Thereafter</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue_lbl" xml:lang="en-US">Commodity futures (1)</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="rex_InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170731.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_InvestmentInCooperativeFairValueDisclosure_lbl" xml:lang="en-US">Investment in cooperative (2)</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_ForwardPurchaseContractLiabilityFairValue" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractLiabilityFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ForwardPurchaseContractLiabilityFairValue_lbl" xml:lang="en-US">Forward purchase contract liability (3)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractLiabilityFairValue" xlink:to="rex_ForwardPurchaseContractLiabilityFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LandAndLandImprovements"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingsAndImprovementsGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MachineryAndEquipmentGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ConstructionInProgressGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock_lbl" xml:lang="en-US">Other Assets Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAssetsDisclosureTextBlock" xlink:to="us-gaap_OtherAssetsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOtherAssetsTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock_lbl" xml:lang="en-US">Schedule of Other Assets [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:to="us-gaap_ScheduleOfOtherAssetsTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170731.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_RealEstateTaxesRefundableNoncurrent_lbl" xml:lang="en-US">Real estate taxes refundable</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RealEstateTaxesRefundableNoncurrent" xlink:to="rex_RealEstateTaxesRefundableNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DepositsAssetsNoncurrent_lbl" xml:lang="en-US">Deposits</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DepositsAssetsNoncurrent" xlink:to="us-gaap_DepositsAssetsNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent_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_OtherAssetsMiscellaneousNoncurrent" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock_lbl" xml:lang="en-US">Other Current Liabilities [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:to="us-gaap_OtherCurrentLiabilitiesTableTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedUtilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccruedIncomeTaxes"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtDisclosureTextBlock_lbl" xml:lang="en-US">Debt Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtDisclosureTextBlock" xlink:to="us-gaap_DebtDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl" xml:lang="en-US">Financial Instruments Disclosure [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="invest_InvestmentTextBlock" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="invest_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="invest_InvestmentTextBlock" xlink:to="invest_InvestmentTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" 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"/>
    <loc xlink:type="locator" xlink:label="rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20170731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_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_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss_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_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_lbl" 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_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl" 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_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CompensationAndEmployeeBenefitPlansTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kuld3LDZfJ5+SrbMl+65Y3vk35TIYwV1l/eRWaIr0FXyLkdfF2A5lGg/P7TH29CbpPuG6inl+TTHpeLqRCmAEUBEwcU/NpzeIwmufA6IPOp2Mv7Ma8lYwQixL3KW1GEINZLbz94GZvmiM7Q==] CSR-->
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl" xml:lang="en-US">Non-Vested, 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_lbl0" xml:lang="en-US">Non-Vested, End 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_lbl0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_lbl" xml:lang="en-US">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_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Granted</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_lbl" xml:lang="en-US">Forfeited</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Forfeited</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_lbl" xml:lang="en-US">Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl" xml:lang="en-US">Vested</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsIncreasesResultingFromPriorPeriodTaxPositions"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="rex_NetSalesAndRevenueTextBlock" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NetSalesAndRevenueTextBlock_lbl" xml:lang="en-US">Net Sales And Revenue [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueTextBlock" xlink:to="rex_NetSalesAndRevenueTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl" xml:lang="en-US">Revenue from External Customers by Products and Services [Table Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAlternativeEnergySalesRevenue"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue_lbl" xml:lang="en-US">Product or Service</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:to="us-gaap_OtherAlternativeEnergySalesRevenue_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsDisclosureTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_SubsequentEventsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventsTextBlock_lbl" xml:lang="en-US">Subsequent Events [Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsTextBlock" xlink:to="us-gaap_SubsequentEventsTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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 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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl" xml:lang="en-US">Net income attributable to noncontrolling interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl" xml:lang="en-US">Noncontrolling interests distribution and other</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:to="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash_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_IncreaseDecreaseInRestrictedCash" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:label="us-gaap_PaymentsToMinorityShareholders_lbl" xml:lang="en-US">Dividend payments to and purchases of stock from noncontrolling interests holders</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToMinorityShareholders" xlink:to="us-gaap_PaymentsToMinorityShareholders_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_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="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_StatementScenarioAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ApproximateMember" xlink:href="rex-20170731.xsd#rex_ApproximateMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_ApproximateMember_lbl" xml:lang="en-US">Approximate [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ApproximateMember" xlink:to="rex_ApproximateMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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">Property, Plant and Equipment, Type [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_BuildingAndBuildingImprovementsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="us-gaap_RangeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RangeAxis_lbl" xml:lang="en-US">Range [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinimumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_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="us-gaap_MinimumMember" xlink:to="us-gaap_MinimumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MaximumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_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="us-gaap_MaximumMember" xlink:to="us-gaap_MaximumMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_FixturesAndEquipmentMember" xlink:href="rex-20170731.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_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="us-gaap_CreditFacilityAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CreditFacilityAxis_lbl" xml:lang="en-US">Credit Facility [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevolvingCreditFacilityMember_lbl" xml:lang="en-US">Revolving Credit Facility [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RevolvingCreditFacilityMember" xlink:to="us-gaap_RevolvingCreditFacilityMember_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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_OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170731.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="rex_PatriotMember" xlink:href="rex-20170731.xsd#rex_PatriotMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:label="rex_PatriotMember_lbl" xml:lang="en-US">Patriot [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PatriotMember" xlink:to="rex_PatriotMember_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AwardTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AwardTypeAxis_lbl" xml:lang="en-US">Award Type [Axis]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_AwardTypeAxis" xlink:to="us-gaap_AwardTypeAxis_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeStockOptionMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeStockOptionMember_lbl" xml:lang="en-US">Employee Stock 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="us-gaap_PlanNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="rex_StockOptionPlans2015Member" xlink:href="rex-20170731.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="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:href="rex-20170731.xsd#rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl" xml:lang="en-US">Number of Ethanol Entities Under Ownership Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:to="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:href="rex-20170731.xsd#rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest_lbl" xml:lang="en-US">Number of Ethanol Entities Under Majority Ownership Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:to="rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxesPaid"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromIncomeTaxRefunds"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_lbl" xml:lang="en-US">Unrecognized Tax Benefits, Period Increase (Decrease)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:to="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods_lbl" xml:lang="en-US">Property, Plant and Equipment, Depreciation Methods</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:to="us-gaap_PropertyPlantAndEquipmentDepreciationMethods_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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-20170731.xsd#rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DebtInstrumentMaturityDate_lbl" xml:lang="en-US">Debt Instrument, Maturity Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DebtInstrumentMaturityDate" xlink:to="us-gaap_DebtInstrumentMaturityDate_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LinesOfCreditCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_LinesOfCreditCurrent_lbl" xml:lang="en-US">Line of Credit, Current</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_LinesOfCreditCurrent" xlink:to="us-gaap_LinesOfCreditCurrent_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderCommodityFutures" xlink:href="rex-20170731.xsd#rex_QuantityOfBushelsUnderCommodityFutures"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfBushelsUnderCommodityFutures_lbl" xml:lang="en-US">Quantity Of Bushels Under Commodity Futures (in US Bushels)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_QuantityOfBushelsUnderCommodityFutures" xlink:to="rex_QuantityOfBushelsUnderCommodityFutures_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170731.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/terseLabel" 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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_DerivativeGainOnDerivative_lbl" xml:lang="en-US">Derivative, Gain on Derivative</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_DerivativeGainOnDerivative" xlink:to="us-gaap_DerivativeGainOnDerivative_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets_lbl" xml:lang="en-US">Equity Method Investment, Underlying Equity in Net Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:to="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_lbl" xml:lang="en-US">Business Acquisition, Percentage of Voting Interests Acquired</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:to="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:href="rex-20170731.xsd#rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments_lbl" xml:lang="en-US">Proceeds From Payment For Escrow Holdbacks And Adjustments</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:to="rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_lbl" xml:lang="en-US">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized</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_EffectiveIncomeTaxRateContinuingOperations" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20170731.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfEthanolUnderSalesCommitment_lbl" 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_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20170731.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfDistillersGrainsUnderSalesCommitment_lbl" 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_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20170731.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments_lbl" xml:lang="en-US">Quantity of Non-food Grade Corn Oil Under Sales Commitments</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_SupplyCommitmentExpectedPeriodOfDelivery" xlink:href="rex-20170731.xsd#rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl" xml:lang="en-US">Supply Commitment Expected Period Of Delivery</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:to="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostsAndExpensesRelatedParty"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostsAndExpensesRelatedParty_lbl" xml:lang="en-US">Costs and Expenses, Related Party</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CostsAndExpensesRelatedParty" xlink:to="us-gaap_CostsAndExpensesRelatedParty_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent_lbl" 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_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventDescription" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventDescription"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventDescription_lbl" xml:lang="en-US">Subsequent Event, Description</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventDescription" xlink:to="us-gaap_SubsequentEventDescription_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SubsequentEventsDate_lbl" xml:lang="en-US">Subsequent Event, Date</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SubsequentEventsDate" xlink:to="us-gaap_SubsequentEventsDate_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_lbl" xml:lang="en-US">Business Combination, Consideration Transferred, Including Equity Interest in Acquiree Held Prior to Combination</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:to="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevenueRecognitionPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock_lbl" xml:lang="en-US">Revenue Recognition, Policy [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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfSalesPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CostOfSalesPolicyTextBlock_lbl" xml:lang="en-US">Cost of Sales, Policy [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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InventoryPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InvestmentPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_InvestmentPolicyTextBlock_lbl" xml:lang="en-US">Investment, Policy [Policy Text Block]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_InvestmentPolicyTextBlock" xlink:to="us-gaap_InvestmentPolicyTextBlock_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ComprehensiveIncomePolicyPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_EquityComponentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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 [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-20170731.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-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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-20170731.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="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_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="us-gaap_EquityMethodInvesteeNameDomain" xlink:to="us-gaap_EquityMethodInvesteeNameDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable_lbl" xml:lang="en-US">Schedule of Equity Method Investments [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl" xml:lang="en-US">Schedule of Equity Method Investments [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20170731.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-20170731.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_ProductsAndServicesDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ProductsAndServicesDomain_lbl" xml:lang="en-US">Products and Services [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ProductsAndServicesDomain" xlink:to="us-gaap_ProductsAndServicesDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_lbl" xml:lang="en-US">Revenue from External Customers by Products and Services [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_lbl" xml:lang="en-US">Revenue from External Customer [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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">Property, Plant and Equipment, Type [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="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ScenarioUnspecifiedDomain_lbl" xml:lang="en-US">Scenario, Unspecified [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_ScenarioUnspecifiedDomain" xlink:to="us-gaap_ScenarioUnspecifiedDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_RangeMember_lbl" xml:lang="en-US">Range [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_RangeMember" xlink:to="us-gaap_RangeMember_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_ACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20170731.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-20170731.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_CreditFacilityDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_CreditFacilityDomain_lbl" xml:lang="en-US">Credit Facility [Domain]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CreditFacilityDomain" xlink:to="us-gaap_CreditFacilityDomain_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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_REVOLVINGLINESOFCREDITDetailsTable" xlink:href="rex-20170731.xsd#rex_REVOLVINGLINESOFCREDITDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsTable_lbl" xml:lang="en-US">REVOLVING LINES OF CREDIT (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsTable" xlink:to="rex_REVOLVINGLINESOFCREDITDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:href="rex-20170731.xsd#rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_REVOLVINGLINESOFCREDITDetailsLineItems_lbl" xml:lang="en-US">REVOLVING LINES OF CREDIT (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="rex_REVOLVINGLINESOFCREDITDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsTable" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsTable"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_INVESTMENTSDetailsTable_lbl" xml:lang="en-US">INVESTMENTS (Details) [Table]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_INVESTMENTSDetailsTable" xlink:to="rex_INVESTMENTSDetailsTable_lbl"/>
    <loc xlink:type="locator" xlink:label="rex_INVESTMENTSDetailsLineItems" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_INVESTMENTSDetailsLineItems_lbl" xml:lang="en-US">INVESTMENTS (Details) [Line Items]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_INVESTMENTSDetailsLineItems" xlink:to="rex_INVESTMENTSDetailsLineItems_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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">Equity Award [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="us-gaap_PlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="rex_EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20170731.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-20170731.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="rex_COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:href="rex-20170731.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-20170731.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="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_RELATEDPARTYTRANSACTIONSDetailsTable" xlink:href="rex-20170731.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-20170731.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_ForwardPurchaseContractLiabilityFairValue_lbl0" xml:lang="en-US">Forward Purchase Contract Liability at Fair Value</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ForwardPurchaseContractLiabilityFairValue" xlink:to="rex_ForwardPurchaseContractLiabilityFairValue_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_NetSalesAndRevenueTextBlock_lbl0" xml:lang="en-US">The entire disclosure for net sales and revenue.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NetSalesAndRevenueTextBlock" xlink:to="rex_NetSalesAndRevenueTextBlock_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_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl0" xml:lang="en-US">Number of ethanol entities under ownership interest.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:to="rex_NumberOfEthanolEntitiesUnderOwnershipInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_QuantityOfBushelsUnderForwardPurchaseContract_lbl1" 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_lbl1"/>
    <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_RealEstateTaxesRefundableNoncurrent_lbl0" xml:lang="en-US">Value of real estate taxes refundable non current as of the reporting date.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_RealEstateTaxesRefundableNoncurrent" xlink:to="rex_RealEstateTaxesRefundableNoncurrent_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_SupplyCommitmentExpectedPeriodOfDelivery_lbl0" xml:lang="en-US">Supply commitment expected period of delivery.</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_SupplyCommitmentExpectedPeriodOfDelivery" xlink:to="rex_SupplyCommitmentExpectedPeriodOfDelivery_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_ApproximateMember_lbl0" xml:lang="en-US">Approximate [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_ApproximateMember" xlink:to="rex_ApproximateMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_BigRiverMember_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_DriedDistillersGrainsMember_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_EthanolMember_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_FixturesAndEquipmentMember_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_ModifiedDistillersGrainsMember_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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_NonFoodGradeCornOilMember_lbl1" 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_lbl1"/>
    <loc xlink:type="locator" xlink:label="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember" xlink:href="rex-20170731.xsd#rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember_lbl" xml:lang="en-US">Not Accounted For Under Normal Purchases And Normal Sales Scope [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember" xlink:to="rex_NotAccountedForUnderNormalPurchasesAndNormalSalesScopeMember_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl0" 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_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_OneEarthEnergyAndNuGenEnergyMember_lbl1" 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_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_OtherProductMember_lbl0" xml:lang="en-US">Other Product [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherProductMember" xlink:to="rex_OtherProductMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_OtherProductMember_lbl1" xml:lang="en-US">Other [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_OtherProductMember" xlink:to="rex_OtherProductMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_PatriotMember_lbl0" xml:lang="en-US">Patriot [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PatriotMember" xlink:to="rex_PatriotMember_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:label="rex_PatriotMember_lbl1" xml:lang="en-US">Patriot [Member]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_PatriotMember" xlink:to="rex_PatriotMember_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_StockOptionPlans2015Member_lbl0" 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_lbl0"/>
    <loc xlink:type="locator" xlink:label="rex_DocumentAndEntityInformationAbstract" xlink:href="rex-20170731.xsd#rex_DocumentAndEntityInformationAbstract"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="rex_DocumentAndEntityInformationAbstract_lbl" xml:lang="en-US">Document and Entity Information [Abstract]</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="rex_DocumentAndEntityInformationAbstract" xlink:to="rex_DocumentAndEntityInformationAbstract_lbl"/>
    <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_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_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_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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityPublicFloat_lbl" xml:lang="en-US">Entity Public Float</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityPublicFloat" xlink:to="dei_EntityPublicFloat_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl0" xml:lang="en-US">Cash and Cash Equivalents, Period Increase (Decrease)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_NetIncomeLoss_lbl0" 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_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl0" xml:lang="en-US">Payments for (Proceeds from) Other Investing Activities</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="us-gaap_PaymentsForProceedsFromOtherInvestingActivities_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl0" xml:lang="en-US">Equity Method Investment, Summarized Financial Information, Net Income (Loss)</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss_lbl0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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_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_NetIncomeLossAttributableToNoncontrollingInterest_lbl0" xml:lang="en-US">Net Income (Loss) Attributable to Noncontrolling Interest</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited, 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue_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"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_lbl0" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_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_PaymentsToMinorityShareholders_lbl0" xml:lang="en-US">Payments to Noncontrolling Interests</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_PaymentsToMinorityShareholders" xlink:to="us-gaap_PaymentsToMinorityShareholders_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_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="dei_EntityCentralIndexKey" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_IncreaseDecreaseInRestrictedCash_lbl0" xml:lang="en-US">Increase (Decrease) in Restricted Cash</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInRestrictedCash" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash_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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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_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_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_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_IncreaseDecreaseInOtherOperatingAssets_lbl0" xml:lang="en-US">Increase (Decrease) in Other Operating Assets</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets_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_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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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_AllocatedShareBasedCompensationExpense_lbl0" xml:lang="en-US">Allocated Share-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_lbl0"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_lbl0" xml:lang="en-US">Equity Method Investment, Summarized Financial Information, Revenue</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue_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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityVoluntaryFilers_lbl" xml:lang="en-US">Entity Voluntary Filers</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityVoluntaryFilers" xlink:to="dei_EntityVoluntaryFilers_lbl"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_Assets_lbl0" xml:lang="en-US">Assets [Standard Label]</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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_EntityWellKnownSeasonedIssuer_lbl" xml:lang="en-US">Entity Well-known Seasoned Issuer</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityWellKnownSeasonedIssuer" xlink:to="dei_EntityWellKnownSeasonedIssuer_lbl"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl1" xml:lang="en-US">Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, 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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_lbl1"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" 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"/>
    <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"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentDescription" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentDescription"/>
    <label xlink:type="resource" xlink:role="http://www.xbrl.org/2003/role/label" xlink:label="dei_AmendmentDescription_lbl" xml:lang="en-US">Amendment Description</label>
    <labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentDescription" xlink:to="dei_AmendmentDescription_lbl"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
  </labelLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EX-101.PRE
<SEQUENCE>12
<FILENAME>rex-20170731_pre.xml
<TEXT>
<XBRL>
<?xml version="1.0" encoding="US-ASCII"?>
<!-- Generated by iC(tm) - CompSci Interactive Converter - http://www.compsciresources.com -->
<!-- Created: Tue Sep 05 10:06:29 EDT 2017 -->
<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-20170731.xsd#rex_r_ConsolidatedBalanceSheet" roleURI="http://www.rexamerican.com/role/ConsolidatedBalanceSheet"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ConsolidatedIncomeStatement" roleURI="http://www.rexamerican.com/role/ConsolidatedIncomeStatement"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ShareholdersEquityType2or3" roleURI="http://www.rexamerican.com/role/ShareholdersEquityType2or3"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ConsolidatedCashFlow" roleURI="http://www.rexamerican.com/role/ConsolidatedCashFlow"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCOUNTINGPOLICIES" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_LEASES" roleURI="http://www.rexamerican.com/role/LEASES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_FAIRVALUE" roleURI="http://www.rexamerican.com/role/FAIRVALUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_PROPERTYANDEQUIPMENT" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_OTHERASSETS" roleURI="http://www.rexamerican.com/role/OTHERASSETS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_REVOLVINGLINESOFCREDIT" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTS" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INVESTMENTS" roleURI="http://www.rexamerican.com/role/INVESTMENTS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_EMPLOYEEBENEFITS" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INCOMETAXES" roleURI="http://www.rexamerican.com/role/INCOMETAXES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_COMMITMENTSANDCONTINGENCIES" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_NETSALESANDREVENUE" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUE"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_RELATEDPARTYTRANSACTIONS" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_SubsequentEvent" roleURI="http://www.rexamerican.com/role/SubsequentEvent"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_AccountingPoliciesByPolicy" roleURI="http://www.rexamerican.com/role/AccountingPoliciesByPolicy"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCOUNTINGPOLICIESTables" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_LEASESTables" roleURI="http://www.rexamerican.com/role/LEASESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_FAIRVALUETables" roleURI="http://www.rexamerican.com/role/FAIRVALUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_PROPERTYANDEQUIPMENTTables" roleURI="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_OTHERASSETSTables" roleURI="http://www.rexamerican.com/role/OTHERASSETSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables" roleURI="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSTables" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INVESTMENTSTables" roleURI="http://www.rexamerican.com/role/INVESTMENTSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_EMPLOYEEBENEFITSTables" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INCOMETAXESTables" roleURI="http://www.rexamerican.com/role/INCOMETAXESTables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_NETSALESANDREVENUETables" roleURI="http://www.rexamerican.com/role/NETSALESANDREVENUETables"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofComponentsofInventoryTable" roleURI="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable" roleURI="http://www.rexamerican.com/role/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofPropertyandEquipmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofOtherAssetsTable" roleURI="http://www.rexamerican.com/role/ScheduleofOtherAssetsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofaccruedexpensesandothercurrentliabilitiesTable" roleURI="http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFairValuesforDerivativeFinancialInstrumentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofEquityMethodInvestmentsTable" roleURI="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofFinancialinformationForEquityMethodInvestmentTable" roleURI="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofNonVestedRestrictedStockAwardActivityTable" roleURI="http://www.rexamerican.com/role/ScheduleofNonVestedRestrictedStockAwardActivityTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofUnrecognizedTaxBenefitsRollForwardTable" roleURI="http://www.rexamerican.com/role/ScheduleofUnrecognizedTaxBenefitsRollForwardTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ScheduleofSalesofConsolidatedEthanolPlantsTable" roleURI="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails" roleURI="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_ACCOUNTINGPOLICIESDetails" roleURI="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_REVOLVINGLINESOFCREDITDetails" roleURI="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_DERIVATIVEFINANCIALINSTRUMENTSDetails" roleURI="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INVESTMENTSDetails" roleURI="http://www.rexamerican.com/role/INVESTMENTSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_EMPLOYEEBENEFITSDetails" roleURI="http://www.rexamerican.com/role/EMPLOYEEBENEFITSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_INCOMETAXESDetails" roleURI="http://www.rexamerican.com/role/INCOMETAXESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_COMMITMENTSANDCONTINGENCIESDetails" roleURI="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_RELATEDPARTYTRANSACTIONSDetails" roleURI="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.xsd#rex_r_SubsequentEventDetails" roleURI="http://www.rexamerican.com/role/SubsequentEventDetails"/>
  <roleRef xlink:type="simple" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfFinancialPositionAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_AssetsCurrentAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsReceivableNetCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredTaxAssetsNetNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_AssetsCurrentAbstract" xlink:to="us-gaap_DeferredTaxAssetsNetNoncurrent" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AssetsCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DeferredTaxAssetsNetNoncurrent" xlink:to="us-gaap_AssetsCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentNet" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_OtherAssetsNoncurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_Assets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_Assets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityMethodInvestments" xlink:to="us-gaap_Assets" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_LiabilitiesCurrentAbstract" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableTradeCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OtherLiabilitiesCurrent" xlink:to="us-gaap_LiabilitiesCurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="LongTermLiabilitiesAbstract" xlink:href="rex-20170731.xsd#rex_LongTermLiabilitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="LongTermLiabilitiesAbstract" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OtherLiabilitiesNoncurrent" xlink:to="us-gaap_LiabilitiesNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EquityAbstract" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="RexShareholdersEquityAbstract" xlink:href="rex-20170731.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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_AdditionalPaidInCapitalCommonStock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_RetainedEarningsAccumulatedDeficit" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="RexShareholdersEquityAbstract" xlink:to="us-gaap_TreasuryStockValue" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinorityInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_MinorityInterest" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EquityAbstract" xlink:to="us-gaap_LiabilitiesAndStockholdersEquity" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ConsolidatedIncomeStatement">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeStatementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeStatementAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SalesRevenueNet" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SalesRevenueNet"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_SalesRevenueNet" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfGoodsAndServicesSold" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CostOfGoodsAndServicesSold" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GrossProfit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GrossProfit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" 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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InterestAndOtherIncome" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_InterestAndOtherIncome"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_InterestAndOtherIncome" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_IncomeTaxExpenseBenefit" order="9.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="10.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" order="11.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetIncomeLoss" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted" order="13.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EarningsPerShareBasicAndDiluted" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_EarningsPerShareBasicAndDiluted" order="14.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ShareholdersEquityType2or3">
    <loc xlink:type="locator" xlink:label="us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityComponentDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommonStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommonStockMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_CommonStockMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_TreasuryStockMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AdditionalPaidInCapitalMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_AdditionalPaidInCapitalMember" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RetainedEarningsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_RetainedEarningsMember" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NoncontrollingInterestMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_NoncontrollingInterestMember" order="4.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementEquityComponentsAxis" xlink:to="us-gaap_EquityComponentDomain" order="5.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_ShareBasedCompensation" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="8.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharesOutstanding_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="10.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementOfCashFlowsAbstract" xlink:to="us-gaap_StatementTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementScenarioAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementTable" xlink:to="us-gaap_StatementLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromOperatingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="CashFlowsFromOperatingActivitiesAbstract" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromOperatingActivitiesAbstract" xlink:to="us-gaap_ProfitLoss" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromOperatingActivitiesAbstract" xlink:to="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepreciationDepletionAndAmortization" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_DepreciationDepletionAndAmortization" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnSaleOfPropertyPlantEquipment" order="3.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_GainLossOnInvestments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_DeferredIncomeTaxExpenseBenefit" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AllocatedShareBasedCompensationExpense" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract" xlink:to="us-gaap_AllocatedShareBasedCompensationExpense" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ChangesInAssetsAndLiabilitiesAbstract" xlink:href="rex-20170731.xsd#rex_ChangesInAssetsAndLiabilitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="ChangesInAssetsAndLiabilitiesAbstract" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ChangesInAssetsAndLiabilitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInOtherOperatingAssets" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInAccountsPayableTrade" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInOperatingActivities" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromInvestingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromInvestingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="CashFlowsFromInvestingActivitiesAbstract" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_IncreaseDecreaseInRestrictedCash" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_IncreaseDecreaseInRestrictedCash" order="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfRestrictedInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfRestrictedInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfRestrictedInvestments" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfLongtermInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfLongtermInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfLongtermInvestments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromInvestingActivitiesAbstract" xlink:to="us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInInvestingActivities" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="CashFlowsFromFinancingActivitiesAbstract" xlink:href="rex-20170731.xsd#rex_CashFlowsFromFinancingActivitiesAbstract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="CashFlowsFromFinancingActivitiesAbstract" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsToMinorityShareholders" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PaymentsToMinorityShareholders"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="CashFlowsFromFinancingActivitiesAbstract" xlink:to="us-gaap_PaymentsToMinorityShareholders" order="0.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0" preferredLabel="http://www.xbrl.org/2009/role/negatedLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_NetCashProvidedByUsedInFinancingActivities" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CashAndCashEquivalentsAtCarryingValue_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="us-gaap_CashAndCashEquivalentsAtCarryingValue_0" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="NonCashInvestingActivitiesAccruedCapitalExpenditures" xlink:href="rex-20170731.xsd#rex_NonCashInvestingActivitiesAccruedCapitalExpenditures"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashInvestingActivitiesAccruedCapitalExpenditures" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NonCashFinancingActivitiesEquityAwardsIssued" xlink:href="rex-20170731.xsd#rex_NonCashFinancingActivitiesEquityAwardsIssued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashFinancingActivitiesEquityAwardsIssued" order="11.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NonCashFinancingActivitiesStockAwardsIssued" xlink:href="rex-20170731.xsd#rex_NonCashFinancingActivitiesStockAwardsIssued"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementLineItems" xlink:to="NonCashFinancingActivitiesStockAwardsIssued" order="12.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIES">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASES">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesOfLessorDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesOfLessorDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_LeasesOfLessorDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FAIRVALUE">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/OTHERASSETS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherAssetsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIES">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT">
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="us-gaap_DebtDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FinancialInstrumentsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FinancialInstrumentsDisclosureTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_FinancialInstrumentsDisclosureTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTS">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="invest_InvestmentTextBlock" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="invest_InvestmentTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITS">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CompensationAndEmployeeBenefitPlansTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXES">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIES">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NETSALESANDREVENUE">
    <loc xlink:type="locator" xlink:label="NetSalesAndRevenueAbstract" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="NetSalesAndRevenueTextBlock" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="NetSalesAndRevenueAbstract" xlink:to="NetSalesAndRevenueTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsDisclosureTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SubsequentEvent">
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/AccountingPoliciesByPolicy">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevenueRecognitionPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostOfSalesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="6.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InvestmentPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ComprehensiveIncomePolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="8.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="9.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfInventoryCurrentTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/LEASESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_LeasesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_LeasesAbstract" xlink:to="us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/FAIRVALUETables">
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueDisclosuresAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables">
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/OTHERASSETSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfOtherAssetsTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfOtherAssetsTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfOtherAssetsTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherCurrentLiabilitiesTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherCurrentLiabilitiesTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_OtherCurrentLiabilitiesTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSTables">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentsTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="us-gaap_EquityMethodInvestmentsTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" xlink:href="rex-20170731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="ScheduleOfFinancialInformationForEquityMethodInvestmentsTableTextBlock" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/EMPLOYEEBENEFITSTables">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NonvestedRestrictedStockSharesActivityTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESTables">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/NETSALESANDREVENUETables">
    <loc xlink:type="locator" xlink:label="NetSalesAndRevenueAbstract" xlink:href="rex-20170731.xsd#rex_NetSalesAndRevenueAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock"/>
<!-- [WMV4][XcpuxYn59dz7vgYynUDuwG7r97K2jUTysl7vcz0lJt+zoEiIZmtp2H7C6qvFYFNeA86aF0ybghZbK7fxvu022HCfsE6Ud1anyx4yqDpLTG3PYMPNkyR5zgsPwr6Daa8+dL7zoH8Kuld3LDZfJ5+SrbMl+65Y3vk35TIYwV1l/eRWaIr0FXyLkdfF2A5lGg/P7TH29CbpPuG6inl+TTHpeLqRCmAEUBEwcU/NpzeIwmufA6IPOp2MvwghB4+BRUYhRRi+oDBSy+JJOT52pKcleQ==] CSR-->
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="NetSalesAndRevenueAbstract" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofComponentsofInventoryTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfComponentsOfInventoryAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfComponentsOfInventoryAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/ScheduleofFutureMinimumRentalPaymentsforOperatingLeasesTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:to="us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.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-20170731.xsd#rex_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisAbstract"/>
    <loc xlink:type="locator" xlink:label="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable" xlink:href="rex-20170731.xsd#rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisTable"/>
    <loc xlink:type="locator" xlink:label="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel2Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_FairValueInputsLevel3Member" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <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="us-gaap_FinancialInstrumentsOwnedDerivativesAndOtherContractualAgreementsAtFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractsAsset" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractsAsset"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractsAsset" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="InvestmentInCooperativeFairValueDisclosure" xlink:href="rex-20170731.xsd#rex_InvestmentInCooperativeFairValueDisclosure"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="InvestmentInCooperativeFairValueDisclosure" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AssetsFairValueDisclosure" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
    <loc xlink:type="locator" xlink:label="ForwardPurchaseContractLiabilityFairValue" xlink:href="rex-20170731.xsd#rex_ForwardPurchaseContractLiabilityFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems" xlink:to="ForwardPurchaseContractLiabilityFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofPropertyandEquipmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfPropertyAndEquipmentAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfPropertyAndEquipmentAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LandAndLandImprovements" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BuildingsAndImprovementsGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MachineryAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ConstructionInProgressGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/ScheduleofOtherAssetsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfOtherAssetsAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfOtherAssetsAbstract"/>
    <loc xlink:type="locator" xlink:label="RealEstateTaxesRefundableNoncurrent" xlink:href="rex-20170731.xsd#rex_RealEstateTaxesRefundableNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="RealEstateTaxesRefundableNoncurrent" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DepositsAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DepositsAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_DepositsAssetsNoncurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsMiscellaneousNoncurrent" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAssetsNoncurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfOtherAssetsAbstract" xlink:to="us-gaap_OtherAssetsNoncurrent" order="3.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-20170731.xsd#rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedUtilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccruedIncomeTaxes" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAccruedLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherLiabilitiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract" xlink:to="us-gaap_OtherLiabilitiesCurrent" order="5.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-20170731.xsd#rex_ScheduleOfFairValuesForDerivativeFinancialInstrumentsAbstract"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable" xlink:href="rex-20170731.xsd#rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsTable"/>
    <loc xlink:type="locator" xlink:label="DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeContractTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ForwardContractsMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeLiabilities" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofEquityMethodInvestmentsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfEquityMethodInvestmentsAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfEquityMethodInvestmentsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfEquityMethodInvestmentsAbstract" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" 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="us-gaap_ScheduleOfEquityMethodInvestmentsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentsLineItems" xlink:to="us-gaap_EquityMethodInvestments" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestments_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestments"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofFinancialinformationForEquityMethodInvestmentTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfFinancialInformationForEquityMethodInvestmentAbstract"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:href="rex-20170731.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="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" 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="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentTable" xlink:to="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationRevenue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsScheduleofFinancialinformationForEquityMethodInvestmentLineItems" xlink:to="us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss" 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-20170731.xsd#rex_ScheduleOfNonVestedRestrictedStockAwardActivityAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue" order="6.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares" order="7.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue" order="8.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares_0" order="9.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfNonVestedRestrictedStockAwardActivityAbstract" xlink:to="us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue_0" order="10.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_0" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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_0" order="11.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-20170731.xsd#rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract"/>
    <loc xlink:type="locator" xlink:label="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties_0" xlink:href="rex-20170731.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="2.0" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable">
    <loc xlink:type="locator" xlink:label="ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:href="rex-20170731.xsd#rex_ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ScheduleOfSalesOfConsolidatedEthanolPlantsAbstract" xlink:to="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductOrServiceAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductOrServiceAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_ProductOrServiceAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProductsAndServicesDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ProductsAndServicesDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="us-gaap_ProductsAndServicesDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="EthanolMember" xlink:href="rex-20170731.xsd#rex_EthanolMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="EthanolMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="DriedDistillersGrainsMember" xlink:href="rex-20170731.xsd#rex_DriedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="DriedDistillersGrainsMember" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="NonFoodGradeCornOilMember" xlink:href="rex-20170731.xsd#rex_NonFoodGradeCornOilMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="NonFoodGradeCornOilMember" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="ModifiedDistillersGrainsMember" xlink:href="rex-20170731.xsd#rex_ModifiedDistillersGrainsMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="ModifiedDistillersGrainsMember" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="OtherProductMember" xlink:href="rex-20170731.xsd#rex_OtherProductMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ProductOrServiceAxis" xlink:to="OtherProductMember" 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_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable" xlink:to="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_OtherAlternativeEnergySalesRevenue" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_OtherAlternativeEnergySalesRevenue"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems" xlink:to="us-gaap_OtherAlternativeEnergySalesRevenue" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/CONSOLIDATEDCONDENSEDFINANCIALSTATEMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_NumberOfOperatingSegments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="us-gaap_NumberOfOperatingSegments" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NumberOfEthanolEntitiesUnderOwnershipInterest" xlink:href="rex-20170731.xsd#rex_NumberOfEthanolEntitiesUnderOwnershipInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="NumberOfEthanolEntitiesUnderOwnershipInterest" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" xlink:href="rex-20170731.xsd#rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockAbstract" xlink:to="NumberOfEthanolEntitiesUnderMajorityOwnershipInterest" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/ACCOUNTINGPOLICIESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_AccountingPoliciesAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <loc xlink:type="locator" xlink:label="ACCOUNTINGPOLICIESDetailsTable" xlink:href="rex-20170731.xsd#rex_ACCOUNTINGPOLICIESDetailsTable"/>
    <loc xlink:type="locator" xlink:label="ACCOUNTINGPOLICIESDetailsLineItems" xlink:href="rex-20170731.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_PropertyPlantAndEquipmentByTypeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="FixturesAndEquipmentMember" xlink:href="rex-20170731.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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_RangeAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RangeMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RangeMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_RangeMember" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MinimumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MinimumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_MinimumMember" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_MaximumMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_MaximumMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RangeAxis" xlink:to="us-gaap_MaximumMember" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeStatementLocationDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="us-gaap_CostOfSalesMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_StatementScenarioAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_StatementScenarioAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsTable" xlink:to="us-gaap_StatementScenarioAxis" order="4.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScenarioUnspecifiedDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="us-gaap_ScenarioUnspecifiedDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="ApproximateMember" xlink:href="rex-20170731.xsd#rex_ApproximateMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_StatementScenarioAxis" xlink:to="ApproximateMember" 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="ACCOUNTINGPOLICIESDetailsTable" xlink:to="ACCOUNTINGPOLICIESDetailsLineItems" order="5.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxesPaid" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ProceedsFromIncomeTaxRefunds" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefits" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="ACCOUNTINGPOLICIESDetailsLineItems" xlink:to="us-gaap_PropertyPlantAndEquipmentDepreciationMethods" order="5.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PropertyPlantAndEquipmentEstimatedUsefulLives" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting" xlink:href="rex-20170731.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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DebtDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="REVOLVINGLINESOFCREDITDetailsTable" xlink:href="rex-20170731.xsd#rex_REVOLVINGLINESOFCREDITDetailsTable"/>
    <loc xlink:type="locator" xlink:label="REVOLVINGLINESOFCREDITDetailsLineItems" xlink:href="rex-20170731.xsd#rex_REVOLVINGLINESOFCREDITDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DebtDisclosureAbstract" xlink:to="REVOLVINGLINESOFCREDITDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_LegalEntityAxis" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsTable" xlink:to="dei_LegalEntityAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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-20170731.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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsTable" xlink:to="us-gaap_CreditFacilityAxis" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CreditFacilityDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_CreditFacilityDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RevolvingCreditFacilityMember" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_CreditFacilityAxis" xlink:to="us-gaap_RevolvingCreditFacilityMember" order="1.0"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsTable" xlink:to="REVOLVINGLINESOFCREDITDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentMaturityDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentMaturityDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_DebtInstrumentMaturityDate" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_LinesOfCreditCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="REVOLVINGLINESOFCREDITDetailsLineItems" xlink:to="us-gaap_LinesOfCreditCurrent" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DERIVATIVEFINANCIALINSTRUMENTSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderCommodityFutures" xlink:href="rex-20170731.xsd#rex_QuantityOfBushelsUnderCommodityFutures"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="QuantityOfBushelsUnderCommodityFutures" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170731.xsd#rex_QuantityOfBushelsUnderForwardPurchaseContract"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="QuantityOfBushelsUnderForwardPurchaseContract" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DebtInstrumentCollateralAmount" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DebtInstrumentCollateralAmount" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_DerivativeGainOnDerivative" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DerivativeGainOnDerivative"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_DisclosureTextBlockSupplementAbstract" xlink:to="us-gaap_DerivativeGainOnDerivative" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INVESTMENTSDetails">
    <loc xlink:type="locator" xlink:label="invest_InvestmentsScheduleAbstract" xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentsScheduleAbstract"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsTable" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="INVESTMENTSDetailsLineItems" xlink:href="rex-20170731.xsd#rex_INVESTMENTSDetailsLineItems"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="invest_InvestmentsScheduleAbstract" xlink:to="INVESTMENTSDetailsTable" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsTable" xlink:to="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" order="1.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvesteeNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvesteeNameDomain"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="us-gaap_EquityMethodInvesteeNameDomain" order="0.0"/>
    <loc xlink:type="locator" xlink:label="BigRiverMember" xlink:href="rex-20170731.xsd#rex_BigRiverMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="BigRiverMember" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="PatriotMember" xlink:href="rex-20170731.xsd#rex_PatriotMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis" xlink:to="PatriotMember" 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="INVESTMENTSDetailsTable" xlink:to="INVESTMENTSDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeLossFromEquityMethodInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_IncomeLossFromEquityMethodInvestments" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentDividendsOrDistributions" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentDividendsOrDistributions"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_EquityMethodInvestmentDividendsOrDistributions" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_EquityMethodInvestmentUnderlyingEquityInNetAssets" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" xlink:href="rex-20170731.xsd#rex_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="ProceedsFromPaymentForEscrowHoldbacksAndAdjustments" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_GainLossOnSaleOfInvestments" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="INVESTMENTSDetailsLineItems" xlink:to="us-gaap_GainLossOnSaleOfInvestments" order="5.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_DisclosureTextBlockSupplementAbstract"/>
    <loc xlink:type="locator" xlink:label="EMPLOYEEBENEFITSDetailsTable" xlink:href="rex-20170731.xsd#rex_EMPLOYEEBENEFITSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="EMPLOYEEBENEFITSDetailsLineItems" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_PlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="EMPLOYEEBENEFITSDetailsTable" xlink:to="EMPLOYEEBENEFITSDetailsLineItems" order="3.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/INCOMETAXESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_IncomeTaxDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_IncomeTaxDisclosureAbstract" xlink:to="us-gaap_EffectiveIncomeTaxRateContinuingOperations" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/COMMITMENTSANDCONTINGENCIESDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <loc xlink:type="locator" xlink:label="COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:href="rex-20170731.xsd#rex_COMMITMENTSANDCONTINGENCIESDetailsTable"/>
    <loc xlink:type="locator" xlink:label="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:href="rex-20170731.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="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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"/>
    <loc xlink:type="locator" xlink:label="dei_EntityDomain" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.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-20170731.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="COMMITMENTSANDCONTINGENCIESDetailsTable" xlink:to="COMMITMENTSANDCONTINGENCIESDetailsLineItems" order="2.0"/>
    <loc xlink:type="locator" xlink:label="QuantityOfBushelsUnderForwardPurchaseContract" xlink:href="rex-20170731.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="QuantityOfEthanolUnderSalesCommitment" xlink:href="rex-20170731.xsd#rex_QuantityOfEthanolUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfEthanolUnderSalesCommitment" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfDistillersGrainsUnderSalesCommitment" xlink:href="rex-20170731.xsd#rex_QuantityOfDistillersGrainsUnderSalesCommitment"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfDistillersGrainsUnderSalesCommitment" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" xlink:href="rex-20170731.xsd#rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="QuantityOfNonFoodGradeCornOilUnderSalesCommitments" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="SupplyCommitmentExpectedPeriodOfDelivery" xlink:href="rex-20170731.xsd#rex_SupplyCommitmentExpectedPeriodOfDelivery"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="COMMITMENTSANDCONTINGENCIESDetailsLineItems" xlink:to="SupplyCommitmentExpectedPeriodOfDelivery" order="4.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONSDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyTransactionsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_RelatedPartyTransactionsAbstract"/>
    <loc xlink:type="locator" xlink:label="RELATEDPARTYTRANSACTIONSDetailsTable" xlink:href="rex-20170731.xsd#rex_RELATEDPARTYTRANSACTIONSDetailsTable"/>
    <loc xlink:type="locator" xlink:label="RELATEDPARTYTRANSACTIONSDetailsLineItems" xlink:href="rex-20170731.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="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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"/>
    <loc xlink:type="locator" xlink:label="us-gaap_RelatedPartyDomain" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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="OneEarthEnergyAndNuGenEnergyMember" xlink:href="rex-20170731.xsd#rex_OneEarthEnergyAndNuGenEnergyMember"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" 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="2.0"/>
    <loc xlink:type="locator" xlink:label="us-gaap_CostsAndExpensesRelatedParty" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_AccountsPayableRelatedPartiesCurrent" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-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/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/SubsequentEventDetails">
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsAbstract" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsAbstract"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventDescription" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventDescription"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventDescription" order="0.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_SubsequentEventsDate" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_SubsequentEventsDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_SubsequentEventsDate" order="1.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
    <loc xlink:type="locator" xlink:label="us-gaap_EquityMethodInvestmentOwnershipPercentage" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_EquityMethodInvestmentOwnershipPercentage" order="2.0" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <loc xlink:type="locator" xlink:label="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" xlink:href="http://xbrl.fasb.org/us-gaap/2017/elts/us-gaap-2017-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap_SubsequentEventsAbstract" xlink:to="us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1" order="3.0" preferredLabel="http://www.xbrl.org/2003/role/label"/>
  </presentationLink>
  <presentationLink xlink:type="extended" xlink:role="http://www.rexamerican.com/role/DocumentAndEntityInformation">
    <loc xlink:type="locator" xlink:label="DocumentAndEntityInformationAbstract" xlink:href="rex-20170731.xsd#rex_DocumentAndEntityInformationAbstract"/>
    <loc xlink:type="locator" xlink:label="dei_EntityRegistrantName" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityRegistrantName" order="1.0"/>
    <loc xlink:type="locator" xlink:label="dei_TradingSymbol" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_TradingSymbol" order="2.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentType" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentType" order="3.0"/>
    <loc xlink:type="locator" xlink:label="dei_CurrentFiscalYearEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_CurrentFiscalYearEndDate" order="4.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCommonStockSharesOutstanding" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCommonStockSharesOutstanding" order="5.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityPublicFloat" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityPublicFloat" order="6.0"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentFlag" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_AmendmentFlag" order="7.0"/>
    <loc xlink:type="locator" xlink:label="dei_AmendmentDescription" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentDescription"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_AmendmentDescription" order="8.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCentralIndexKey" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCentralIndexKey" order="9.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityCurrentReportingStatus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityCurrentReportingStatus" order="10.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityVoluntaryFilers" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityVoluntaryFilers" order="11.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityFilerCategory" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityFilerCategory" order="12.0"/>
    <loc xlink:type="locator" xlink:label="dei_EntityWellKnownSeasonedIssuer" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_EntityWellKnownSeasonedIssuer" order="13.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentPeriodEndDate" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentPeriodEndDate" order="14.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalYearFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentFiscalYearFocus" order="15.0"/>
    <loc xlink:type="locator" xlink:label="dei_DocumentFiscalPeriodFocus" xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus"/>
    <presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="DocumentAndEntityInformationAbstract" xlink:to="dei_DocumentFiscalPeriodFocus" order="16.0"/>
  </presentationLink>
</linkbase>
</XBRL>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>13
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748258896">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Document And Entity Information - shares<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Sep. 05, 2017</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_DocumentAndEntityInformationAbstract', window );"><strong>Document and Entity Information [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_dei_EntityRegistrantName', window );">Entity Registrant Name</a></td>
<td class="text">REX AMERICAN RESOURCES Corp<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_DocumentType', window );">Document Type</a></td>
<td class="text">10-Q<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_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="re">
<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">6,558,679<span></span>
</td>
</tr>
<tr 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_AmendmentFlag', window );">Amendment Flag</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_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="ro">
<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="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_dei_EntityVoluntaryFilers', window );">Entity Voluntary Filers</a></td>
<td class="text">No<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_EntityWellKnownSeasonedIssuer', window );">Entity Well-known Seasoned Issuer</a></td>
<td class="text">No<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_DocumentPeriodEndDate', window );">Document Period End Date</a></td>
<td class="text">Jul. 31,  2017<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_DocumentFiscalYearFocus', window );">Document Fiscal Year Focus</a></td>
<td class="text">2017<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_DocumentFiscalPeriodFocus', window );">Document Fiscal Period Focus</a></td>
<td class="text">Q2<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>If the value is true, then the document is an amendment to previously-filed/accepted document.</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_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>This is focus fiscal period of the document report. For a first quarter 2006 quarterly report, which may also provide financial information from prior periods, the first fiscal quarter should be given as the fiscal period focus. Values: FY, Q1, Q2, Q3, Q4, H1, H2, M9, T1, T2, T3, M8, CY.</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 CCYY 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_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>The end date of the period reflected on the cover page if a periodic report. For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date. The format of the date is CCYY-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_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_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 12b<br> -Subsection 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_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_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: (1) Large Accelerated Filer, (2) Accelerated Filer, (3) Non-accelerated Filer, (4) Smaller Reporting Company (Non-accelerated) or (5) Smaller Reporting 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>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_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_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 12b<br> -Subsection 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_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_EntityVoluntaryFilers">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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" if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.</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_EntityVoluntaryFilers</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_EntityWellKnownSeasonedIssuer">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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" if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.</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_EntityWellKnownSeasonedIssuer</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_rex_DocumentAndEntityInformationAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DocumentAndEntityInformationAbstract</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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>14
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748728768">
<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>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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">$ 185,997<span></span>
</td>
<td class="nump">$ 188,576<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RestrictedCashAndCashEquivalentsAtCarryingValue', window );">Restricted cash</a></td>
<td class="nump">379<span></span>
</td>
<td class="nump">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_AccountsReceivableNetCurrent', window );">Accounts receivable</a></td>
<td class="nump">10,938<span></span>
</td>
<td class="nump">11,901<span></span>
</td>
</tr>
<tr class="re">
<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">22,091<span></span>
</td>
<td class="nump">17,057<span></span>
</td>
</tr>
<tr class="ro">
<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">1,527<span></span>
</td>
<td class="nump">1,070<span></span>
</td>
</tr>
<tr class="re">
<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">7,535<span></span>
</td>
<td class="nump">6,959<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxAssetsNetNoncurrent', window );">Deferred taxes, net</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">824<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AssetsCurrent', window );">Total current assets</a></td>
<td class="nump">228,467<span></span>
</td>
<td class="nump">226,517<span></span>
</td>
</tr>
<tr class="ro">
<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">187,545<span></span>
</td>
<td class="nump">182,761<span></span>
</td>
</tr>
<tr class="re">
<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 );">Other assets</a></td>
<td class="nump">6,720<span></span>
</td>
<td class="nump">6,913<span></span>
</td>
</tr>
<tr class="ro">
<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 investments</a></td>
<td class="nump">36,665<span></span>
</td>
<td class="nump">37,833<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_Assets', window );">Total assets</a></td>
<td class="nump">459,397<span></span>
</td>
<td class="nump">454,024<span></span>
</td>
</tr>
<tr class="ro">
<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="re">
<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</a></td>
<td class="nump">11,251<span></span>
</td>
<td class="nump">9,171<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherLiabilitiesCurrent', window );">Accrued expenses and other current liabilities</a></td>
<td class="nump">7,442<span></span>
</td>
<td class="nump">13,348<span></span>
</td>
</tr>
<tr class="reu">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LiabilitiesCurrent', window );">Total current liabilities</a></td>
<td class="nump">18,693<span></span>
</td>
<td class="nump">22,519<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_LongTermLiabilitiesAbstract', window );"><strong>Long-term liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DeferredTaxLiabilitiesNoncurrent', window );">Deferred taxes</a></td>
<td class="nump">40,848<span></span>
</td>
<td class="nump">41,135<span></span>
</td>
</tr>
<tr class="ro">
<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,260<span></span>
</td>
<td class="nump">2,096<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">43,108<span></span>
</td>
<td class="nump">43,231<span></span>
</td>
</tr>
<tr 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">146,851<span></span>
</td>
<td class="nump">145,767<span></span>
</td>
</tr>
<tr class="re">
<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">515,692<span></span>
</td>
<td class="nump">508,207<span></span>
</td>
</tr>
<tr class="ro">
<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">(313,658)<span></span>
</td>
<td class="num">(313,838)<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">349,184<span></span>
</td>
<td class="nump">340,435<span></span>
</td>
</tr>
<tr class="ro">
<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">48,412<span></span>
</td>
<td class="nump">47,839<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">397,596<span></span>
</td>
<td class="nump">388,274<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">$ 459,397<span></span>
</td>
<td class="nump">$ 454,024<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://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6935-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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 due from customers or clients, within one year of the balance sheet date (or the normal operating cycle, whichever is longer), for goods or services (including trade receivables) that have been delivered or sold in the normal course of business, reduced to the estimated net realizable fair value by an allowance established by the entity of the amount it deems uncertain of collection.</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 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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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(4))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&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_AccountsReceivableNetCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AdditionalPaidInCapitalCommonStock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions. Includes only common stock transactions (excludes preferred stock transactions). May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6801-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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_AssetsCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>instant</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_AssetsCurrentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AssetsCurrentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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/presentationRef<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=6877327&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_DeferredTaxAssetsNetNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards 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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32537-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e31931-109318<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=84176650&amp;loc=d3e31928-109318<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e31958-109318<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e31917-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_DeferredTaxAssetsNetNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e31931-109318<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e31958-109318<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e31917-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://www.xbrl.org/2003/role/presentationRef<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=66022249&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6876686&amp;loc=d3e534808-122878<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 35<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=68049868&amp;loc=d3e3927-108312<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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_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/2003/role/presentationRef<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=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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/presentationRef<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=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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_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://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6904-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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_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://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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_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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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_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_RestrictedCashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 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. 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://www.xbrl.org/2003/role/presentationRef<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=98513485&amp;loc=SL98516268-108586<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6676-107765<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_RestrictedCashAndCashEquivalentsAtCarryingValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=27012166&amp;loc=d3e187085-122770<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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_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/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=27010918&amp;loc=d3e74512-122707<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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/presentationRef<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=84234705&amp;loc=SL4590271-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4568740-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4568447-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_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://www.xbrl.org/2003/role/presentationRef<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 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>15
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6749119616">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</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_SalesRevenueNet', window );">Net sales and revenue</a></td>
<td class="nump">$ 108,744<span></span>
</td>
<td class="nump">$ 115,707<span></span>
</td>
<td class="nump">$ 221,887<span></span>
</td>
<td class="nump">$ 215,929<span></span>
</td>
</tr>
<tr class="ro">
<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</a></td>
<td class="nump">97,963<span></span>
</td>
<td class="nump">98,423<span></span>
</td>
<td class="nump">198,617<span></span>
</td>
<td class="nump">190,223<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_GrossProfit', window );">Gross profit</a></td>
<td class="nump">10,781<span></span>
</td>
<td class="nump">17,284<span></span>
</td>
<td class="nump">23,270<span></span>
</td>
<td class="nump">25,706<span></span>
</td>
</tr>
<tr class="ro">
<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">(4,779)<span></span>
</td>
<td class="num">(5,206)<span></span>
</td>
<td class="num">(10,181)<span></span>
</td>
<td class="num">(9,233)<span></span>
</td>
</tr>
<tr class="re">
<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">137<span></span>
</td>
<td class="nump">1,186<span></span>
</td>
<td class="nump">837<span></span>
</td>
<td class="nump">1,419<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnSaleOfInvestments', window );">(Loss) gain on sale of investment</a></td>
<td class="num">(13)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(13)<span></span>
</td>
<td class="nump">192<span></span>
</td>
</tr>
<tr class="re">
<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 disposal of property and equipment, net</a></td>
<td class="nump">13<span></span>
</td>
<td class="nump">185<span></span>
</td>
<td class="nump">13<span></span>
</td>
<td class="nump">185<span></span>
</td>
</tr>
<tr class="ro">
<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</a></td>
<td class="nump">334<span></span>
</td>
<td class="nump">97<span></span>
</td>
<td class="nump">549<span></span>
</td>
<td class="nump">257<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_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest', window );">Income before income taxes</a></td>
<td class="nump">6,473<span></span>
</td>
<td class="nump">13,546<span></span>
</td>
<td class="nump">14,475<span></span>
</td>
<td class="nump">18,526<span></span>
</td>
</tr>
<tr class="ro">
<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 for income taxes</a></td>
<td class="num">(2,302)<span></span>
</td>
<td class="num">(4,517)<span></span>
</td>
<td class="num">(4,692)<span></span>
</td>
<td class="num">(6,031)<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_ProfitLoss', window );">Net income</a></td>
<td class="nump">4,171<span></span>
</td>
<td class="nump">9,029<span></span>
</td>
<td class="nump">9,783<span></span>
</td>
<td class="nump">12,495<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest', window );">Net income attributable to noncontrolling interests</a></td>
<td class="num">(1,230)<span></span>
</td>
<td class="num">(853)<span></span>
</td>
<td class="num">(2,298)<span></span>
</td>
<td class="num">(1,481)<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_NetIncomeLoss', window );">Net income attributable to REX common shareholders</a></td>
<td class="nump">$ 2,941<span></span>
</td>
<td class="nump">$ 8,176<span></span>
</td>
<td class="nump">$ 7,485<span></span>
</td>
<td class="nump">$ 11,014<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted', window );">Weighted average shares outstanding &#8211; basic and diluted (in Shares)</a></td>
<td class="nump">6,593<span></span>
</td>
<td class="nump">6,586<span></span>
</td>
<td class="nump">6,592<span></span>
</td>
<td class="nump">6,590<span></span>
</td>
</tr>
<tr class="re">
<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 per share attributable to REX common shareholders (in Dollars per share)</a></td>
<td class="nump">$ 0.45<span></span>
</td>
<td class="nump">$ 1.24<span></span>
</td>
<td class="nump">$ 1.14<span></span>
</td>
<td class="nump">$ 1.67<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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>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_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>num: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_GainLossOnSaleOfInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing 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/presentationRef<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=98514028&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_GainLossOnSaleOfInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GrossProfit</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=68072869&amp;loc=d3e41242-110953<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(15))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(8))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeLossFromEquityMethodInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=66022249&amp;loc=d3e33749-111570<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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_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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (a),(b)<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32639-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=26873400&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_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://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 260<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6371337&amp;loc=d3e3550-109257<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(22))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(18))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of Net Income (Loss) attributable to noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=84234705&amp;loc=SL4591551-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetIncomeLossAttributableToNoncontrollingInterest</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=84234705&amp;loc=SL4591552-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4569616-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=84161450&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=84234705&amp;loc=SL4591551-111686<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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_SalesRevenueNet">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 revenue from sale of goods and services rendered during the reporting period, in the normal course of business, reduced by sales returns and allowances, and sales discounts.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SalesRevenueNet</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 30<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=68048583&amp;loc=d3e3636-108311<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>16
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6754288752">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY - USD ($)<br> shares in Thousands, $ in Thousands</strong></div></th>
<th class="th"><div>Common Stock [Member]</div></th>
<th class="th"><div>Treasury Stock [Member]</div></th>
<th class="th"><div>Additional Paid-in Capital [Member]</div></th>
<th class="th"><div>Retained Earnings [Member]</div></th>
<th class="th"><div>Noncontrolling Interest [Member]</div></th>
<th class="th"><div>Total</div></th>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2016</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (309,754)<span></span>
</td>
<td class="nump">$ 144,844<span></span>
</td>
<td class="nump">$ 475,874<span></span>
</td>
<td class="nump">$ 44,496<span></span>
</td>
<td class="nump">$ 355,759<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, 2016</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,204<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">11,014<span></span>
</td>
<td class="nump">1,481<span></span>
</td>
<td class="nump">12,495<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockValueAcquiredCostMethod', window );">Treasury stock acquired</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">$ (4,353)<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">(4,353)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_TreasuryStockSharesAcquired', window );">Treasury stock acquired (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">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>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensation', window );">Stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 258<span></span>
</td>
<td class="nump">877<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1,135<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(2,096)<span></span>
</td>
<td class="num">(2,096)<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, 2016</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (313,849)<span></span>
</td>
<td class="nump">145,721<span></span>
</td>
<td class="nump">486,888<span></span>
</td>
<td class="nump">43,881<span></span>
</td>
<td class="nump">362,940<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, 2016</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,292<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rc">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest', window );">Balance at Jan. 31, 2017</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (313,838)<span></span>
</td>
<td class="nump">145,767<span></span>
</td>
<td class="nump">508,207<span></span>
</td>
<td class="nump">47,839<span></span>
</td>
<td class="nump">388,274<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, 2017</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,292<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">7,485<span></span>
</td>
<td class="nump">2,298<span></span>
</td>
<td class="nump">9,783<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 180<span></span>
</td>
<td class="nump">1,084<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1,264<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation', window );">Issuance of equity awards and stock based compensation expense (in Shares)</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(5)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders', window );">Noncontrolling interests distribution and other</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(1,725)<span></span>
</td>
<td class="num">(1,725)<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, 2017</a></td>
<td class="nump">$ 299<span></span>
</td>
<td class="num">$ (313,658)<span></span>
</td>
<td class="nump">$ 146,851<span></span>
</td>
<td class="nump">$ 515,692<span></span>
</td>
<td class="nump">$ 48,412<span></span>
</td>
<td class="nump">$ 397,596<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, 2017</a></td>
<td class="nump">29,853<span></span>
</td>
<td class="nump">23,287<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_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://www.xbrl.org/2003/role/presentationRef<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=27012166&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_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/presentationRef<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=84234705&amp;loc=SL4591552-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4569616-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=84161450&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=84234705&amp;loc=SL4591551-111686<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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_ShareBasedCompensation">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 amount of noncash, equity-based employee remuneration. This may include the value of stock or unit options, amortization of restricted stock or units, and adjustment for officers' compensation. As noncash, this element is an add back when calculating net cash generated by operating activities 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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_ShareBasedCompensation</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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 of shares (or other type of equity) issued during the period as a result of any equity-based compensation plan other than an employee stock ownership plan (ESOP), net of any shares forfeited. Shares issued could result from the issuance of restricted stock, the exercise of stock options, stock issued under employee stock purchase plans, and/or other employee benefit plans.</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 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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=84159872&amp;loc=d3e21463-112644<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=27012166&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_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 of stock (or other type of equity) issued during the period as a result of any equity-based compensation plan other than an employee stock ownership plan (ESOP), net of stock value of such awards forfeited. Stock issued could result from the issuance of restricted stock, the exercise of stock options, stock issued under employee stock purchase plans, and/or other employee benefit plans.</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 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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96867065&amp;loc=d3e5047-113901<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=96867065&amp;loc=d3e5070-113901<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=27012166&amp;loc=d3e187085-122770<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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/presentationRef<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=84234705&amp;loc=SL4590271-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4568740-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4568447-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_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://www.xbrl.org/2003/role/presentationRef<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=27012166&amp;loc=d3e187085-122770<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=84159872&amp;loc=d3e21463-112644<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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://www.xbrl.org/2003/role/presentationRef<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=84159872&amp;loc=d3e21463-112644<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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=27012166&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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementEquityComponentsAxis=us-gaap_CommonStockMember</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_StatementEquityComponentsAxis=us-gaap_TreasuryStockMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementEquityComponentsAxis=us-gaap_TreasuryStockMember</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_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember</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_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementEquityComponentsAxis=us-gaap_RetainedEarningsMember</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_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementEquityComponentsAxis=us-gaap_NoncontrollingInterestMember</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>17
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748835040">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED STATEMENTS OF CASH FLOWS - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromOperatingActivitiesAbstract', window );"><strong>Cash flows from operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProfitLoss', window );">Net income including noncontrolling interests</a></td>
<td class="nump">$ 9,783<span></span>
</td>
<td class="nump">$ 12,495<span></span>
</td>
</tr>
<tr 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_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract', window );"><strong>Adjustments to reconcile net income to net cash provided by operating activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DepreciationDepletionAndAmortization', window );">Depreciation and amortization</a></td>
<td class="nump">9,955<span></span>
</td>
<td class="nump">9,748<span></span>
</td>
</tr>
<tr class="re">
<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">(837)<span></span>
</td>
<td class="num">(1,419)<span></span>
</td>
</tr>
<tr class="ro">
<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="nump">2,005<span></span>
</td>
<td class="nump">1,504<span></span>
</td>
</tr>
<tr class="re">
<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 disposal of real estate and property and equipment, net</a></td>
<td class="num">(13)<span></span>
</td>
<td class="num">(185)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_GainLossOnInvestments', window );">Loss (gain) on sale of investment</a></td>
<td class="nump">13<span></span>
</td>
<td class="num">(192)<span></span>
</td>
</tr>
<tr class="re">
<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="nump">537<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_AllocatedShareBasedCompensationExpense', window );">Stock based compensation expense</a></td>
<td class="nump">350<span></span>
</td>
<td class="nump">40<span></span>
</td>
</tr>
<tr 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_ChangesInAssetsAndLiabilitiesAbstract', window );"><strong>Changes in assets and liabilities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<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="nump">886<span></span>
</td>
<td class="num">(4,250)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInInventories', window );">Inventories</a></td>
<td class="num">(5,034)<span></span>
</td>
<td class="num">(6,455)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInOtherOperatingAssets', window );">Other assets</a></td>
<td class="num">(953)<span></span>
</td>
<td class="nump">2,989<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInAccountsPayableTrade', window );">Accounts payable, trade</a></td>
<td class="nump">1,678<span></span>
</td>
<td class="num">(3,087)<span></span>
</td>
</tr>
<tr class="ro">
<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="num">(4,828)<span></span>
</td>
<td class="nump">169<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="nump">13,542<span></span>
</td>
<td class="nump">11,357<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_CashFlowsFromInvestingActivitiesAbstract', window );"><strong>Cash flows from investing activities:</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment', window );">Capital expenditures</a></td>
<td class="num">(14,366)<span></span>
</td>
<td class="num">(9,334)<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncreaseDecreaseInRestrictedCash', window );">Restricted cash</a></td>
<td class="num">(249)<span></span>
</td>
<td class="num">(56)<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfRestrictedInvestments', window );">Restricted investments and deposits</a></td>
<td class="nump">100<span></span>
</td>
<td class="nump">409<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfLongtermInvestments', window );">Proceeds from sale of investment</a></td>
<td class="nump">64<span></span>
</td>
<td class="nump">2,275<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment', window );">Proceeds from sale of real estate and property and equipment, net</a></td>
<td class="nump">42<span></span>
</td>
<td class="nump">1,028<span></span>
</td>
</tr>
<tr class="ro">
<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="nump">13<span></span>
</td>
<td class="nump">12<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 used in investing activities</a></td>
<td class="num">(14,396)<span></span>
</td>
<td class="num">(5,666)<span></span>
</td>
</tr>
<tr 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>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PaymentsToMinorityShareholders', window );">Dividend payments to and purchases of stock from noncontrolling interests holders</a></td>
<td class="num">(1,725)<span></span>
</td>
<td class="num">(2,096)<span></span>
</td>
</tr>
<tr class="ro">
<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">(4,709)<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="num">(1,725)<span></span>
</td>
<td class="num">(6,805)<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_CashAndCashEquivalentsPeriodIncreaseDecrease', window );">Net decrease in cash and cash equivalents</a></td>
<td class="num">(2,579)<span></span>
</td>
<td class="num">(1,114)<span></span>
</td>
</tr>
<tr class="re">
<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, beginning of period</a></td>
<td class="nump">188,576<span></span>
</td>
<td class="nump">135,765<span></span>
</td>
</tr>
<tr class="ro">
<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, end of period</a></td>
<td class="nump">185,997<span></span>
</td>
<td class="nump">134,651<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="nump">744<span></span>
</td>
<td class="nump">1,350<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_NonCashFinancingActivitiesEquityAwardsIssued', window );">Non cash financing activities &#8211; Stock awards accrued</a></td>
<td class="nump">281<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_NonCashFinancingActivitiesStockAwardsIssued', window );">Non cash financing activities &#8211; Stock awards issued</a></td>
<td class="nump">$ 1,195<span></span>
</td>
<td class="nump">$ 1,095<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_AdjustmentsToReconcileNetIncomeToNetCashProvidedByOperatingActivitiesAbstract</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_CashFlowsFromOperatingActivitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_CashFlowsFromOperatingActivitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_ChangesInAssetsAndLiabilitiesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">rex_ChangesInAssetsAndLiabilitiesAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>rex_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NonCashFinancingActivitiesEquityAwardsIssued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NonCashFinancingActivitiesEquityAwardsIssued</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_NonCashFinancingActivitiesStockAwardsIssued">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NonCashFinancingActivitiesStockAwardsIssued</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_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>Represents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.</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 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=27013229&amp;loc=d3e301413-122809<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96867065&amp;loc=d3e5047-113901<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=96867065&amp;loc=d3e5070-113901<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_AllocatedShareBasedCompensationExpense</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_CashAndCashEquivalentsAtCarryingValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6676-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3044-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_CashAndCashEquivalentsPeriodIncreaseDecrease">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 and cash equivalents. Cash and cash equivalents are the 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. Includes effect from exchange rate changes.</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 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=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98513438&amp;loc=d3e33268-110906<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84230637&amp;loc=d3e32639-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=26873400&amp;loc=d3e23780-122690<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=34349781&amp;loc=d3e330036-122817<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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/presentationRef<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=98514028&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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=98514028&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_GainLossOnInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 net total realized and unrealized gain (loss) included in earnings for the period as a result of selling or holding marketable securities categorized as trading, available-for-sale, or held-to-maturity, including the unrealized holding gain (loss) of held-to-maturity securities transferred to the trading security category and the cumulative unrealized gain (loss) which was included in other comprehensive income (a separate component of shareholders' equity) for available-for-sale securities transferred to trading securities during the period. Additionally, this item would include any gains (losses) realized during the period from the sale of investments accounted for under the cost method of accounting and losses recognized for other than temporary impairments (OTTI) of the subject investments.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section 50<br> -Paragraph 9<br> -Subparagraph (c)-(e)<br> -URI http://asc.fasb.org/extlink&amp;oid=82897076&amp;loc=d3e27357-111563<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<br> -SubTopic 10<br> -Section S99<br> -Paragraph 2<br> -Subparagraph (SX 210.5-03.7(c),9(a))<br> -URI http://asc.fasb.org/extlink&amp;oid=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=82897076&amp;loc=d3e27405-111563<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_GainLossOnInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_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>This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=66022249&amp;loc=d3e33749-111570<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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://www.xbrl.org/2003/role/presentationRef<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=98514028&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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_IncreaseDecreaseInOtherOperatingAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_IncreaseDecreaseInOtherOperatingAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_IncreaseDecreaseInRestrictedCash">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net cash inflow or outflow for the increase (decrease) associated with funds that are not available for withdrawal or use (such as funds held in escrow) and are associated with underlying transactions that are 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://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3213-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&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_IncreaseDecreaseInRestrictedCash</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>credit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInFinancingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_NetCashProvidedByUsedInFinancingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_NetCashProvidedByUsedInInvestingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 26<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3574-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://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3521-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=98514028&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_NetCashProvidedByUsedInOperatingActivities</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PaymentsForProceedsFromOtherInvestingActivities">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Amount of cash (inflow) outflow from investing activities classified as other.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 9<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3098-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 8<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3095-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://www.xbrl.org/2003/role/presentationRef<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=98514028&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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_PaymentsToMinorityShareholders">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 outflow to a noncontrolling interest. Includes, but not limited to, reduction of noncontrolling interest ownership. 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>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&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_PaymentsToMinorityShareholders</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_ProceedsFromSaleOfLongtermInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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, beyond the current operating cycle.</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_ProceedsFromSaleOfLongtermInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 230<br> -SubTopic 10<br> -Section 45<br> -Paragraph 12<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=98514028&amp;loc=d3e3179-108585<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:monetaryItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>debit</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ProceedsFromSaleOfRestrictedInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 associated with the sale of investments that are pledged or subject to withdrawal restrictions 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://www.xbrl.org/2003/role/presentationRef<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=98514028&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_ProceedsFromSaleOfRestrictedInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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/presentationRef<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=84234705&amp;loc=SL4591552-111686<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=96868048&amp;loc=SL4569616-111683<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=84161450&amp;loc=SL4573702-111684<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=84234705&amp;loc=SL4591551-111686<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1A<br> -Subparagraph (a)(2)<br> -URI http://asc.fasb.org/extlink&amp;oid=84161450&amp;loc=SL4573702-111684<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>18
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744145584">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED FINANCIAL STATEMENTS<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock', window );">Organization, Consolidation and Presentation of Financial Statements Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 99pt 0pt 0"><b>Note 1. <i>Consolidated Condensed Financial Statements</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The consolidated condensed financial statements
included in this report have been prepared by the Company, without audit, pursuant to the rules and regulations of the Securities
and Exchange Commission and include, in the opinion of management, all adjustments necessary to state fairly the information set
forth therein. Any such adjustments were of a normal recurring nature. Certain information and footnote disclosures normally included
in financial statements prepared in accordance with accounting principles generally accepted in the United States of America have
been omitted pursuant to such rules and regulations, although the Company believes that the disclosures are adequate to make the
information presented not misleading. Financial information as of January 31, 2017 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, 2017 (fiscal year 2016). 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, 2017. The results of operations for the interim periods are not necessarily indicative
of the results to be expected for the year.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><font style="font-family: Times New Roman, Times, Serif">Basis
of Consolidation &#x2013; The consolidated condensed financial statements in this report include the operating results and financial
position of REX American Resources Corporation and its wholly and majority owned subsidiaries. All intercompany balances and transactions
have been eliminated. 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.</font></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Nature of Operations &#x2013; The Company
operates in one reportable segment, alternative energy, and has equity investments in three ethanol limited liability companies,
two of which are majority ownership interests.</p><br/><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_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 organization, consolidation and basis of presentation of financial statements 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 FASB<br> -Name Accounting Standards Codification<br> -Topic 205<br> -URI http://asc.fasb.org/topic&amp;trid=2122149<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 810<br> -URI http://asc.fasb.org/topic&amp;trid=2197479<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6649966096">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCOUNTING POLICIES<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountingPoliciesAbstract', window );"><strong>Accounting Policies [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SignificantAccountingPoliciesTextBlock', window );">Significant Accounting Policies [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 2. <i>Accounting Policies</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The interim consolidated condensed financial
statements have been prepared in accordance with the accounting policies described in the notes to the consolidated financial statements
included in the Company&#x2019;s fiscal year 2016 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><br/><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.</p><br/><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales </p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges.</p><br/><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Selling, General and Administrative Expenses</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><font style="font-family: Times New Roman, Times, Serif">The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.</font></p><br/><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0in">Financial Instruments</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#x201c;normal purchases and normal
sales&#x201d; scope exemption of Accounting Standards Codification (&#x201c;ASC&#x201d;) 815, &#x201c;<i>Derivatives and Hedging</i>&#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. During fiscal year 2015, the Company began to carry
a portion of its forward grain purchase contracts at fair value.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating 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><br/><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Income Taxes</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company applies an effective tax rate
to interim periods that is consistent with the Company&#x2019;s estimated annual tax rate as adjusted for discrete items impacting
the interim periods. The Company&#x2019;s estimated annual tax rate does not reflect the impact of its refined coal operation and
the expected federal income tax credits to be earned beginning in the third quarter of fiscal year 2017 (see Note 16). 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 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 approximately $6.5 million and $1.0 million
during the six months ended July 31, 2017 and 2016, respectively. The Company received no refunds of income taxes during the six
months ended July 31, 2017 and 2016.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As of July 31, 2017 and January 31, 2017,
total unrecognized tax benefits were approximately $2.0 million and $1.9 million, respectively. Accrued penalties and interest
were approximately $0.3 million and $0.2 million at July 31, 2017 and January 31, 2017, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $1.3 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><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Inventories</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently 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. There were no significant permanent write-downs of inventory
at July 31, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">4,302</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,262</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,074</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,359</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14,715</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">9,436</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">22,091</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">17,057</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Property and Equipment </b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Property and equipment is recorded at cost.
Depreciation is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements,
and 2 to 20 years for fixtures and equipment.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In accordance with ASC 360-10 &#x201c;<i>Impairment
or Disposal of Long-Lived Assets</i>&#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, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first six months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&#x2019;s management performing cash flow analysis and
have represented management&#x2019;s estimate of the excess of net book value over fair value.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company tests for recoverability
of an asset group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an
asset group 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. The Company generally determines the fair value of
the asset group using a discounted cash flow model based on market participant assumptions (for income producing asset groups)
or by obtaining appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Investments </b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen Energy, LLC (&#x201c;NuGen&#x201d;). The results of One Earth are included on a delayed basis of
one month lag as One Earth has a fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there
is no lag in reporting the results of NuGen. 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;<i>Investments-Equity
Method and Joint Ventures</i>&#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. Any unallocated excess is treated as goodwill and is recorded
as a component of the carrying value of the equity method investee. Investments in businesses that the Company does not control
but for which it has the ability to exercise significant influence over operating and financial matters are accounted for using
the equity method. The Company accounts for its investment in Big River Resources, LLC (&#x201c;Big River&#x201d;) using the equity
method of accounting and includes the results on a delayed basis of one month as Big River has a fiscal year end of December 31.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In March 2016, the Financial Accounting Standards
Board (&#x201c;FASB&#x201d;) issued Accounting Standards Update (&#x201c;ASU&#x201d;) 2016-09, &#x201c;<i>Improvements to Employee Share-Based
Payment Accounting</i>&#x201d; (&#x201c;ASU 2016-09&#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation.
The Company adopted this standard February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&#x2019;s consolidated
financial statements and related disclosures.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In February 2016, the FASB issued ASU 2016-02
&#x201c;<i>Leases</i>&#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company will be required to adopt the
amended guidance in ASC Topic 606 &#x201c;<i>Revenue from Contracts with Customers</i>&#x201d;, which requires revenue recognition
to reflect the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated
standard permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required
adoption of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company is progressing in its evaluation
of adopting this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial
statements with respect to measurement and recognition of revenue. The Company expects to adopt this guidance using the modified
prospective method. The Company is still evaluating the impact of adopting this guidance on disclosures in the consolidated financial
statements.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In November 2015, the FASB issued ASU 2015-17
&#x201c;<i>Balance Sheet Classification of Deferred Taxes</i>&#x201d;, (&#x201c;ASU 2015-17&#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.</p><br/><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/presentationRef<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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744858848">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>LEASES<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_LeasesAbstract', window );"><strong>Leases [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_LeasesOfLessorDisclosureTextBlock', window );">Leases of Lessor Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 3. <i>Leases</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">At July 31, 2017, the Company has lease agreements,
as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table
is a summary of future minimum rentals on such leases (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 50%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; border-bottom: Black 1px solid">Years Ended January 31,</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Minimum<br /> Rentals</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 50%; padding-left: 10pt; text-indent: -10pt">Remainder of 2018</td><td style="width: 30%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 18%; text-align: right">3,556</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2019</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,910</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2020</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,379</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2021</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,580</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2022</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,948</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Thereafter</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,622</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">23,995</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><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_LeasesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_LeasesAbstract</td>
</tr>
<tr>
<td style="padding-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_LeasesOfLessorDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 lessor entity's leasing arrangements for operating, capital and leveraged 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/presentationRef<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_LeasesOfLessorDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6649966096">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>FAIR VALUE<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresAbstract', window );"><strong>Fair Value Disclosures [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueDisclosuresTextBlock', window );">Fair Value Disclosures [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 4. <i>Fair Value</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><font style="color: black">The Company applies
ASC 820, &#x201c;<i>Fair Value Measurements and Disclosures&#x201d;</i>, (&#x201c;ASC 820&#x201d;) which provides a framework for measuring
fair value under </font>accounting principles generally accepted in the United States of America<font style="color: black">. 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.</font></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determines the fair market values
of its financial instruments based on the fair value hierarchy established by ASC 820 which requires an entity to maximize the
use of observable inputs and minimize the use of unobservable inputs when measuring fair value. The standard describes three levels
of inputs that may be used to measure fair values which are provided below. The Company carries certain cash equivalents, investments
and derivative instruments at fair value.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The fair values of derivative assets and
liabilities traded in the over-the-counter market are determined using quantitative models that require the use of multiple market
inputs including interest rates, prices and indices to generate pricing and volatility factors, which are used to value the position.
The predominance of market inputs are actively quoted and can be validated through external sources, including brokers, market
transactions and third-party pricing services. Estimation risk is greater for derivative asset and liability positions that are
either option-based or have longer maturity dates where observable market inputs are less readily available or are unobservable,
in which case interest rate, price or index scenarios are extrapolated in order to determine the fair value. The fair values of
derivative assets and liabilities include adjustments for market liquidity, counterparty credit quality, the Company&#x2019;s own
credit standing and other specific factors, where appropriate. The fair values of property and equipment are determined by using
various models that discount future expected cash flows.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">To ensure the prudent application of estimates
and management judgment in determining the fair value of derivative assets and liabilities, investments and property and equipment,
various processes and controls have been adopted, which include: (i) model validation that requires a review and approval for pricing,
financial statement fair value determination and risk quantification; and (ii) periodic review and substantiation of profit and
loss reporting for all derivative instruments. Financial assets and liabilities measured at fair value on a recurring basis at
July 31, 2017 are summarized below (amounts in thousands):</p><br/><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="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 1</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 2</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 3</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</td><td style="color: black; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">136</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">136</td><td style="width: 1%; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Forward purchase contract asset (4)</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">237</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">237</td><td style="color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">373</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">706</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Forward purchase contract liability (3)</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">158</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">158</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Financial assets and liabilities measured
  at fair value on a recurring basis at January 31, 2017 are summarized below (amounts in thousands):</p><br/><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="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 1</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 2</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 3</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</td><td style="color: black; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">45</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">45</td><td style="width: 1%; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Forward purchase contract asset (4)</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">163</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">163</td><td style="color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">208</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">541</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Forward purchase contract liability (3)</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">136</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">136</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) Commodity futures are included in &#x201c;Prepaid
expenses and other current assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(2) The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(3) The forward purchase contract liability
is included in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance
Sheets.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(4) The forward purchase contract asset is
included in &#x201c;Prepaid expenses and other current assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company determined the fair value of
the investment in cooperative by using a discounted cash flow analysis on the expected cash flows. Inputs used in the analysis
include the face value of the allocated equity amount, the projected term for repayment based upon a historical trend, and a risk
adjusted discount rate based on the expected compensation participants would demand because of the uncertainty of the future cash
flows. The inherent risk and uncertainty associated with unobservable inputs could have a significant effect on the actual fair
value of the investment.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">There were no assets measured at fair value
on a non-recurring basis at July 31, 2017 or January 31, 2017.</p><br/><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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -URI http://asc.fasb.org/topic&amp;trid=2155941<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6654547552">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>PROPERTY AND EQUIPMENT<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentAbstract', window );"><strong>Property, Plant and Equipment [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock', window );">Property, Plant and Equipment Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 5. <i>Property and Equipment</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of property and equipment
are as follows for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">20,965</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">20,951</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,259</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,203</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">261,772</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">255,348</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">9,359</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,046</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">315,355</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">300,548</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(127,810</td><td style="padding-bottom: 1px; text-align: left">)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(117,787</td><td style="padding-bottom: 1px; text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">187,545</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">182,761</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><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 assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, accounting policies and methodology, roll forwards, depreciation, depletion and amortization expense, including composite depreciation, accumulated depreciation, depletion and amortization expense, useful lives and method used, income statement disclosures, assets held for sale and public utility disclosures.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -URI http://asc.fasb.org/topic&amp;trid=2155823<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6622456560">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>OTHER ASSETS<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_OtherAssetsDisclosureTextBlock', window );">Other Assets Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 6. <i>Other Assets</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of other assets are as follows
for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Real estate taxes refundable</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,923</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,923</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Deposits</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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">155</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">742</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">835</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">6,720</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">6,913</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Real estate taxes refundable represent amounts
due One Earth associated with refunds of previously paid taxes in connection with a tax increment financing arrangement with local
taxing authorities. Deposits are with utility and other vendors.</p><br/><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_OtherAssetsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 other assets. This disclosure includes other current assets and other noncurrent assets.</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_OtherAssetsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>24
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6894627552">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableAccruedLiabilitiesAndOtherLiabilitiesDisclosureCurrentTextBlock', window );">Accounts Payable, Accrued Liabilities, and Other Liabilities Disclosure, Current [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 7. <i>Accrued Expenses and Other Current Liabilities</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The components of accrued expenses and other
current liabilities are as follows for the periods presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued utility charges</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,088</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,414</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued payroll and related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,344</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,279</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,049</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,716</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">37</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,120</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,924</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,819</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">7,442</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">13,348</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><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>nonnum: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>25
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907894336">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>REVOLVING LINES OF CREDIT<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_DebtDisclosureAbstract', window );"><strong>Debt 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_DebtDisclosureTextBlock', window );">Debt Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 8. <i>Revolving Lines of Credit</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Effective April 1, 2016, One Earth and NuGen
each entered into $10.0 million revolving loan facilities that matured April 1, 2017. During the second quarter of fiscal year
2017, One Earth and NuGen renewed the revolving loan facilities, which now mature June 1, 2018. Neither One Earth nor NuGen had
outstanding borrowings on the revolving loans during the six months ended July 31, 2017 and 2016.</p><br/><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_DebtDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_DebtDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-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_DebtDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 470<br> -URI http://asc.fasb.org/topic&amp;trid=2208564<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_DebtDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907723616">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_FinancialInstrumentsDisclosureTextBlock', window );">Financial Instruments Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 9. <i>Derivative Financial Instruments</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company is exposed to various market
risks, including changes in commodity prices (raw materials and finished goods). To manage risks associated with the volatility
of these natural business exposures, the Company enters into commodity agreements and forward purchase (corn) and 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.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table provides information
about the fair values of the Company&#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):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif; margin-left: 23.75pt">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="text-align: center; padding-bottom: 1px">Asset Derivatives<br /> Fair Value</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="text-align: center; padding-bottom: 1px">Liability Derivatives<br /> Fair Value</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; text-align: justify; padding-left: 10pt; text-indent: -10pt">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">136</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">45</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">-</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">-</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: 10pt; text-indent: -10pt">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">237</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">163</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">158</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">136</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: 10pt; text-indent: -10pt">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">373</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">208</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">158</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">136</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(1) Commodity futures are included
in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million
bushels of corn at July 31, 2017 and January 31, 2017, respectively.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued
expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels
of corn at July 31, 2017 and January 31, 2017, respectively.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As of July 31, 2017, all of the derivative
financial instruments held by the Company were subject to enforceable master netting arrangements. The Company&#x2019;s accounting
policy is to offset positions amounts owed or owing with the same counterparty. As of July 31, 2017, 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. As of July 31, 2017, the Company was required to maintain collateral with the
counterparty in the amount of approximately $379,000 to secure the Company&#x2019;s derivative liability position.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">See Note 4 which contains fair value information
related to derivative financial instruments.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Gains on the Company&#x2019;s derivative financial
instruments of approximately $853,000 and $1,136,000 for the second quarters of fiscal years 2017 and 2016, respectively, were
included in cost of sales on the Consolidated Condensed Statements of Operations. Gains on the Company&#x2019;s derivative financial
instruments of approximately $977,000 and $1,625,000 for the first six months of fiscal years 2017 and 2016, respectively, were
included in cost of sales on the Consolidated Condensed Statements of Operations.</p><br/><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_FinancialInstrumentsDisclosureTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 financial instruments. This disclosure includes, but is not limited to, fair value measurements of short and long term marketable securities, international currencies forward contracts, and auction rate securities. Financial instruments may include hedging and non-hedging currency exchange instruments, derivatives, securitizations and securities available for sale at fair value. Also included are investment results, realized and unrealized gains and losses as well as impairments and risk management disclosures.</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_FinancialInstrumentsDisclosureTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>27
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744145584">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_invest_InvestmentsScheduleAbstract', window );"><strong>Investments Schedule [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_invest_InvestmentTextBlock', window );">Investment [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 10. <i>Investments </i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes the Company&#x2019;s
equity method investment at July 31, 2017 and January 31, 2017 (dollars in thousands):</p><br/><table cellspacing="0" cellpadding="0" style="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top">
    <td style="width: 30%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Entity</font></td>
    <td style="width: 10%; padding-bottom: 1px">&#160;</td>
    <td style="width: 10%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Ownership</font><br />
<font style="font-family: Times New Roman, Times, Serif">Percentage</font></td>
    <td style="width: 10%; padding-bottom: 1px">&#160;</td>
    <td style="width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Carrying&#160;Amount</font><br />
<font style="font-family: Times New Roman, Times, Serif">July 31, 2017</font></td>
    <td style="width: 10%; padding-bottom: 1px">&#160;</td>
    <td style="width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Carrying&#160;Amount</font><br />
<font style="font-family: Times New Roman, Times, Serif">January&#160;31,&#160;2017</font></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: center">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><font style="font-family: Times New Roman, Times, Serif">Big River </font></td>
    <td>&#160;</td>
    <td style="text-align: right"><font style="font-family: Times New Roman, Times, Serif">9.7%</font></td>
    <td>&#160;</td>
    <td style="text-align: right"><font style="font-family: Times New Roman, Times, Serif">$36,665</font></td>
    <td>&#160;</td>
    <td style="text-align: right"><font style="font-family: Times New Roman, Times, Serif">$37,833</font></td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Undistributed earnings of the Company&#x2019;s
equity method investee totaled approximately $16.6 million and $17.8 million at July 31, 2017 and January 31, 2017, respectively.
The Company received dividends from its equity method investee of approximately $2.0 million and $1.5 million during the first
six months of fiscal years 2017 and 2016, respectively.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Summarized financial information for the
Company&#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):</p><br/><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> July 31,</td><td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Six Months Ended<br /> July 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">212,070</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">210,974</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">404,569</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">394,545</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Gross profit</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">11,582</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">17,057</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">19,764</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">22,928</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Income from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">1,411</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">12,216</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,618</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">14,620</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">1,411</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">12,216</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,618</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">14,620</td><td style="text-align: left">&#160;</td></tr>
</table><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Big River has debt agreements that limit
amounts Big River can pay in the form of dividends or advances to owners. The restricted net assets of Big River at July 31, 2017
and January 31, 2017 are approximately $279.5 million and $278.7 million, respectively.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On June 1, 2015, Patriot Holdings, LLC (&#x201c;Patriot&#x201d;)
and a subsidiary of CHS Inc. (&#x201c;CHS&#x201d;) completed a merger that resulted in CHS acquiring 100% of the ownership interest
in Patriot. During the first quarter of fiscal year 2016, the Company received proceeds of approximately $2.3 million as partial
payment for certain escrow holdbacks and adjustments to the purchase price. As a result, the Company recognized approximately $0.2
million as gain on sale of investment during the first quarter of fiscal year 2016. The Company does not expect any further proceeds
or gain/loss on sale of investment to be significant.</p><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_invest_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 investments, including all tables.</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-X (SX)<br> -Number 210<br> -Article 6<br> -Section 10<br> -Paragraph (c)<br> -Subparagraph (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;">invest_InvestmentTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>invest_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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_invest_InvestmentsScheduleAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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;">invest_InvestmentsScheduleAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>invest_</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>28
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6635064672">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DisclosureTextBlockSupplementAbstract', window );"><strong>Disclosure Text Block Supplement [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CompensationAndEmployeeBenefitPlansTextBlock', window );">Compensation and Employee Benefit Plans [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 11. <i>Employee Benefits</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">The Company maintains
the REX 2015 Incentive Plan, approved by its shareholders, which reserves a total of 550,000 shares of common stock for issuance
pursuant to its terms. The plan provides for the granting of shares of stock, including options to purchase shares of common stock,
stock appreciation rights tied
to the value of common stock, restricted stock, and restricted stock unit awards to eligible employees, non-employee directors
and consultants. The Company measures share-based compensation grants at fair value on the grant date, adjusted for estimated forfeitures.
The Company records noncash compensation expense related to liability and equity awards in its consolidated financial statements
over the requisite service period on a straight-line basis. At July 31, 2017, 511,174 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 date of the grant. 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.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: justify; text-indent: 36pt">At July 31, and January
31, 2017, unrecognized compensation cost related to nonvested restricted stock was approximately $321,000 and $214,000, respectively.
The following table summarizes non-vested restricted stock award activity for the six months ended July 31, 2017 and 2016:</p><br/><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">Six Months Ended July 31, 2017</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#160;Remaining<br /> Vesting Term<br /> (in years)</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 43%; padding-left: 10pt; text-indent: -10pt">Non-Vested at January 31, 2017</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 12%; text-align: right">23,350</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: 15%; text-align: right">1,386</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: 15%; text-align: right">2</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">14,156</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,370</td><td style="text-align: left">&#160;</td><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: 10pt; text-indent: -10pt">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-left: 10pt; text-indent: -10pt; padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">8,091</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">481</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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 3px">Non-Vested at July 31, 2017</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px; border-bottom: Black 3px double">&#160;</td><td style="text-align: right; border-bottom: Black 3px double">29,415</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">2,275</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; padding-bottom: 3px">2</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">Six Months Ended July 31, 2016</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#160;Remaining<br /> Vesting Term<br /> (in years)</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt; width: 43%">Non-Vested at January 31, 2016</td><td style="width: 3%">&#160;</td>
    <td style="text-align: left; width: 1%">&#160;</td><td style="text-align: right; width: 12%">3,168</td><td style="text-align: left; width: 1%">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="text-align: left; width: 1%">$</td><td style="text-align: right; width: 15%">200</td><td style="text-align: left; width: 1%">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="text-align: left; width: 1%">&#160;</td><td style="text-align: right; width: 15%">2</td><td style="text-align: left; width: 1%">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">21,502</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,269</td><td style="text-align: left">&#160;</td><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: 10pt; text-indent: -10pt">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; padding-left: 10pt; text-indent: -10pt">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,320</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">83</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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non-Vested at July 31, 2016</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px; border-bottom: Black 3px double">&#160;</td><td style="text-align: right; border-bottom: Black 3px double">23,350</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">1,386</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; padding-bottom: 3px">3</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><br/><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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 715<br> -URI http://asc.fasb.org/topic&amp;trid=2235017<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 718<br> -URI http://asc.fasb.org/topic&amp;trid=2228938<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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>29
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744210144">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureAbstract', window );"><strong>Income Tax Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_IncomeTaxDisclosureTextBlock', window );">Income Tax Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 12<i>. Income Taxes</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The effective tax rate on consolidated pre-tax income was 35.6%
and 33.3% for the three months ended July 31, 2017 and 2016, respectively. The effective tax rate on consolidated pre-tax income
was 32.4% and 32.6% for the six months ended July 31, 2017 and
2016, respectively. The fluctuation in the effective tax rate primarily relates to the impact of noncontrolling interests.
The Company expects the effective tax rate, for the remainder of fiscal year 2017, to be significantly lower than the current
year to date levels as the Company expects to earn federal income tax credits from its refined coal operation (see Note 16).</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company files a U.S. federal income tax
return and various state income tax returns. In general, the Company is no longer subject to U.S. federal, state or local income
tax examinations by tax authorities for years ended January 31, 2010 and prior. A reconciliation of the beginning and ending amount
of unrecognized tax benefits, including interest and penalties, is as follows (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Six Months Ended<br /> July 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 59%; text-align: left; padding-left: 10pt; text-indent: -10pt">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,096</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: 12%; text-align: right">987</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Changes for prior years&#x2019; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">164</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">171</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,260</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,158</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -URI http://asc.fasb.org/topic&amp;trid=2144680<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6623176080">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>COMMITMENTS AND CONTINGENCIES<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureAbstract', window );"><strong>Commitments and Contingencies Disclosure [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock', window );">Commitments and Contingencies Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 13. <i>Commitments and Contingencies</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company is involved in various legal
actions arising in the normal course of business. After taking into consideration legal counsels&#x2019; evaluations of such actions,
management is of the opinion that their outcome will not have a material adverse effect on the Company&#x2019;s Consolidated Condensed
Financial Statements.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined forward
purchase contracts for approximately 11.4 million bushels of corn, the principal raw material for their ethanol plants. They expect
to take delivery of the grain through October 2017.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">One Earth and NuGen have combined sales commitments
for approximately 67.8 million gallons of ethanol, approximately 79,000 tons of distillers grains and approximately 11.7 million
pounds of non-food grade corn oil. They expect to deliver the ethanol, distillers grains and non-food grade corn oil through December
2017.</p><br/><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://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 440<br> -URI http://asc.fasb.org/topic&amp;trid=2144648<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744104784">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>NET SALES AND REVENUE<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_NetSalesAndRevenueAbstract', window );"><strong>Net Sales And Revenue [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_NetSalesAndRevenueTextBlock', window );">Net Sales And Revenue [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 14. <i>Net Sales and Revenue</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The following table summarizes sales for
each product and service group for the periods presented (amounts in thousands):</p><br/><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> July 31,</td><td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Six Months Ended<br /> July 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt">Product or Service Category</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 40%; padding-left: 10pt; text-indent: -10pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">88,785</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">90,933</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">180,257</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">168,564</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,472</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">18,946</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">28,622</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">36,000</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,726</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,738</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,318</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">8,584</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,748</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">983</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,667</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,547</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">13</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">107</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">23</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">234</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">108,744</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">115,707</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">221,887</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">215,929</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><br/><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NetSalesAndRevenueAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NetSalesAndRevenueAbstract</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_NetSalesAndRevenueTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 net sales and revenue.</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_NetSalesAndRevenueTextBlock</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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6617394400">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>RELATED PARTY TRANSACTIONS<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</div></th></tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsAbstract', window );"><strong>Related Party Transactions [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsDisclosureTextBlock', window );">Related Party Transactions Disclosure [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 15. <i>Related-Party Transactions</i></b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">During the second quarters of fiscal year
2017 and 2016, One Earth and NuGen purchased approximately $36.5 million and approximately $36.0 million, respectively, of corn
from minority equity investors and board members of those subsidiaries. Such purchases totaled approximately $78.7 million and
approximately $80.4 million for the six months ended July 31, 2017 and 2016, respectively. The Company had amounts payable to related
parties for corn purchases of approximately $1.6 million and $1.7 million at July 31, 2017 and January 31, 2017, respectively.</p><br/><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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -URI http://asc.fasb.org/topic&amp;trid=2122745<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744151568">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Subsequent Event<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_SubsequentEventsAbstract', window );"><strong>Subsequent Events [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_SubsequentEventsTextBlock', window );">Subsequent Events [Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Note 16. Subsequent Event</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">On August 10, 2017, the Company, through a 95.35%
owned subsidiary, purchased the entire ownership interest of a refined coal facility for approximately $12 million in cash. The
facility is in operation and will begin affecting the Company&#x2019;s financial results during the third quarter of fiscal year
2017. The Company expects that the revenues from the sale of refined coal produced in the facility will be subsidized by federal
production tax credits, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The impact on the combined results of operations
of the Company and the refined coal facility, on a pro forma basis, as though the companies had been combined as of the beginning
of fiscal year 2017 is insignificant as the refined coal facility has been inactive for several years up until the Company&#x2019;s
acquisition.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company expects to complete its analysis
of transaction costs related to the acquisition of the refined coal facility and the estimated fair value of assets acquired and
liabilities assumed during the third quarter of fiscal year 2017.</p><br/><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_SubsequentEventsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SubsequentEventsAbstract</td>
</tr>
<tr>
<td style="padding-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_SubsequentEventsTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued. Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 855<br> -URI http://asc.fasb.org/topic&amp;trid=2122774<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventsTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6905034816">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Accounting Policies, by Policy (Policies)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_RevenueRecognitionPolicyTextBlock', window );">Revenue Recognition, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Revenue Recognition</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company recognizes sales from the production
of ethanol, distillers grains and non-food grade corn oil when title transfers to customers, generally upon shipment from the ethanol
plant or upon loading of the rail car used to transport the products.</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_CostOfSalesPolicyTextBlock', window );">Cost of Sales, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Cost of Sales </p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Cost of sales includes depreciation, costs
of raw materials, inbound freight charges, purchasing and receiving costs, inspection costs, other distribution expenses, warehousing
costs, plant management, certain compensations costs, and general facility overhead charges</p><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SellingGeneralAndAdministrativeExpensesPolicyTextBlock', window );">Selling, General and Administrative Expenses, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0pt">Selling, General and Administrative Expenses</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt"><font style="font-family: Times New Roman, Times, Serif">The
Company includes non-production related costs such as professional fees, selling charges and certain payroll in selling, general
and administrative expenses.</font></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_FairValueOfFinancialInstrumentsPolicy', window );">Fair Value of Financial Instruments, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 0in">Financial Instruments</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Certain of the forward grain purchase and
ethanol, distillers grains and non-food grade corn oil sale contracts are accounted for under the &#x201c;normal purchases and normal
sales&#x201d; scope exemption of Accounting Standards Codification (&#x201c;ASC&#x201d;) 815, &#x201c;<i>Derivatives and Hedging</i>&#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. During fiscal year 2015, the Company began to carry
a portion of its forward grain purchase contracts at fair value.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company uses derivative financial instruments
(exchange-traded futures contracts) to manage a portion of the risk associated with changes in commodity prices, primarily related
to corn. The Company monitors and manages this exposure as part of its overall risk management policy. As such, the Company seeks
to reduce the potentially adverse effects that the volatility of these markets may have on its operating 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><span></span>
</td>
</tr>
<tr class="ro">
<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: bold 12pt Times New Roman, Times, Serif; margin: 0pt 0">Income Taxes</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company applies an effective tax rate
to interim periods that is consistent with the Company&#x2019;s estimated annual tax rate as adjusted for discrete items impacting
the interim periods. The Company&#x2019;s estimated annual tax rate does not reflect the impact of its refined coal operation and
the expected federal income tax credits to be earned beginning in the third quarter of fiscal year 2017 (see Note 16). 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 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 approximately $6.5 million and $1.0 million
during the six months ended July 31, 2017 and 2016, respectively. The Company received no refunds of income taxes during the six
months ended July 31, 2017 and 2016.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">As of July 31, 2017 and January 31, 2017,
total unrecognized tax benefits were approximately $2.0 million and $1.9 million, respectively. Accrued penalties and interest
were approximately $0.3 million and $0.2 million at July 31, 2017 and January 31, 2017, respectively. If the Company were to prevail
on all unrecognized tax benefits recorded, the provision for income taxes would be reduced by approximately $1.3 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><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryPolicyTextBlock', window );">Inventory, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Inventories</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Inventories are carried at the lower of cost
or market on a first-in, first-out basis. Inventory includes direct production costs and certain overhead costs such as depreciation,
property taxes and utilities related to producing ethanol and related co-products. Inventory is permanently 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. There were no significant permanent write-downs of inventory
at July 31, 2017 and January 31, 2017. Fluctuations in the write-down of inventory generally relate to the levels and composition
of such inventory at a given point in time. The components of inventory are as follows as of the dates presented (amounts in thousands):</p><br/><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">4,302</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,262</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,074</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,359</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14,715</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">9,436</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">22,091</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">17,057</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
<tr class="ro">
<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: 0pt 0"><b>Property and Equipment </b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">Property and equipment is recorded at cost.
Depreciation is computed using the straight-line method. Estimated useful lives are 15 to 40 years for buildings and improvements,
and 2 to 20 years for fixtures and equipment.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In accordance with ASC 360-10 &#x201c;<i>Impairment
or Disposal of Long-Lived Assets</i>&#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, based on an analysis of undiscounted future
expected cash flows from the use and ultimate disposition of the asset. There were no impairment charges in the first six months
of fiscal years 2017 or 2016. Impairment charges have historically resulted from the Company&#x2019;s management performing cash flow analysis and
have represented management&#x2019;s estimate of the excess of net book value over fair value.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-align: left; text-indent: 36pt">The Company tests for recoverability
of an asset group by comparing its carrying amount to its estimated undiscounted future cash flows. If the carrying amount of an
asset group 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. The Company generally determines the fair value of
the asset group using a discounted cash flow model based on market participant assumptions (for income producing asset groups)
or by obtaining appraisals based on the market approach and comparable market transactions (for non-income producing asset groups).</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_InvestmentPolicyTextBlock', window );">Investment, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Investments </b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The method of accounting applied to long-term
investments, whether consolidated, equity or cost, involves an evaluation of the significant terms of each investment that explicitly
grant or suggest evidence of control or influence over the operations of the investee and also includes the identification of any
variable interests in which the Company is the primary beneficiary. The Company consolidates the results of two majority owned
subsidiaries, One Earth and NuGen Energy, LLC (&#x201c;NuGen&#x201d;). The results of One Earth are included on a delayed basis of
one month lag as One Earth has a fiscal year end of December 31. NuGen has the same fiscal year as the parent, and therefore, there
is no lag in reporting the results of NuGen. 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;<i>Investments-Equity
Method and Joint Ventures</i>&#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. Any unallocated excess is treated as goodwill and is recorded
as a component of the carrying value of the equity method investee. Investments in businesses that the Company does not control
but for which it has the ability to exercise significant influence over operating and financial matters are accounted for using
the equity method. The Company accounts for its investment in Big River Resources, LLC (&#x201c;Big River&#x201d;) using the equity
method of accounting and includes the results on a delayed basis of one month as Big River has a fiscal year end of December 31.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company periodically evaluates its investments
for impairment due to declines in market value considered to be other than temporary. Such impairment evaluations include general
economic and company-specific evaluations. If the Company determines that a decline in market value is other than temporary, then
a charge to earnings is recorded in the Consolidated Condensed Statements of Operations and a new cost basis in the investment
is established.</p><span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ComprehensiveIncomePolicyPolicyTextBlock', window );">Comprehensive Income, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Comprehensive Income</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company has no components of other comprehensive
income, and therefore, comprehensive income equals net income.</p><span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock', window );">New Accounting Pronouncements, Policy [Policy Text Block]</a></td>
<td class="text"><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0"><b>Accounting Changes and Recently Issued Accounting Standards
</b></p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In March 2016, the Financial Accounting Standards
Board (&#x201c;FASB&#x201d;) issued Accounting Standards Update (&#x201c;ASU&#x201d;) 2016-09, &#x201c;<i>Improvements to Employee Share-Based
Payment Accounting</i>&#x201d; (&#x201c;ASU 2016-09&#x201d;). This standard simplifies the accounting treatment for excess tax benefits
and deficiencies, forfeitures, and cash flow considerations related to share-based compensation.
The Company adopted this standard February 1, 2017. The adoption of ASU 2016-09 did not impact the Company&#x2019;s consolidated
financial statements and related disclosures.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In February 2016, the FASB issued ASU 2016-02
&#x201c;<i>Leases</i>&#x201d;. This standard requires that virtually all leases will be recognized by lessees on their balance sheet
as a right-of-use asset and a corresponding lease liability, including leases currently accounted for as operating leases. The
Company will be required to adopt this standard effective February 1, 2019. The Company has not completed its analysis of adopting
this guidance but it does expect the adoption of this guidance to have a material impact on its Consolidated Balance Sheet related
to the right to use asset and lease obligation liability to be recognized upon adoption of this guidance. The related leases are
currently accounted for as operating leases (see Note 3).</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">The Company will be required to adopt the
amended guidance in ASC Topic 606 &#x201c;<i>Revenue from Contracts with Customers</i>&#x201d;, which requires revenue recognition
to reflect the transfer of promised goods or services to customers and replaces existing revenue recognition guidance. The updated
standard permits the use of either the retrospective or cumulative effect transition method. The FASB had deferred the required
adoption of the amended guidance by one year, from February 1, 2017 to February 1, 2018. The Company is progressing in its evaluation
of adopting this guidance but it does not expect the adoption of this guidance to have a material impact on its consolidated financial
statements with respect to measurement and recognition of revenue. The Company expects to adopt this guidance using the modified
prospective method. The Company is still evaluating the impact of adopting this guidance on disclosures in the consolidated financial
statements.</p><br/><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">In November 2015, the FASB issued ASU 2015-17
&#x201c;<i>Balance Sheet Classification of Deferred Taxes</i>&#x201d;, (&#x201c;ASU 2015-17&#x201d;) which requires that for a particular
tax-paying component of an entity and within a particular tax jurisdiction, all deferred tax liabilities and assets shall be offset
and presented as a single noncurrent amount. The Company prospectively adopted the amended guidance effective February 1, 2017.
Prior periods were not retrospectively adjusted. The adoption of ASU 2015-17 did not affect net income attributable to REX common
shareholders or retained earnings in the presented periods.</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_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>nonnum: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 recognition of costs in the period which correspond to the sales and revenue categories presented in the statement of operations. The accounting policy may include the amount and nature of costs incurred, provisions associated with inventories, purchase discounts, freight and other costs included in cost of sales incurred and recorded in the period. This disclosure also includes the nature of costs of sales incurred and recorded in the statement of operations for the period relating to 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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 605<br> -SubTopic 50<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=68069731&amp;loc=d3e63676-111659<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-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_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>nonnum: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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=77997519&amp;loc=d3e13279-108611<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>nonnum: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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84230637&amp;loc=d3e32840-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 30<br> -Section 05<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=65884525&amp;loc=d3e40913-109327<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 954<br> -SubTopic 740<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6491622&amp;loc=d3e9504-115650<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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=84230637&amp;loc=d3e32809-109319<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e32247-109318<br><br>Reference 7: http://www.xbrl.org/2003/role/presentationRef<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=84176650&amp;loc=d3e32280-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_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>nonnum: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/presentationRef<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=66092785&amp;loc=d3e4492-108314<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=66092785&amp;loc=d3e4556-108314<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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_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>nonnum: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 investments in financial assets, including marketable securities (debt and equity securities with readily determinable fair values), investments accounted for under the equity method and cost method, securities borrowed and loaned, and repurchase and resale agreements. For marketable securities, the disclosure may include the entity's accounting treatment for transfers between investment categories and how the fair values for such securities are determined. Also, for all investments, an entity may describe its policy for assessing, recognizing and measuring impairment of the 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/2003/role/presentationRef<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=66011266&amp;loc=d3e33918-111571<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section 50<br> -Paragraph 6<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=82897076&amp;loc=d3e27290-111563<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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,12)<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 320<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 5.M)<br> -URI http://asc.fasb.org/extlink&amp;oid=65877573&amp;loc=d3e87990-122713<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 325<br> -SubTopic 20<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=75025870&amp;loc=d3e40691-111596<br><br>Reference 7: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13433-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_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>nonnum: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>nonnum: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 assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, basis of assets, depreciation and depletion methods used, including composite deprecation, estimated useful lives, capitalization policy, accounting treatment for costs incurred for repairs and maintenance, capitalized interest and the method it is calculated, disposals and impairments.</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 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 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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>nonnum: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 recognition. If the entity has different policies for different types of revenue transactions, the policy for each material type of transaction is generally disclosed. If a sales transaction has multiple element arrangements (for example, delivery of multiple products, services or the rights to use assets) the disclosure may indicate the accounting policy for each unit of accounting as well as how units of accounting are determined and valued. The disclosure may encompass important judgment as to appropriateness of principles related to recognition of revenue. The disclosure also may indicate the entity's treatment of any unearned or deferred revenue that arises from the transaction.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18823-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 605<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SAB Topic 13.B.Q1)<br> -URI http://asc.fasb.org/extlink&amp;oid=65893310&amp;loc=d3e214044-122780<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=84158767&amp;loc=d3e18726-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>nonnum: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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907719808">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCOUNTING POLICIES (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Ethanol and other finished goods</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">4,302</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,262</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Work in process</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,074</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,359</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Grain and other raw materials</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">14,715</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">9,436</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">22,091</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">17,057</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_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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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 4: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907700624">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>LEASES (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_LeasesAbstract', window );"><strong>Leases [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_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock', window );">Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]</a></td>
<td class="text">At July 31, 2017, the Company has lease agreements, as lessee, for rail cars and a natural gas pipeline. All of the leases are accounted for as operating leases. The following table is a summary of future minimum rentals on such leases (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 50%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; border-bottom: Black 1px solid">Years Ended January 31,</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">Minimum<br /> Rentals</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 50%; padding-left: 10pt; text-indent: -10pt">Remainder of 2018</td><td style="width: 30%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 18%; text-align: right">3,556</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2019</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">6,910</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2020</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">5,379</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2021</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,580</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">2022</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,948</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Thereafter</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,622</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">23,995</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_LeasesAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_LeasesAbstract</td>
</tr>
<tr>
<td style="padding-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_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://www.xbrl.org/2003/role/presentationRef<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=77902758&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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744226928">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>FAIR VALUE (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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"><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="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 1</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 2</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 3</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</td><td style="color: black; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">136</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">136</td><td style="width: 1%; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Forward purchase contract asset (4)</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">237</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">237</td><td style="color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">373</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">706</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Forward purchase contract liability (3)</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">158</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">158</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
</table><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="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 1</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 2</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Level 3</td><td style="color: black; padding-bottom: 1px">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="color: black; text-align: left; border-bottom: Black 1px solid">Fair Value</td><td style="color: black; padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Commodity futures (1)</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">45</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">-</td><td style="width: 1%; color: black; text-align: left">&#160;</td><td style="width: 3%; color: black">&#160;</td>
    <td style="width: 1%; color: black; text-align: left">$</td><td style="width: 10%; color: black; text-align: right">45</td><td style="width: 1%; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-left: 10pt; text-indent: -10pt">Forward purchase contract asset (4)</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">163</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">-</td><td style="color: black; text-align: left">&#160;</td><td style="color: black">&#160;</td>
    <td style="color: black; text-align: left">&#160;</td><td style="color: black; text-align: right">163</td><td style="color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Investment in cooperative (2)</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">-</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; color: black; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; color: black; text-align: right">333</td><td style="padding-bottom: 1px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Total assets</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">208</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">333</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">541</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: right">&#160;</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="color: black; text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Forward purchase contract liability (3)</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">136</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">-</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td><td style="color: black; padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; color: black; text-align: left">$</td><td style="border-bottom: Black 3px double; color: black; text-align: right">136</td><td style="padding-bottom: 3px; color: black; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(1) Commodity futures are included in &#x201c;Prepaid
expenses and other current assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(2) The investment in cooperative is included
in &#x201c;Other assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(3) The forward purchase contract liability
is included in &#x201c;Accrued expenses and other current liabilities&#x201d; on the accompanying Consolidated Condensed Balance
Sheets.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0; text-indent: 36pt">(4) The forward purchase contract asset is
included in &#x201c;Prepaid expenses and other current assets&#x201d; on the accompanying Consolidated Condensed Balance Sheets.</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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 820<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=66048111&amp;loc=d3e19190-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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6894712624">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>PROPERTY AND EQUIPMENT (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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">The components of property and equipment are as follows for the periods presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Land and improvements</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">20,965</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">20,951</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Buildings and improvements</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,259</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">23,203</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Machinery, equipment and fixtures</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">261,772</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">255,348</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Construction in progress</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">9,359</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,046</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">315,355</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">300,548</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Less:&#160;&#160;accumulated depreciation</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(127,810</td><td style="padding-bottom: 1px; text-align: left">)</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">(117,787</td><td style="padding-bottom: 1px; text-align: left">)</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">187,545</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">182,761</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_PropertyPlantAndEquipmentAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_PropertyPlantAndEquipmentTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744155776">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>OTHER ASSETS (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_ScheduleOfOtherAssetsTableTextBlock', window );">Schedule of Other Assets [Table Text Block]</a></td>
<td class="text">The components of other assets are as follows for the periods presented (amounts in thousands):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Real estate taxes refundable</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,923</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">5,923</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Deposits</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><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">155</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">742</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">835</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">6,720</td><td style="padding-bottom: 3px; text-align: left">&#160;</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">6,913</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_ScheduleOfOtherAssetsTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 amounts of other assets. This disclosure includes other current assets and other noncurrent assets.</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_ScheduleOfOtherAssetsTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744142464">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_OtherCurrentLiabilitiesTableTextBlock', window );">Other Current 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):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 66%; text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued utility charges</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,088</td><td style="width: 1%; text-align: left">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,414</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued payroll and related items</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,344</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,279</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued real estate taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,049</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,716</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Accrued income taxes</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">37</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,120</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">2,924</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">1,819</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">7,442</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">13,348</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_OtherCurrentLiabilitiesTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 other current 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_OtherCurrentLiabilitiesTableTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744170336">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_ScheduleOfDerivativeAssetsAtFairValueTableTextBlock', window );">Schedule of Derivative Assets at Fair Value [Table Text Block]</a></td>
<td class="text">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):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 90%; font: 12pt Times New Roman, Times, Serif; margin-left: 23.75pt">
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="text-align: center; padding-bottom: 1px">Asset Derivatives<br /> Fair Value</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="6" style="text-align: center; padding-bottom: 1px">Liability Derivatives<br /> Fair Value</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">July 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">January 31,<br /> 2017</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="text-align: justify; padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2" style="text-align: right">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; text-align: justify; padding-left: 10pt; text-indent: -10pt">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">136</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">45</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">-</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">-</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: 10pt; text-indent: -10pt">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">237</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">163</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">158</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">136</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: 10pt; text-indent: -10pt">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">373</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">208</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">158</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">136</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(1) Commodity futures are included
in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million
bushels of corn at July 31, 2017 and January 31, 2017, respectively.</p><p style="font: 12pt Times New Roman, Times, Serif; margin: 0pt 0 0pt 23.75pt; text-align: justify">(2) Forward purchase contracts
assets are included in prepaid expenses and other current assets while forward purchase contracts liabilities are included in accrued
expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels
of corn at July 31, 2017 and January 31, 2017, 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_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_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>nonnum: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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907801632">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_invest_InvestmentsScheduleAbstract', window );"><strong>Investments Schedule [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">The following table summarizes the Company&#x2019;s equity method investment at July 31, 2017 and January 31, 2017 (dollars in thousands):<br /><br /><table cellspacing="0" cellpadding="0" style="font: 12pt Times New Roman, Times, Serif; width: 100%; border-collapse: collapse">
<tr style="vertical-align: top">
    <td style="width: 30%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Entity</font></td>
    <td style="width: 10%; padding-bottom: 1px">&#160;</td>
    <td style="width: 10%; text-align: left; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Ownership</font><br />
<font style="font-family: Times New Roman, Times, Serif">Percentage</font></td>
    <td style="width: 10%; padding-bottom: 1px">&#160;</td>
    <td style="width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Carrying&#160;Amount</font><br />
<font style="font-family: Times New Roman, Times, Serif">July 31, 2017</font></td>
    <td style="width: 10%; padding-bottom: 1px">&#160;</td>
    <td style="width: 15%; text-align: right; vertical-align: bottom; border-bottom: Black 1px solid"><font style="font-family: Times New Roman, Times, Serif">Carrying&#160;Amount</font><br />
<font style="font-family: Times New Roman, Times, Serif">January&#160;31,&#160;2017</font></td></tr>
<tr style="vertical-align: top">
    <td>&#160;</td>
    <td>&#160;</td>
    <td style="text-align: center">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td>
    <td>&#160;</td>
    <td style="text-align: right">&#160;</td></tr>
<tr style="vertical-align: top">
    <td><font style="font-family: Times New Roman, Times, Serif">Big River </font></td>
    <td>&#160;</td>
    <td style="text-align: right"><font style="font-family: Times New Roman, Times, Serif">9.7%</font></td>
    <td>&#160;</td>
    <td style="text-align: right"><font style="font-family: Times New Roman, Times, Serif">$36,665</font></td>
    <td>&#160;</td>
    <td style="text-align: right"><font style="font-family: Times New Roman, Times, Serif">$37,833</font></td></tr>
</table><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">Summarized financial information for the Company&#x2019;s equity method investee is presented in the following table for the periods presented (amounts in thousands):<br /><br /><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> July 31,</td><td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Six Months Ended<br /> July 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 40%; text-align: left; padding-left: 10pt; text-indent: -10pt">Net sales and revenue</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">212,070</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">210,974</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">404,569</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">394,545</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Gross profit</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">11,582</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">17,057</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">19,764</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">22,928</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Income from continuing operations</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">1,411</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">12,216</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,618</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">14,620</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Net income</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">1,411</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">12,216</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">8,618</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">$</td><td style="text-align: right">14,620</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_invest_InvestmentsScheduleAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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;">invest_InvestmentsScheduleAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>invest_</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_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>nonnum: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_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://www.xbrl.org/2003/role/presentationRef<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=66011266&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>nonnum: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>43
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6884104032">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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 table summarizes non-vested restricted stock award activity for the six months ended July 31, 2017 and 2016:<br /><br /><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">Six Months Ended July 31, 2017</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#160;Remaining<br /> Vesting Term<br /> (in years)</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 43%; padding-left: 10pt; text-indent: -10pt">Non-Vested at January 31, 2017</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">&#160;</td><td style="width: 12%; text-align: right">23,350</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: 15%; text-align: right">1,386</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: 15%; text-align: right">2</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">14,156</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,370</td><td style="text-align: left">&#160;</td><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: 10pt; text-indent: -10pt">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-left: 10pt; text-indent: -10pt; padding-bottom: 1px">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">8,091</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">481</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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt; padding-bottom: 3px">Non-Vested at July 31, 2017</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px; border-bottom: Black 3px double">&#160;</td><td style="text-align: right; border-bottom: Black 3px double">29,415</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">2,275</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; padding-bottom: 3px">2</td><td style="text-align: left; padding-bottom: 3px">&#160;</td></tr>
</table><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">Six Months Ended July 31, 2016</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="10" style="text-align: center">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Non-Vested<br /> Shares</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average Grant<br /> Date Fair Value<br /> (000&#x2019;s)</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">Weighted<br /> Average&#160;Remaining<br /> Vesting Term<br /> (in years)</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-left: 10pt; text-indent: -10pt; width: 43%">Non-Vested at January 31, 2016</td><td style="width: 3%">&#160;</td>
    <td style="text-align: left; width: 1%">&#160;</td><td style="text-align: right; width: 12%">3,168</td><td style="text-align: left; width: 1%">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="text-align: left; width: 1%">$</td><td style="text-align: right; width: 15%">200</td><td style="text-align: left; width: 1%">&#160;</td><td style="width: 3%">&#160;</td>
    <td style="text-align: left; width: 1%">&#160;</td><td style="text-align: right; width: 15%">2</td><td style="text-align: left; width: 1%">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-left: 10pt; text-indent: -10pt">Granted</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">21,502</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,269</td><td style="text-align: left">&#160;</td><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: 10pt; text-indent: -10pt">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; padding-left: 10pt; text-indent: -10pt">Vested</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="text-align: left; padding-bottom: 1px; border-bottom: Black 1px solid">&#160;</td><td style="text-align: right; border-bottom: Black 1px solid">1,320</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">83</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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">&#160;</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Non-Vested at July 31, 2016</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="text-align: left; padding-bottom: 3px; border-bottom: Black 3px double">&#160;</td><td style="text-align: right; border-bottom: Black 3px double">23,350</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">1,386</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; padding-bottom: 3px">3</td><td style="text-align: left; padding-bottom: 3px">&#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_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://www.xbrl.org/2003/role/presentationRef<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=96867065&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>nonnum: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>44
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6603128496">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES (Tables)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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):<br /><br /><table cellpadding="0" cellspacing="0" style="border-collapse: collapse; width: 70%; font: 12pt Times New Roman, Times, Serif">
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Six Months Ended<br /> July 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: center; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td><td>&#160;</td>
    <td colspan="2">&#160;</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="width: 59%; text-align: left; padding-left: 10pt; text-indent: -10pt">Unrecognized tax benefits, beginning of period</td><td style="width: 8%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 12%; text-align: right">2,096</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: 12%; text-align: right">987</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Changes for prior years&#x2019; tax positions</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">164</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">171</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Changes for current year tax positions</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">-</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">Unrecognized tax benefits, end of period</td><td style="padding-bottom: 3px">&#160;</td>
    <td style="border-bottom: Black 3px double; text-align: left">$</td><td style="border-bottom: Black 3px double; text-align: right">2,260</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,158</td><td style="padding-bottom: 3px; text-align: left">&#160;</td></tr>
</table><span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_IncomeTaxDisclosureAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- References</a><div><p>No definition available.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_IncomeTaxDisclosureAbstract</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>xbrli:stringItemType</td>
</tr>
<tr>
<td><strong> Balance Type:</strong></td>
<td>na</td>
</tr>
<tr>
<td><strong> Period Type:</strong></td>
<td>duration</td>
</tr>
</table></div>
</div></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfUnrecognizedTaxBenefitsRollForwardTableTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Tabular disclosure of the change in unrecognized tax benefits.</p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ References</a><div style="display: none;"><p>Reference 1: http://www.xbrl.org/2003/role/presentationRef<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=96868398&amp;loc=d3e36027-109320<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84230637&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>nonnum: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>45
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6904967072">
<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">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_NetSalesAndRevenueAbstract', window );"><strong>Net Sales And Revenue [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_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock', window );">Revenue from External Customers by Products and Services [Table Text Block]</a></td>
<td class="text">The following table summarizes sales for each product and service group for the periods presented (amounts in thousands):<br /><br /><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="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Three Months Ended<br /> July 31,</td><td>&#160;</td><td>&#160;</td>
    <td colspan="6" style="text-align: center">Six Months Ended<br /> July 31,</td><td>&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="border-bottom: Black 1px solid; padding-left: 10pt; text-indent: -10pt">Product or Service Category</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2017</td><td style="padding-bottom: 1px">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td colspan="2" style="text-align: right; border-bottom: Black 1px solid">2016</td><td style="padding-bottom: 1px">&#160;</td></tr>
<tr style="vertical-align: bottom">
    <td style="padding-left: 10pt; text-indent: -10pt">&#160;</td><td>&#160;</td>
    <td colspan="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: 40%; padding-left: 10pt; text-indent: -10pt">Ethanol</td><td style="width: 3%">&#160;</td>
    <td style="width: 1%; text-align: left">$</td><td style="width: 10%; text-align: right">88,785</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">90,933</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">180,257</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">168,564</td><td style="width: 1%; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Dried distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">13,472</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">18,946</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">28,622</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">36,000</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Non-food grade corn oil</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,726</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">4,738</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">9,318</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">8,584</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="text-align: left; padding-left: 10pt; text-indent: -10pt">Modified distillers grains</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">1,748</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">983</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">3,667</td><td style="text-align: left">&#160;</td><td>&#160;</td>
    <td style="text-align: left">&#160;</td><td style="text-align: right">2,547</td><td style="text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; background-color: rgb(229,255,255)">
    <td style="padding-bottom: 1px; padding-left: 10pt; text-indent: -10pt">Other</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">13</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">107</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">23</td><td style="padding-bottom: 1px; text-align: left">&#160;</td><td style="padding-bottom: 1px">&#160;</td>
    <td style="border-bottom: Black 1px solid; text-align: left">&#160;</td><td style="border-bottom: Black 1px solid; text-align: right">234</td><td style="padding-bottom: 1px; text-align: left">&#160;</td></tr>
<tr style="vertical-align: bottom; ">
    <td style="padding-bottom: 3px; padding-left: 10pt; text-indent: -10pt">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">108,744</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">115,707</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">221,887</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">215,929</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_rex_NetSalesAndRevenueAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NetSalesAndRevenueAbstract</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_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 entity-wide revenues from external customers for each product or service or each group of similar products or services if the information is not provided as part of the reportable operating segment 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/presentationRef<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=68060357&amp;loc=d3e9031-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_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTextBlock</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>nonnum: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>46
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748566320">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>CONSOLIDATED CONDENSED FINANCIAL STATEMENTS (Details)<br></strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th"><div>Jul. 31, 2017</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_NumberOfOperatingSegments', window );">Number of Operating Segments</a></td>
<td class="nump">1<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_NumberOfEthanolEntitiesUnderOwnershipInterest', window );">Number of Ethanol Entities Under Ownership Interest</a></td>
<td class="nump">3<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_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest', window );">Number of Ethanol Entities Under Majority Ownership Interest</a></td>
<td class="nump">2<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_NumberOfEthanolEntitiesUnderMajorityOwnershipInterest</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_rex_NumberOfEthanolEntitiesUnderOwnershipInterest">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 ethanol entities under ownership 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;">rex_NumberOfEthanolEntitiesUnderOwnershipInterest</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_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_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>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_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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>47
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748222128">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>ACCOUNTING POLICIES (Details) - USD ($)<br> $ in Millions</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jan. 31, 2017</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>
</tr>
<tr class="ro">
<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="nump">$ 6.5<span></span>
</td>
<td class="nump">$ 1.0<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_ProceedsFromIncomeTaxRefunds', window );">Proceeds from Income Tax Refunds</a></td>
<td class="nump">0.0<span></span>
</td>
<td class="nump">$ 0.0<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_IncomeTaxExaminationPenaltiesAndInterestAccrued', window );">Income Tax Examination, Penalties and Interest Accrued</a></td>
<td class="nump">0.3<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 0.2<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease', window );">Unrecognized Tax Benefits, Period Increase (Decrease)</a></td>
<td class="nump">$ 1.3<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_PropertyPlantAndEquipmentDepreciationMethods', window );">Property, Plant and Equipment, Depreciation Methods</a></td>
<td class="text">Depreciation is computed using the straight-line method<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_StatementScenarioAxis=rex_ApproximateMember', window );">Approximate [Member]</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_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>
</tr>
<tr class="re">
<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">$ 2.0<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1.9<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_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>
</tr>
<tr 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>
</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_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting', window );">Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting</a></td>
<td class="nump">20.00%<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_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember', window );">Building and Building Improvements [Member] | Minimum [Member]</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_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>
</tr>
<tr class="re">
<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">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_us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember', window );">Building and Building Improvements [Member] | Maximum [Member]</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_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>
</tr>
<tr class="ro">
<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">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_us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember', window );">Fixtures And Equipment [Member] | Minimum [Member]</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_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>
</tr>
<tr class="re">
<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">2<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_PropertyPlantAndEquipmentByTypeAxis=rex_FixturesAndEquipmentMember', window );">Fixtures And Equipment [Member] | Maximum [Member]</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_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>
</tr>
<tr class="ro">
<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">20 years<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>num: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_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/2003/role/presentationRef<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=84230637&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://www.xbrl.org/2003/role/presentationRef<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=98513485&amp;loc=d3e4297-108586<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&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_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://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3536-108585<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98513485&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_PropertyPlantAndEquipmentDepreciationMethods">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Description of the methodology for computing depreciation for classes of depreciable 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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 360<br> -SubTopic 10<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (d)<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_PropertyPlantAndEquipmentDepreciationMethods</td>
</tr>
<tr>
<td style="padding-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_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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 235<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -URI http://asc.fasb.org/extlink&amp;oid=84158767&amp;loc=d3e18780-107790<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=68071081&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/presentationRef<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=84230637&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_us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 unrecognized tax benefits attributable to uncertain tax positions taken in 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/presentationRef<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=84230637&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_UnrecognizedTaxBenefitsPeriodIncreaseDecrease</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_StatementScenarioAxis=rex_ApproximateMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_StatementScenarioAxis=rex_ApproximateMember</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>
<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_RangeAxis=us-gaap_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;">us-gaap_RangeAxis=us-gaap_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_RangeAxis=us-gaap_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;">us-gaap_RangeAxis=us-gaap_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_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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>48
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6634888816">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>ACCOUNTING POLICIES (Details) - Schedule of Components of Inventory - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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">$ 4,302<span></span>
</td>
<td class="nump">$ 5,262<span></span>
</td>
</tr>
<tr class="re">
<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">3,074<span></span>
</td>
<td class="nump">2,359<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_InventoryRawMaterialsNetOfReserves', window );">Grain and other raw materials</a></td>
<td class="nump">14,715<span></span>
</td>
<td class="nump">9,436<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">$ 22,091<span></span>
</td>
<td class="nump">$ 17,057<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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 330<br> -SubTopic 10<br> -Section 35<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=68049868&amp;loc=d3e3927-108312<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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_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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>49
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744102304">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>LEASES (Details) - Schedule of Future Minimum Rental Payments for Operating Leases<br> $ in Thousands</strong></div></th>
<th class="th">
<div>Jul. 31, 2017 </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_rex_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesAbstract', window );"><strong>Schedule of Future Minimum Rental Payments for Operating Leases [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_OperatingLeasesFutureMinimumPaymentsDueCurrent', window );">Remainder of 2018</a></td>
<td class="nump">$ 3,556<span></span>
</td>
</tr>
<tr class="re">
<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 );">2019</a></td>
<td class="nump">6,910<span></span>
</td>
</tr>
<tr class="ro">
<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 );">2020</a></td>
<td class="nump">5,379<span></span>
</td>
</tr>
<tr class="re">
<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 );">2021</a></td>
<td class="nump">3,580<span></span>
</td>
</tr>
<tr class="ro">
<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 );">2022</a></td>
<td class="nump">2,948<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter', window );">Thereafter</a></td>
<td class="nump">1,622<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_OperatingLeasesFutureMinimumPaymentsDue', window );">Total</a></td>
<td class="nump">$ 23,995<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<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_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://www.xbrl.org/2003/role/presentationRef<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=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=77902758&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_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://www.xbrl.org/2003/role/presentationRef<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=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=77902758&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_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://www.xbrl.org/2003/role/presentationRef<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=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82846649&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://www.xbrl.org/2003/role/presentationRef<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=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82846649&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://www.xbrl.org/2003/role/presentationRef<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=77902758&amp;loc=d3e41502-112717<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82846649&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_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://www.xbrl.org/2003/role/presentationRef<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=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=77902758&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_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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 after 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://www.xbrl.org/2003/role/presentationRef<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=82846649&amp;loc=d3e38371-112697<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=77902758&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_OperatingLeasesFutureMinimumPaymentsDueThereafter</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748175200">
<tr>
<th class="tl" colspan="2" rowspan="1"><div style="width: 200px;"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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 " 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 (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">$ 136<span></span>
</td>
<td class="nump">$ 45<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_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset (4)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">237<span></span>
</td>
<td class="nump">163<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 (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<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_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">706<span></span>
</td>
<td class="nump">541<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_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="nump">158<span></span>
</td>
<td class="nump">136<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member', window );">Fair Value, Inputs, Level 1 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " 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 (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset (4)</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="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</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="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_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member', window );">Fair Value, Inputs, Level 2 [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_FAIRVALUEDetailsScheduleofFairValueAssetsandLiabilitiesMeasuredonRecurringBasisLineItems', window );"><strong>FAIR VALUE (Details) - Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " 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 (1)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">136<span></span>
</td>
<td class="nump">45<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_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset (4)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[2]</sup></td>
<td class="nump">237<span></span>
</td>
<td class="nump">163<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</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="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">373<span></span>
</td>
<td class="nump">208<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_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="nump">158<span></span>
</td>
<td class="nump">136<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 " 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 (1)</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_ForwardPurchaseContractsAsset', window );">Forward purchase contract asset (4)</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_InvestmentInCooperativeFairValueDisclosure', window );">Investment in cooperative (2)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[3]</sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<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_AssetsFairValueDisclosure', window );">Total assets</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="nump">333<span></span>
</td>
<td class="nump">333<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_ForwardPurchaseContractLiabilityFairValue', window );">Forward purchase contract liability (3)</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[4]</sup></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4"><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 are included in "Prepaid expenses and other current assets" 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 contract asset is included in "Prepaid expenses and other current assets" 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 investment in cooperative is included in "Other assets" on the accompanying Consolidated Condensed Balance Sheets.</td>
</tr>
<tr class="outerFootnote">
<td style="vertical-align: top; width: 12pt;" valign="top">[4]</td>
<td style="vertical-align: top;" valign="top">The forward purchase contract liability is included in "Accrued expenses and other current liabilities" 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_ForwardPurchaseContractLiabilityFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Forward Purchase Contract Liability 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;">rex_ForwardPurchaseContractLiabilityFairValue</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_ForwardPurchaseContractsAsset">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ForwardPurchaseContractsAsset</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://www.xbrl.org/2003/role/presentationRef<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=66048111&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://www.xbrl.org/2003/role/presentationRef<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=84234895&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_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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748561952">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>PROPERTY AND EQUIPMENT (Details) - Schedule of Property and Equipment - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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">$ 20,965<span></span>
</td>
<td class="nump">$ 20,951<span></span>
</td>
</tr>
<tr class="re">
<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,259<span></span>
</td>
<td class="nump">23,203<span></span>
</td>
</tr>
<tr class="ro">
<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">261,772<span></span>
</td>
<td class="nump">255,348<span></span>
</td>
</tr>
<tr class="re">
<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">9,359<span></span>
</td>
<td class="nump">1,046<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">315,355<span></span>
</td>
<td class="nump">300,548<span></span>
</td>
</tr>
<tr class="re">
<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">(127,810)<span></span>
</td>
<td class="num">(117,787)<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">$ 187,545<span></span>
</td>
<td class="nump">$ 182,761<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://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 210<br> -SubTopic 10<br> -Section S99<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&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://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6812-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6879938&amp;loc=d3e572229-122910<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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_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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907924256">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>OTHER ASSETS (Details) - Schedule of Other Assets - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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_ScheduleOfOtherAssetsAbstract', window );"><strong>Schedule of Other Assets [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_RealEstateTaxesRefundableNoncurrent', window );">Real estate taxes refundable</a></td>
<td class="nump">$ 5,923<span></span>
</td>
<td class="nump">$ 5,923<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DepositsAssetsNoncurrent', window );">Deposits</a></td>
<td class="nump">55<span></span>
</td>
<td class="nump">155<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAssetsMiscellaneousNoncurrent', window );">Other</a></td>
<td class="nump">742<span></span>
</td>
<td class="nump">835<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_OtherAssetsNoncurrent', window );">Total</a></td>
<td class="nump">$ 6,720<span></span>
</td>
<td class="nump">$ 6,913<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_rex_RealEstateTaxesRefundableNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 of real estate taxes refundable non current 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_RealEstateTaxesRefundableNoncurrent</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_ScheduleOfOtherAssetsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ScheduleOfOtherAssetsAbstract</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_DepositsAssetsNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 of amounts transferred to third parties for security purposes that are expected to be returned or applied towards payment after one year or beyond the 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/presentationRef<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=6877327&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_DepositsAssetsNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_OtherAssetsMiscellaneousNoncurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 miscellaneous assets expected to be realized or consumed after one year or normal operating cycle, if longer.</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_OtherAssetsMiscellaneousNoncurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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://www.xbrl.org/2003/role/presentationRef<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=6877327&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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>53
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6742603008">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_ScheduleOfAccruedExpensesAndOtherCurrentLiabilitiesAbstract', window );"><strong>Schedule of accrued expenses and other current liabilities [Abstract]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedUtilitiesCurrent', window );">Accrued utility charges</a></td>
<td class="nump">$ 2,088<span></span>
</td>
<td class="nump">$ 2,414<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EmployeeRelatedLiabilitiesCurrent', window );">Accrued payroll and related items</a></td>
<td class="nump">1,344<span></span>
</td>
<td class="nump">4,279<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent', window );">Accrued real estate taxes</a></td>
<td class="nump">1,049<span></span>
</td>
<td class="nump">2,716<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccruedIncomeTaxes', window );">Accrued income taxes</a></td>
<td class="nump">37<span></span>
</td>
<td class="nump">2,120<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_OtherAccruedLiabilitiesCurrent', window );">Other</a></td>
<td class="nump">2,924<span></span>
</td>
<td class="nump">1,819<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_OtherLiabilitiesCurrent', window );">Total</a></td>
<td class="nump">$ 7,442<span></span>
</td>
<td class="nump">$ 13,348<span></span>
</td>
</tr>
</table>
<div style="display: none;">
<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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84230637&amp;loc=d3e32718-109319<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6876686&amp;loc=d3e534808-122878<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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=6879938&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_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://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6911-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6935-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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://www.xbrl.org/2003/role/presentationRef<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=6877327&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://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e7018-107765<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6911-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6935-107765<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_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>
<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://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=82887183&amp;loc=d3e6904-107765<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=82887183&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_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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>54
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6744210832">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>REVOLVING LINES OF CREDIT (Details) - One Earth Energy And Nu Gen Energy [Member] - Revolving Credit Facility [Member]<br> $ in Millions</strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th">
<div>Jul. 31, 2017 </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_rex_REVOLVINGLINESOFCREDITDetailsLineItems', window );"><strong>REVOLVING LINES OF CREDIT (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DebtInstrumentMaturityDate', window );">Debt Instrument, Maturity Date</a></td>
<td class="text">Apr.  01,  2017<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_LinesOfCreditCurrent', window );">Line of Credit, Current</a></td>
<td class="nump">$ 10.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_REVOLVINGLINESOFCREDITDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_REVOLVINGLINESOFCREDITDetailsLineItems</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_DebtInstrumentMaturityDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format.</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 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(a)(2))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&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_DebtInstrumentMaturityDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</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_us-gaap_LinesOfCreditCurrent">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 value as of the balance sheet date of the current portion of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 210<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-03(13))<br> -URI http://asc.fasb.org/extlink&amp;oid=6876686&amp;loc=d3e534808-122878<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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))<br> -URI http://asc.fasb.org/extlink&amp;oid=6877327&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_LinesOfCreditCurrent</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember</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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6742766560">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details)<br> bu in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th">
<div>Jul. 31, 2017 </div>
<div>USD ($) </div>
<div>bu</div>
</th>
<th class="th">
<div>Jul. 31, 2016 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jul. 31, 2017 </div>
<div>USD ($) </div>
<div>bu</div>
</th>
<th class="th">
<div>Jul. 31, 2016 </div>
<div>USD ($)</div>
</th>
<th class="th">
<div>Jan. 31, 2017 </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_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>
<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_QuantityOfBushelsUnderCommodityFutures', window );">Quantity Of Bushels Under Commodity Futures (in US Bushels) | bu</a></td>
<td class="nump">1.9<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">1.9<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">0.7<span></span>
</td>
</tr>
<tr class="re">
<td class="pl custom" style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_QuantityOfBushelsUnderForwardPurchaseContract', window );">Quantity of Bushels under Forward Purchase Contract (in US Bushels) | bu</a></td>
<td class="nump">10.3<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">10.3<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">5.3<span></span>
</td>
</tr>
<tr class="ro">
<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">$ 379,000<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 379,000<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_DerivativeGainOnDerivative', window );">Derivative, Gain on Derivative | $</a></td>
<td class="nump">$ 853,000<span></span>
</td>
<td class="nump">$ 1,136,000<span></span>
</td>
<td class="nump">$ 977,000<span></span>
</td>
<td class="nump">$ 1,625,000<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_QuantityOfBushelsUnderCommodityFutures">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_QuantityOfBushelsUnderCommodityFutures</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>num: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_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>num: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_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://www.xbrl.org/2003/role/presentationRef<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=75038535&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_DerivativeGainOnDerivative">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 the fair value of derivatives recognized in the income statement.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4C<br> -Subparagraph (a),(c),(d),(e)<br> -URI http://asc.fasb.org/extlink&amp;oid=84234895&amp;loc=SL5624171-113959<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=84234895&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_DerivativeGainOnDerivative</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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>56
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6753933888">
<tr>
<th class="tl" colspan="2" rowspan="1"><div style="width: 200px;"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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">$ 373<span></span>
</td>
<td class="nump">$ 208<span></span>
</td>
</tr>
<tr class="re">
<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">158<span></span>
</td>
<td class="nump">136<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeInstrumentRiskAxis=us-gaap_CommodityContractMember', window );">Commodity Contract [Member]</a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_DERIVATIVEFINANCIALINSTRUMENTSDetailsScheduleofFairValuesforDerivativeFinancialInstrumentsLineItems', window );"><strong>DERIVATIVE FINANCIAL INSTRUMENTS (Details) - Schedule of Fair Values for Derivative Financial Instruments [Line Items]</strong></a></td>
<td class="th" style="border-bottom: 0px;"><sup></sup></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_DerivativeAssets', window );">Asset Derivatives, Fair Value</a></td>
<td class="th" style="border-bottom: 0px;"><sup>[1]</sup></td>
<td class="nump">136<span></span>
</td>
<td class="nump">45<span></span>
</td>
</tr>
<tr class="re">
<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="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_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">237<span></span>
</td>
<td class="nump">163<span></span>
</td>
</tr>
<tr class="re">
<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">$ 158<span></span>
</td>
<td class="nump">$ 136<span></span>
</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr><td colspan="4"><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 are included in prepaid expenses and other current assets. These contracts are short/sell positions for approximately 1.9 million and 0.7 million bushels of corn at July 31, 2017 and January 31, 2017, respectively.</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 while forward purchase contracts liabilities are included in accrued expenses and other current liabilities. These contracts are for purchases of approximately 10.3 million and 5.3 million bushels of corn at July 31, 2017 and January 31, 2017, respectively.</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/presentationRef<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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41271-113958<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13433-108611<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41228-113958<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13495-108611<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<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=82849420&amp;loc=SL20226008-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_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/presentationRef<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=82849420&amp;loc=SL20226008-175313<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 15<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13495-108611<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 825<br> -SubTopic 10<br> -Section 50<br> -Paragraph 10<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=77997519&amp;loc=d3e13433-108611<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 6<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41271-113958<br><br>Reference 6: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 815<br> -SubTopic 10<br> -Section 45<br> -Paragraph 5<br> -URI http://asc.fasb.org/extlink&amp;oid=6945355&amp;loc=d3e41228-113958<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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>57
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6748711632">
<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="3">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1">12 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Apr. 30, 2016</div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jan. 31, 2017</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_INVESTMENTSDetailsLineItems', window );"><strong>INVESTMENTS (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>
<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_IncomeLossFromEquityMethodInvestments', window );">Income (Loss) from Equity Method Investments</a></td>
<td class="nump">$ 137<span></span>
</td>
<td class="nump">$ 1,186<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 837<span></span>
</td>
<td class="nump">$ 1,419<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_EquityMethodInvestmentDividendsOrDistributions', window );">Proceeds from Equity Method Investment, Distribution</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">2,005<span></span>
</td>
<td class="nump">1,504<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_GainLossOnSaleOfInvestments', window );">Gain (Loss) on Sale of Investments</a></td>
<td class="num">(13)<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="num">(13)<span></span>
</td>
<td class="nump">192<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_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember', window );">Big River [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>
<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_INVESTMENTSDetailsLineItems', window );"><strong>INVESTMENTS (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>
<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_IncomeLossFromEquityMethodInvestments', window );">Income (Loss) from Equity Method Investments</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">16,600<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 17,800<span></span>
</td>
</tr>
<tr class="ro">
<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="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">2,000<span></span>
</td>
<td class="nump">$ 1,500<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_EquityMethodInvestmentUnderlyingEquityInNetAssets', window );">Equity Method Investment, Underlying Equity in Net Assets</a></td>
<td class="nump">$ 279,500<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 279,500<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 278,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_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_PatriotMember', window );">Patriot [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>
<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_INVESTMENTSDetailsLineItems', window );"><strong>INVESTMENTS (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>
<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_BusinessAcquisitionPercentageOfVotingInterestsAcquired', window );">Business Acquisition, Percentage of Voting Interests Acquired</a></td>
<td class="nump">100.00%<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">100.00%<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_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments', window );">Proceeds From Payment For Escrow Holdbacks And Adjustments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 2,300<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_GainLossOnSaleOfInvestments', window );">Gain (Loss) on Sale of Investments</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 200<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_INVESTMENTSDetailsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_INVESTMENTSDetailsLineItems</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_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ProceedsFromPaymentForEscrowHoldbacksAndAdjustments</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_BusinessAcquisitionPercentageOfVotingInterestsAcquired">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage of voting equity interests acquired at the acquisition date in the business combination.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (c)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num: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_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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=98514028&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_EquityMethodInvestmentUnderlyingEquityInNetAssets">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 entity's ownership percentage in the investee multiplied by the investee's total 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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 3<br> -Subparagraph (a)(3)<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&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_EquityMethodInvestmentUnderlyingEquityInNetAssets</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_GainLossOnSaleOfInvestments">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>The net realized gain (loss) on investments sold during the period, not including gains (losses) on securities separately or otherwise categorized as trading, available-for-sale, or held-to-maturity, which, for cash flow reporting, is a component of proceeds from investing 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/presentationRef<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=98514028&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_GainLossOnSaleOfInvestments</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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>This item represents the entity's proportionate share for the period of the net income (loss) of its investee (such as unconsolidated subsidiaries and joint ventures) to which the equity method of accounting is applied. This item includes income or expense related to stock-based compensation based on the investor's grant of stock to employees of an equity method investee.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 944<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.7-04(10))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879464&amp;loc=d3e573970-122913<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=98514028&amp;loc=d3e3602-108585<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=66022249&amp;loc=d3e33749-111570<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 942<br> -SubTopic 225<br> -Section S99<br> -Paragraph 1<br> -Subparagraph (SX 210.9-04(13)(f))<br> -URI http://asc.fasb.org/extlink&amp;oid=6879574&amp;loc=d3e536633-122882<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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_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;">us-gaap_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>
<table border="0" cellpadding="0" cellspacing="0" class="authRefData" style="display: none;" id="defref_us-gaap_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_PatriotMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_PatriotMember</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>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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6894404656">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>INVESTMENTS (Details) - Schedule of Equity Method Investments - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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_ScheduleOfEquityMethodInvestmentsLineItems', window );"><strong>Schedule of Equity Method Investments [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_EquityMethodInvestmentOwnershipPercentage', window );">Big River</a></td>
<td class="nump">95.35%<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">$ 36,665<span></span>
</td>
<td class="nump">$ 37,833<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_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis=rex_BigRiverMember', window );">Big River [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems', window );"><strong>Schedule of Equity Method Investments [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_EquityMethodInvestmentOwnershipPercentage', window );">Big River</a></td>
<td class="nump">9.70%<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">$ 36,665<span></span>
</td>
<td class="nump">$ 37,833<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_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://www.xbrl.org/2003/role/presentationRef<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=66011266&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>num: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://www.xbrl.org/2003/role/presentationRef<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=66022249&amp;loc=d3e33749-111570<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&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_ScheduleOfEquityMethodInvestmentsLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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_ScheduleOfEquityMethodInvestmentsLineItems</td>
</tr>
<tr>
<td style="padding-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_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;">us-gaap_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>59
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6754155552">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INVESTMENTS (Details) - Schedule of Financial information For Equity Method Investment - Big River [Member] - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</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_EquityMethodInvestmentSummarizedFinancialInformationRevenue', window );">Net sales and revenue</a></td>
<td class="nump">$ 212,070<span></span>
</td>
<td class="nump">$ 210,974<span></span>
</td>
<td class="nump">$ 404,569<span></span>
</td>
<td class="nump">$ 394,545<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss', window );">Gross profit</a></td>
<td class="nump">11,582<span></span>
</td>
<td class="nump">17,057<span></span>
</td>
<td class="nump">19,764<span></span>
</td>
<td class="nump">22,928<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems', window );">Income from continuing operations</a></td>
<td class="nump">1,411<span></span>
</td>
<td class="nump">12,216<span></span>
</td>
<td class="nump">8,618<span></span>
</td>
<td class="nump">14,620<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss', window );">Net income</a></td>
<td class="nump">$ 1,411<span></span>
</td>
<td class="nump">$ 12,216<span></span>
</td>
<td class="nump">$ 8,618<span></span>
</td>
<td class="nump">$ 14,620<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_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 gross profit (loss) reported by an equity method investment 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/presentationRef<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=64827811&amp;loc=SL51721683-107760<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33912-111571<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=66011266&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_EquityMethodInvestmentSummarizedFinancialInformationGrossProfitLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 reported by an equity method investee.</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 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))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=64827811&amp;loc=SL51721683-107760<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33912-111571<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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=66011266&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_EquityMethodInvestmentSummarizedFinancialInformationIncomeLossFromContinuingOperationsBeforeExtraordinaryItems</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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) reported by an equity method investment 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/presentationRef<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=64827811&amp;loc=SL51721683-107760<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=75031198&amp;loc=d3e14064-108612<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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=66011266&amp;loc=d3e33918-111571<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<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))<br> -URI http://asc.fasb.org/extlink&amp;oid=26873400&amp;loc=d3e23780-122690<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 323<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -URI http://asc.fasb.org/extlink&amp;oid=66011266&amp;loc=d3e33912-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_EquityMethodInvestmentSummarizedFinancialInformationNetIncomeLoss</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_EquityMethodInvestmentSummarizedFinancialInformationRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 revenue from sale of goods and services reduced by sales returns, allowances, and discounts reported by an equity method investment 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/presentationRef<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=64827811&amp;loc=SL51721683-107760<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=66011266&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_EquityMethodInvestmentSummarizedFinancialInformationRevenue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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;">us-gaap_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>60
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6884010880">
<tr>
<th class="tl" colspan="1" rowspan="1"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Details) - USD ($)<br></strong></div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jan. 31, 2017</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>
</tr>
<tr class="ro">
<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 );">Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized</a></td>
<td class="nump">$ 321,000<span></span>
</td>
<td class="nump">$ 214,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_PlanNameAxis=rex_StockOptionPlans2015Member', window );">Stock Option Plans 2015 [Member] | Employee Stock Option [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_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>
</tr>
<tr class="re">
<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>
</tr>
<tr class="ro">
<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">511,174<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>Unrecognized cost of unvested share-based compensation awards.</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 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=96867065&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_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>The maximum number of shares (or other type of equity) originally approved (usually by shareholders and board of directors), net of any subsequent amendments and adjustments, for awards under the equity-based compensation plan. As stock or unit options and equity instruments other than options are awarded to participants, the shares or units remain authorized and become reserved for issuance under outstanding awards (not necessarily vested).</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 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=96867065&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://www.xbrl.org/2003/role/presentationRef<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=96867065&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_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>
<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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>61
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6753916784">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>EMPLOYEE BENEFITS (Details) - Schedule of Non-Vested Restricted Stock Award Activity - $ / shares<br> $ / shares in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares', window );">Non-Vested, Beginning of Period</a></td>
<td class="nump">23,350<span></span>
</td>
<td class="nump">3,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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue', window );">Non-Vested, Beginning of Period</a></td>
<td class="nump">$ 1,386<span></span>
</td>
<td class="nump">$ 200<span></span>
</td>
</tr>
<tr class="ro">
<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 );">Non-Vested, Beginning of Period</a></td>
<td class="text">2 years<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 );">Granted</a></td>
<td class="nump">14,156<span></span>
</td>
<td class="nump">21,502<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue', window );">Granted</a></td>
<td class="nump">$ 1,370<span></span>
</td>
<td class="nump">$ 1,269<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares', window );">Forfeited</a></td>
<td class="text"> <span></span>
</td>
<td class="text"> <span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue', window );">Forfeited</a></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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares', window );">Vested</a></td>
<td class="nump">8,091<span></span>
</td>
<td class="nump">1,320<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue', window );">Vested</a></td>
<td class="nump">$ 481<span></span>
</td>
<td class="nump">$ 83<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares', window );">Non-Vested, End of Period</a></td>
<td class="nump">29,415<span></span>
</td>
<td class="nump">23,350<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue', window );">Non-Vested, End of Period</a></td>
<td class="nump">$ 2,275<span></span>
</td>
<td class="nump">$ 1,386<span></span>
</td>
</tr>
<tr class="re">
<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 );">Non-Vested, 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_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_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 unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the 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/presentationRef<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=96867065&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_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_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 options granted during the reporting period as calculated by applying the disclosed option pricing methodology.</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 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=96867065&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_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num: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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 non-vested options outstanding.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares</td>
</tr>
<tr>
<td style="padding-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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 non-vested options forfeited.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedNumberOfShares</td>
</tr>
<tr>
<td style="padding-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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 grant-date fair value of non-vested options forfeited.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedOptionsForfeitedWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num: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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 grant-date fair value of non-vested options outstanding.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num:perShareItemType</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 options vested.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares</td>
</tr>
<tr>
<td style="padding-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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 grant-date fair value of options vested.</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_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num: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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>62
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907751136">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES (Details)<br></strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</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>
<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_EffectiveIncomeTaxRateContinuingOperations', window );">Effective Income Tax Rate Reconciliation, Percent</a></td>
<td class="nump">35.60%<span></span>
</td>
<td class="nump">33.30%<span></span>
</td>
<td class="nump">32.40%<span></span>
</td>
<td class="nump">32.60%<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_EffectiveIncomeTaxRateContinuingOperations">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Percentage 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/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 13<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32698-109319<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<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=26873400&amp;loc=d3e23780-122690<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 740<br> -SubTopic 10<br> -Section 50<br> -Paragraph 12<br> -URI http://asc.fasb.org/extlink&amp;oid=84230637&amp;loc=d3e32687-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_EffectiveIncomeTaxRateContinuingOperations</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</td>
</tr>
<tr>
<td><strong> Data Type:</strong></td>
<td>num: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_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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>63
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6742576816">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>INCOME TAXES  (Details) - Schedule of Unrecognized Tax Benefits Roll Forward - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</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">$ 2,096<span></span>
</td>
<td class="nump">$ 987<span></span>
</td>
</tr>
<tr class="re">
<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">164<span></span>
</td>
<td class="nump">171<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, end of period</a></td>
<td class="nump">$ 2,260<span></span>
</td>
<td class="nump">$ 1,158<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_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/presentationRef<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=84230637&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>64
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6884317072">
<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</strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th">
<div>Jul. 31, 2017 </div>
<div>T </div>
<div>lb </div>
<div>bu </div>
<div>gal</div>
</th>
<th class="th">
<div>Jan. 31, 2017 </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_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>
</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_QuantityOfBushelsUnderForwardPurchaseContract', window );">Quantity of Bushels under Forward Purchase Contract</a></td>
<td class="nump">10.3<span></span>
</td>
<td class="nump">5.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_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>
</tr>
<tr 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>
</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</a></td>
<td class="nump">11.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_QuantityOfEthanolUnderSalesCommitment', window );">Quantity of Ethanol under Sales Commitment | gal</a></td>
<td class="nump">67.8<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_QuantityOfDistillersGrainsUnderSalesCommitment', window );">Quantity of Distillers Grains Under Sales Commitment | T</a></td>
<td class="nump">79,000<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_QuantityOfNonFoodGradeCornOilUnderSalesCommitments', window );">Quantity of Non-food Grade Corn Oil Under Sales Commitments | lb</a></td>
<td class="nump">11.7<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_SupplyCommitmentExpectedPeriodOfDelivery', window );">Supply Commitment Expected Period Of Delivery</a></td>
<td class="text">They expect to deliver the ethanol, distillers grains and non-food grade corn oil through December2017.<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_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_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>num: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>num: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>num: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_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>num: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_SupplyCommitmentExpectedPeriodOfDelivery">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Supply commitment expected period of delivery.</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_SupplyCommitmentExpectedPeriodOfDelivery</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_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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>65
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6754197680">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants - USD ($)<br> $ in Thousands</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</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_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [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_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">$ 108,744<span></span>
</td>
<td class="nump">$ 115,707<span></span>
</td>
<td class="nump">$ 221,887<span></span>
</td>
<td class="nump">$ 215,929<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_ProductOrServiceAxis=rex_EthanolMember', window );">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>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [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_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">88,785<span></span>
</td>
<td class="nump">90,933<span></span>
</td>
<td class="nump">180,257<span></span>
</td>
<td class="nump">168,564<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_ProductOrServiceAxis=rex_DriedDistillersGrainsMember', window );">Dried Distillers Grains [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_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [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_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">13,472<span></span>
</td>
<td class="nump">18,946<span></span>
</td>
<td class="nump">28,622<span></span>
</td>
<td class="nump">36,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_ProductOrServiceAxis=rex_NonFoodGradeCornOilMember', window );">Non-Food Grade Corn Oil [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_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [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_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">4,726<span></span>
</td>
<td class="nump">4,738<span></span>
</td>
<td class="nump">9,318<span></span>
</td>
<td class="nump">8,584<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_ProductOrServiceAxis=rex_ModifiedDistillersGrainsMember', window );">Modified Distillers Grains [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_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [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_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">1,748<span></span>
</td>
<td class="nump">983<span></span>
</td>
<td class="nump">3,667<span></span>
</td>
<td class="nump">2,547<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_ProductOrServiceAxis=rex_OtherProductMember', window );">Other Product [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_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems', window );"><strong>Revenue from External Customer [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_OtherAlternativeEnergySalesRevenue', window );">Product or Service</a></td>
<td class="nump">$ 13<span></span>
</td>
<td class="nump">$ 107<span></span>
</td>
<td class="nump">$ 23<span></span>
</td>
<td class="nump">$ 234<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_EntityWideInformationRevenueFromExternalCustomerLineItems">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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_EntityWideInformationRevenueFromExternalCustomerLineItems</td>
</tr>
<tr>
<td style="padding-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_OtherAlternativeEnergySalesRevenue">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Revenue earned during the period from alternative energy sources (for example, ethanol, biomass, solar, geothermal, and wind power).</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 932<br> -SubTopic 235<br> -Section 50<br> -Paragraph 24<br> -URI http://asc.fasb.org/extlink&amp;oid=68064819&amp;loc=d3e62246-109447<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 980<br> -SubTopic 605<br> -Section 45<br> -Paragraph 1<br> -URI http://asc.fasb.org/extlink&amp;oid=68059722&amp;loc=SL51755165-203213<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br><br>Reference 4: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 932<br> -SubTopic 235<br> -Section 50<br> -Paragraph 23<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=68064819&amp;loc=d3e62136-109447<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_OtherAlternativeEnergySalesRevenue</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=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_ProductOrServiceAxis=rex_OtherProductMember">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_ProductOrServiceAxis=rex_OtherProductMember</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>66
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6907876048">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>RELATED PARTY TRANSACTIONS (Details) - USD ($)<br> $ in Millions</strong></div></th>
<th class="th" colspan="2">3 Months Ended</th>
<th class="th" colspan="2">6 Months Ended</th>
<th class="th" colspan="1"></th>
</tr>
<tr>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jul. 31, 2017</div></th>
<th class="th"><div>Jul. 31, 2016</div></th>
<th class="th"><div>Jan. 31, 2017</div></th>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RELATEDPARTYTRANSACTIONSDetailsLineItems', window );"><strong>RELATED PARTY TRANSACTIONS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_AccountsPayableRelatedPartiesCurrent', window );">Accounts Payable, Related Parties, Current</a></td>
<td class="nump">$ 1.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1.6<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="nump">$ 1.7<span></span>
</td>
</tr>
<tr class="rh">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=rex_OneEarthEnergyAndNuGenEnergyMember', window );">One Earth Energy And Nu Gen Energy [Member]</a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="ro">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_rex_RELATEDPARTYTRANSACTIONSDetailsLineItems', window );"><strong>RELATED PARTY TRANSACTIONS (Details) [Line Items]</strong></a></td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
<td class="text">&#160;<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_CostsAndExpensesRelatedParty', window );">Costs and Expenses, Related Party</a></td>
<td class="nump">$ 36.5<span></span>
</td>
<td class="nump">$ 36.0<span></span>
</td>
<td class="nump">$ 78.7<span></span>
</td>
<td class="nump">$ 80.4<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_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://www.xbrl.org/2003/role/presentationRef<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 2: http://www.xbrl.org/2003/role/presentationRef<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=6877327&amp;loc=d3e13212-122682<br><br>Reference 3: http://www.xbrl.org/2003/role/presentationRef<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/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 850<br> -SubTopic 10<br> -Section 50<br> -Paragraph 4<br> -URI http://asc.fasb.org/extlink&amp;oid=6457730&amp;loc=d3e39622-107864<br><br>Reference 5: http://www.xbrl.org/2003/role/presentationRef<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=26873400&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_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://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 225<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=63488584&amp;loc=d3e20235-122688<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><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_RelatedPartyTransactionsByRelatedPartyAxis=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;">us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>67
<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.7.0.1</span><table class="report" border="0" cellspacing="2" id="idp6619056784">
<tr>
<th class="tl" colspan="1" rowspan="2"><div style="width: 200px;"><strong>Subsequent Event (Details)<br> $ in Millions</strong></div></th>
<th class="th" colspan="1">6 Months Ended</th>
</tr>
<tr><th class="th">
<div>Jul. 31, 2017 </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_SubsequentEventsAbstract', window );"><strong>Subsequent Events [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_SubsequentEventDescription', window );">Subsequent Event, Description</a></td>
<td class="text">On August 10, 2017, the Company, through a 95.35%owned subsidiary, purchased the entire ownership interest of a refined coal facility for approximately $12 million in cash. Thefacility is in operation and will begin affecting the Company&#x2019;s financial results during the third quarter of fiscal year2017. The Company expects that the revenues from the sale of refined coal produced in the facility will be subsidized by federalproduction tax credits, subject to meeting qualified emissions reductions as governed by Section 45 of the Internal Revenue Code.The impact on the combined results of operationsof the Company and the refined coal facility, on a pro forma basis, as though the companies had been combined as of the beginningof fiscal year 2017 is insignificant as the refined coal facility has been inactive for several years up until the Company&#x2019;sacquisition.The Company expects to complete its analysisof transaction costs related to the acquisition of the refined coal facility and the estimated fair value of assets acquired andliabilities assumed during the third quarter of fiscal year 2017.<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_SubsequentEventsDate', window );">Subsequent Event, Date</a></td>
<td class="text">Aug. 10,  2017<span></span>
</td>
</tr>
<tr class="ro">
<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 );">Equity Method Investment, Ownership Percentage</a></td>
<td class="nump">95.35%<span></span>
</td>
</tr>
<tr class="re">
<td class="pl " style="border-bottom: 0px;" valign="top"><a class="a" href="javascript:void(0);" onclick="top.Show.showAR( this, 'defref_us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1', window );">Business Combination, Consideration Transferred, Including Equity Interest in Acquiree Held Prior to Combination</a></td>
<td class="nump">$ 12<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_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 at acquisition-date of the assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interests issued by the acquirer, including but not limited to,  instruments or interests issued or issuable in consideration for the business combination.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (g)<br> -URI http://asc.fasb.org/extlink&amp;oid=79982066&amp;loc=d3e1392-128463<br><br>Reference 2: http://www.xbrl.org/2003/role/presentationRef<br> -Publisher FASB<br> -Name Accounting Standards Codification<br> -Topic 805<br> -SubTopic 30<br> -Section 50<br> -Paragraph 1<br> -Subparagraph (b)<br> -URI http://asc.fasb.org/extlink&amp;oid=35744584&amp;loc=d3e6927-128479<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_BusinessCombinationConsiderationTransferredIncludingEquityInterestInAcquireeHeldPriorToCombination1</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>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_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://www.xbrl.org/2003/role/presentationRef<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=66011266&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>num: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_SubsequentEventDescription">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></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 event or transaction that occurred between the balance sheet date and the date the financial statements are issued or available to be issued.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 855<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6842918&amp;loc=SL6314017-165662<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventDescription</td>
</tr>
<tr>
<td style="padding-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_SubsequentEventsAbstract">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.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_SubsequentEventsAbstract</td>
</tr>
<tr>
<td style="padding-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_SubsequentEventsDate">
<tr><td class="hide"><a style="color: white;" href="javascript:void(0);" onclick="top.Show.hideAR();">X</a></td></tr>
<tr><td><div class="body" style="padding: 2px;">
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">- Definition</a><div><p>Date the event occurred after the balance sheet date but before financial statements are issues or available to be issued, in CCYY-MM-DD format.</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 FASB<br> -Name Accounting Standards Codification<br> -Topic 855<br> -SubTopic 10<br> -Section 50<br> -Paragraph 2<br> -Subparagraph (a)<br> -URI http://asc.fasb.org/extlink&amp;oid=6842918&amp;loc=SL6314017-165662<br></p></div>
<a href="javascript:void(0);" onclick="top.Show.toggleNext( this );">+ Details</a><div style="display: none;"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><strong> Name:</strong></td>
<td style="white-space:nowrap;">us-gaap_SubsequentEventsDate</td>
</tr>
<tr>
<td style="padding-right: 4px;white-space:nowrap;"><strong> Namespace Prefix:</strong></td>
<td>us-gaap_</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>
</div>
</body>
</html>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>EXCEL
<SEQUENCE>68
<FILENAME>Financial_Report.xlsx
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 Financial_Report.xlsx
M4$L#!!0    ( ')^)DL?(\\#P    !,"   +    7W)E;',O+G)E;'.MDD^+
MPD ,Q;]*F?L:5\'#8CUYZ6U9_ )Q)OU#.Y,A$[%^>X>];+=44/ 87O+>CT?V
M/S2@=AQ2V\54C'X(J32M:OP"2+8ECVG%D4)6:A:/FD=I(*+ML2'8K-<[D*F'
M.>RGGD7E2B.5^S3%":4A+<TXP)6E/S/WJVR;A5ND9T*YKCM+1[873T$7LF<;
M!I99-G\LCNVW<+ZT+/0:S>,*P).B0\5?UX^8 TBTH_0(:+L A#&^NQT:E8(C
M-R."?S]PN -02P,$%     @ <GXF2V;S"V""    L0   !    !D;V-0<F]P
M<R]A<' N>&UL38Y-"\(P$$3_2NG=;BGB06) L$?!D_>0;FP@R8;-"OGYIH(?
MMWF\81AU8\K(XK%T-8943OTJDH\ Q:X831F:3LTXXFBD(3^ G/,6+V2?$9/
M-(X'P"J8%EQV^3O8:W7..7AKQ%/25V^9"CGIYFHQ*/B76_..7+8\#?NW_+""
MWTG] E!+ P04    " !R?B9+TQ0;VN\    K @  $0   &1O8U!R;W!S+V-O
M<F4N>&ULS9+!2@,Q$(9?17+?G:2E%<,V%\63@F!!\1:2:1NZV0W)R&[?WFQL
MMX@^@)!+9OY\\PVD,4&:/N)+[ -&<IAN1M]V29JP80>B( &2.:#7J<Z)+C=W
M??2:\C7N(6ASU'N$!>=K\$C::M(P :LP$YEJK)$FHJ8^GO'6S/CP&=L"LP:P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P+4$L#!!0    ( ')^)DMWOQ-;U@$  #4A   3    6T-O;G1E;G1?5'EP
M97-=+GAM;,W:74_",!0&X+]"=FM8Z<?\BGBCWJJ)_H&Z'=C"UC9M0?SW=A-,
M-)A@@.2]86RG.^?=:)XK;EX_'(71NFM-F&9UC.Z:L5#6U.F06T<F56;6=SJF
M4S]G3I<+/2<F)I-S5EH3R<1Q['MDMS?W--/+-H[NOJ[WK:>9=JYM2AT;:]C*
M5+^:CC<-<T_ML";4C0MG:4$V>EBG+B%=FV:I&C*VQX3?-_;GZ;ZG%7G?5/2O
M:'8V:TJJ;+GLTBUY<)YT%6JBV+5YJ+6GZB7ZQLPW>9^UCX^Z2XW9NF4_%N2G
MRQ$_6MH=8*@<<W),VX)VC1H*7Y_\H(';W5!:3V/G4]7'9L?CI4C/J1I8O_"8
MCTC]UJFHVFMX:GVZ'_;=^L7P?=<+_RX&-AP.>^O'RR% <DB0' HD1P&2XQPD
MQP5(CDN0'%<@.?@$)0B*J!R%5(YB*D=!E:.HRE%8Y2BN<A18.8JL D56@2*K
M0)%5H,@J4&05*+(*%%D%BJP"15:!(JM$D56BR"I19)4HLDH4626*K!)%5HDB
MJT215:+(JE!D52BR*A19%8JL"D56A2*K0I%5H<BJ4&15*+(6*+(6*+(6*+(6
M*+(6*+(6)Y1U..:=;LQ?2=ZL76SGL^'?$K>?4$L! A0#%     @ <GXF2Q\C
MSP/     $P(   L              ( !     %]R96QS+RYR96QS4$L! A0#
M%     @ <GXF2V;S"V""    L0   !               ( !Z0   &1O8U!R
M;W!S+V%P<"YX;6Q02P$"% ,4    " !R?B9+TQ0;VN\    K @  $0
M        @ &9 0  9&]C4')O<',O8V]R92YX;6Q02P$"% ,4    " !R?B9+
MF5R<(Q &  "<)P  $P              @ &W @  >&PO=&AE;64O=&AE;64Q
M+GAM;%!+ 0(4 Q0    ( ')^)DN<O%?=>@(  -\(   8              "
M ?@(  !X;"]W;W)K<VAE971S+W-H965T,2YX;6Q02P$"% ,4    " !R?B9+
MVA0^E/\#  !L$@  &               @ &H"P  >&PO=V]R:W-H965T<R]S
M:&5E=#(N>&UL4$L! A0#%     @ <GXF2X.7'\+F P  !!$  !@
M     ( !W0\  'AL+W=O<FMS:&5E=',O<VAE970S+GAM;%!+ 0(4 Q0    (
M ')^)DM %C-4Q0,  '40   8              "  ?D3  !X;"]W;W)K<VAE
M971S+W-H965T-"YX;6Q02P$"% ,4    " !R?B9++Q 49W$$   @%0  &
M            @ 'T%P  >&PO=V]R:W-H965T<R]S:&5E=#4N>&UL4$L! A0#
M%     @ <GXF2Z?(YN>R 0  T@,  !@              ( !FQP  'AL+W=O
M<FMS:&5E=',O<VAE970V+GAM;%!+ 0(4 Q0    ( ')^)DN7%I @M0$  -(#
M   8              "  8,>  !X;"]W;W)K<VAE971S+W-H965T-RYX;6Q0
M2P$"% ,4    " !R?B9+HOT/L;8!  #2 P  &               @ %N(
M>&PO=V]R:W-H965T<R]S:&5E=#@N>&UL4$L! A0#%     @ <GXF2^MQ7!^U
M 0  T@,  !@              ( !6B(  'AL+W=O<FMS:&5E=',O<VAE970Y
M+GAM;%!+ 0(4 Q0    ( ')^)DNL7J14MP$  -(#   9              "
M 44D  !X;"]W;W)K<VAE971S+W-H965T,3 N>&UL4$L! A0#%     @ <GXF
M2^WKZ[VV 0  T@,  !D              ( !,R8  'AL+W=O<FMS:&5E=',O
M<VAE970Q,2YX;6Q02P$"% ,4    " !R?B9+HCM.8;,!  #2 P  &0
M        @ $@*   >&PO=V]R:W-H965T<R]S:&5E=#$R+GAM;%!+ 0(4 Q0
M   ( ')^)DM":%E9MP$  -(#   9              "  0HJ  !X;"]W;W)K
M<VAE971S+W-H965T,3,N>&UL4$L! A0#%     @ <GXF2Y@N2GFV 0  T@,
M !D              ( !^"L  'AL+W=O<FMS:&5E=',O<VAE970Q-"YX;6Q0
M2P$"% ,4    " !R?B9+KKZG&K4!  #2 P  &0              @ 'E+0
M>&PO=V]R:W-H965T<R]S:&5E=#$U+GAM;%!+ 0(4 Q0    ( ')^)DOA?=E7
MMP$  -(#   9              "  =$O  !X;"]W;W)K<VAE971S+W-H965T
M,38N>&UL4$L! A0#%     @ <GXF2S=3:7BV 0  T@,  !D
M ( !OS$  'AL+W=O<FMS:&5E=',O<VAE970Q-RYX;6Q02P$"% ,4    " !R
M?B9+0[(A?[<!  #2 P  &0              @ &L,P  >&PO=V]R:W-H965T
M<R]S:&5E=#$X+GAM;%!+ 0(4 Q0    ( ')^)DM[@]B%MP$  -(#   9
M          "  9HU  !X;"]W;W)K<VAE971S+W-H965T,3DN>&UL4$L! A0#
M%     @ <GXF2Z+Q/T&V 0  T@,  !D              ( !B#<  'AL+W=O
M<FMS:&5E=',O<VAE970R,"YX;6Q02P$"% ,4    " !R?B9+:RW$-[<!  #2
M P  &0              @ %U.0  >&PO=V]R:W-H965T<R]S:&5E=#(Q+GAM
M;%!+ 0(4 Q0    ( ')^)DL9Q?7V,0(  &P'   9              "  6,[
M  !X;"]W;W)K<VAE971S+W-H965T,C(N>&UL4$L! A0#%     @ <GXF2X'?
M?-VU 0  T@,  !D              ( !RST  'AL+W=O<FMS:&5E=',O<VAE
M970R,RYX;6Q02P$"% ,4    " !R?B9+&X78Y[,!  #2 P  &0
M    @ &W/P  >&PO=V]R:W-H965T<R]S:&5E=#(T+GAM;%!+ 0(4 Q0    (
M ')^)DMM!?SJLP$  -(#   9              "  :%!  !X;"]W;W)K<VAE
M971S+W-H965T,C4N>&UL4$L! A0#%     @ <GXF2\[ R/&V 0  T@,  !D
M             ( !BT,  'AL+W=O<FMS:&5E=',O<VAE970R-BYX;6Q02P$"
M% ,4    " !R?B9+<?PSE;8!  #2 P  &0              @ %X10  >&PO
M=V]R:W-H965T<R]S:&5E=#(W+GAM;%!+ 0(4 Q0    ( ')^)DNC)TT8N $
M -(#   9              "  65'  !X;"]W;W)K<VAE971S+W-H965T,C@N
M>&UL4$L! A0#%     @ <GXF2QV[?P:X 0  T@,  !D              ( !
M5$D  'AL+W=O<FMS:&5E=',O<VAE970R.2YX;6Q02P$"% ,4    " !R?B9+
M*_,TML$!   W!   &0              @ %#2P  >&PO=V]R:W-H965T<R]S
M:&5E=#,P+GAM;%!+ 0(4 Q0    ( ')^)DN*\9(TN $  -(#   9
M      "  3M-  !X;"]W;W)K<VAE971S+W-H965T,S$N>&UL4$L! A0#%
M  @ <GXF2Z8M1L"V 0  T@,  !D              ( !*D\  'AL+W=O<FMS
M:&5E=',O<VAE970S,BYX;6Q02P$"% ,4    " !R?B9+U#$;![<!  #2 P
M&0              @ $740  >&PO=V]R:W-H965T<R]S:&5E=#,S+GAM;%!+
M 0(4 Q0    ( ')^)DL4M#;IV0$  )8$   9              "  053  !X
M;"]W;W)K<VAE971S+W-H965T,S0N>&UL4$L! A0#%     @ <GXF2Q1;EW_S
M @  0 P  !D              ( !%54  'AL+W=O<FMS:&5E=',O<VAE970S
M-2YX;6Q02P$"% ,4    " !R?B9+'30;POX!  !U!0  &0
M@ $_6   >&PO=V]R:W-H965T<R]S:&5E=#,V+GAM;%!+ 0(4 Q0    ( ')^
M)DNK&0 0 @(  ,,%   9              "  71:  !X;"]W;W)K<VAE971S
M+W-H965T,S<N>&UL4$L! A0#%     @ <GXF2P;?4H/3 P  +!0  !D
M         ( !K5P  'AL+W=O<FMS:&5E=',O<VAE970S."YX;6Q02P$"% ,4
M    " !R?B9+;&@JBC\"   %!P  &0              @ &W8   >&PO=V]R
M:W-H965T<R]S:&5E=#,Y+GAM;%!+ 0(4 Q0    ( ')^)DN9IOCZ^ $  &T%
M   9              "  2UC  !X;"]W;W)K<VAE971S+W-H965T-# N>&UL
M4$L! A0#%     @ <GXF2V[J*K@H @  AP8  !D              ( !7&4
M 'AL+W=O<FMS:&5E=',O<VAE970T,2YX;6Q02P$"% ,4    " !R?B9+I"@0
MH,H!   X!   &0              @ &[9P  >&PO=V]R:W-H965T<R]S:&5E
M=#0R+GAM;%!+ 0(4 Q0    ( ')^)DM\RMYD: (  .8'   9
M  "  ;QI  !X;"]W;W)K<VAE971S+W-H965T-#,N>&UL4$L! A0#%     @
M<GXF2],LQK.< @  Q0D  !D              ( !6VP  'AL+W=O<FMS:&5E
M=',O<VAE970T-"YX;6Q02P$"% ,4    " !R?B9+%&)M>_@"  #1"P  &0
M            @ $N;P  >&PO=V]R:W-H965T<R]S:&5E=#0U+GAM;%!+ 0(4
M Q0    ( ')^)DNH)KH6YP$  *T%   9              "  5UR  !X;"]W
M;W)K<VAE971S+W-H965T-#8N>&UL4$L! A0#%     @ <GXF2V0^:9!] @
M' @  !D              ( !>W0  'AL+W=O<FMS:&5E=',O<VAE970T-RYX
M;6Q02P$"% ,4    " !R?B9+ >?T<>D!   H!0  &0              @ $O
M=P  >&PO=V]R:W-H965T<R]S:&5E=#0X+GAM;%!+ 0(4 Q0    ( ')^)DM(
M-6O_N (  &\*   9              "  4]Y  !X;"]W;W)K<VAE971S+W-H
M965T-#DN>&UL4$L! A0#%     @ <GXF2X;-X'L" @  C 4  !D
M     ( !/GP  'AL+W=O<FMS:&5E=',O<VAE970U,"YX;6Q02P$"% ,4
M" !R?B9+PDU_Z@P"  !W!0  &0              @ %W?@  >&PO=V]R:W-H
M965T<R]S:&5E=#4Q+GAM;%!+ 0(4 Q0    ( ')^)DNU2^K ,@(  -H&   9
M              "  ;J   !X;"]W;W)K<VAE971S+W-H965T-3(N>&UL4$L!
M A0#%     @ <GXF2S<A2+T+ P  <PP  !D              ( !(X,  'AL
M+W=O<FMS:&5E=',O<VAE970U,RYX;6Q02P$"% ,4    " !R?B9+D[D;@DH"
M   >!P  &0              @ %EA@  >&PO=V]R:W-H965T<R]S:&5E=#4T
M+GAM;%!+ 0(4 Q0    ( ')^)DOP>^Z_Y0$   (%   9              "
M >:(  !X;"]W;W)K<VAE971S+W-H965T-34N>&UL4$L! A0#%     @ <GXF
M2^;SF$YX-0  W00! !0              ( ! HL  'AL+W-H87)E9%-T<FEN
M9W,N>&UL4$L! A0#%     @ <GXF2XUA6^Q& @  60L   T
M ( !K,   'AL+W-T>6QE<RYX;6Q02P$"% ,4    " !R?B9+M)NC>"<$  "@
M(P  #P              @ $=PP  >&PO=V]R:V)O;VLN>&UL4$L! A0#%
M  @ <GXF2RV>3C?Y 0  >B$  !H              ( !<<<  'AL+U]R96QS
M+W=O<FMB;V]K+GAM;"YR96QS4$L! A0#%     @ <GXF2W>_$UO6 0  -2$
M !,              ( !HLD  %M#;VYT96YT7U1Y<&5S72YX;6Q02P4&
/ $  0 !R$0  J<L

end
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>69
<FILENAME>Show.js
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
/**
 * Rivet Software Inc.
 *
 * @copyright Copyright (c) 2006-2011 Rivet Software, Inc. All rights reserved.
 * Version 2.4.0.3
 *
 */

var Show = {};
Show.LastAR = null,

Show.hideAR = function(){
	Show.LastAR.style.display = 'none';
};

Show.showAR = function ( link, id, win ){
	if( Show.LastAR ){
		Show.hideAR();
	}

	var ref = link;
	do {
		ref = ref.nextSibling;
	} while (ref && ref.nodeName != 'TABLE');

	if (!ref || ref.nodeName != 'TABLE') {
		var tmp = win ?
			win.document.getElementById(id) :
			document.getElementById(id);

		if( tmp ){
			ref = tmp.cloneNode(true);
			ref.id = '';
			link.parentNode.appendChild(ref);
		}
	}

	if( ref ){
		ref.style.display = 'block';
		Show.LastAR = ref;
	}
};

Show.toggleNext = function( link ){
	var ref = link;

	do{
		ref = ref.nextSibling;
	}while( ref.nodeName != 'DIV' );

	if( ref.style &&
		ref.style.display &&
		ref.style.display == 'none' ){
		ref.style.display = 'block';

		if( link.textContent ){
			link.textContent = link.textContent.replace( '+', '-' );
		}else{
			link.innerText = link.innerText.replace( '+', '-' );
		}
	}else{
		ref.style.display = 'none';

		if( link.textContent ){
			link.textContent = link.textContent.replace( '-', '+' );
		}else{
			link.innerText = link.innerText.replace( '-', '+' );
		}
	}
};
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>XML
<SEQUENCE>70
<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>72
<FILENAME>FilingSummary.xml
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
<XML>
<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>92</ContextCount>
  <ElementCount>205</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>28</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>8</UnitCount>
  <MyReports>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Disclosure - 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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>CONSOLIDATED CONDENSED STATEMENTS OF SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - 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>5</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - 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>6</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Disclosure - ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ACCOUNTINGPOLICIES</Role>
      <ShortName>ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FAIRVALUE</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - 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>10</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - OTHER ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/OTHERASSETS</Role>
      <ShortName>OTHER ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - 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>12</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - REVOLVING LINES OF CREDIT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT</Role>
      <ShortName>REVOLVING LINES OF CREDIT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - 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>14</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INVESTMENTS</Role>
      <ShortName>INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - EMPLOYEE BENEFITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/EMPLOYEEBENEFITS</Role>
      <ShortName>EMPLOYEE BENEFITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - 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>18</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - 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>19</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SubsequentEvent</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <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>
      <Position>22</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <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="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/LEASES</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/FAIRVALUETables</Role>
      <ShortName>FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/FAIRVALUE</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - PROPERTY AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/PROPERTYANDEQUIPMENTTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/PROPERTYANDEQUIPMENT</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - OTHER ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/OTHERASSETSTables</Role>
      <ShortName>OTHER ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/OTHERASSETS</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - 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>33</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <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="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - 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>37</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - 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>38</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - 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>39</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>039 - Disclosure - OTHER ASSETS (Details) - Schedule of Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofOtherAssetsTable</Role>
      <ShortName>OTHER ASSETS (Details) - Schedule of Other Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/OTHERASSETSTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>040 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofaccruedexpensesandothercurrentliabilitiesTable</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details) - Schedule of accrued expenses and other current liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/ACCRUEDEXPENSESANDOTHERCURRENTLIABILITIESTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>041 - Disclosure - REVOLVING LINES OF CREDIT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/REVOLVINGLINESOFCREDITDetails</Role>
      <ShortName>REVOLVING LINES OF CREDIT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/REVOLVINGLINESOFCREDIT</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>042 - 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>43</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>043 - 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>44</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>044 - 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>45</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>045 - 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>46</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>046 - 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>47</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>047 - 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>48</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>048 - 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>49</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>049 - 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>50</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>050 - 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>51</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>051 - 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>52</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>052 - Disclosure - NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/ScheduleofSalesofConsolidatedEthanolPlantsTable</Role>
      <ShortName>NET SALES AND REVENUE (Details) - Schedule of Sales of Consolidated Ethanol Plants</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/NETSALESANDREVENUETables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>053 - 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>54</Position>
    </Report>
    <Report instance="rex-20170731.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>054 - Disclosure - Subsequent Event (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.rexamerican.com/role/SubsequentEventDetails</Role>
      <ShortName>Subsequent Event (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.rexamerican.com/role/SubsequentEvent</ParentRole>
      <Position>55</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>rex-20170731.xml</File>
    <File>rex-20170731.xsd</File>
    <File>rex-20170731_cal.xml</File>
    <File>rex-20170731_def.xml</File>
    <File>rex-20170731_lab.xml</File>
    <File>rex-20170731_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
</XML>
</TEXT>
</DOCUMENT>
<DOCUMENT>
<TYPE>ZIP
<SEQUENCE>74
<FILENAME>0000930413-17-003184-xbrl.zip
<DESCRIPTION>IDEA: XBRL DOCUMENT
<TEXT>
begin 644 0000930413-17-003184-xbrl.zip
M4$L#!!0    ( ')^)DN;D:X1>WH  %>C!@ 0    <F5X+3(P,3<P-S,Q+GAM
M;.Q]:W/;1K+H=_T*7-_-*:<.)1/@VTET2Y:M1&=M2\=RLKOGUBT71 PEK$&
MP4,2\^MO]\P &(   1 @"4JSM4E$$ICIU_3T]/3CY__S-+>4!^)ZIF/_\DH]
MZ;Y2B#UU#-.^^^75[S?'9S?GEY>O_L^IHAS]_+^.CY5?B4U<W2>&<KM4S//7
M_OQ'Y5@Y=^:+FZFI7-H^_#KUS0<"W]DP+GR&W^]]?_'VS9O'Q\>3*3SJ34V7
M>$[@3HF'7RC'QS"!$LYQ[A*<X:WR-2#*#5DHW8&B=M]VAV^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P,3<P-S,Q7V-A;"YX;6Q02P$"% ,4
M    " !R?B9+!QF^7S@P  ")R@( %               @ $;F@  <F5X+3(P
M,3<P-S,Q7V1E9BYX;6Q02P$"% ,4    " !R?B9+L>QHRZ=.   !Y , %
M            @ &%R@  <F5X+3(P,3<P-S,Q7VQA8BYX;6Q02P$"% ,4
M" !R?B9+>,;EV 0Q  !_YP( %               @ %>&0$ <F5X+3(P,3<P
A-S,Q7W!R92YX;6Q02P4&      8 !@"$ 0  E$H!

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