CONVERTIBLE PREFERRED STOCK (Tables)
6 Months Ended
Jan. 31, 2017
Temporary Equity Disclosure [Abstract]  
Schedule of Convertible Preferred Stock
Series A Convertible Preferred Stock, Series B Convertible Preferred Stock, Series C Convertible Preferred Stock, Series D Convertible Preferred Stock and Series E Convertible Preferred Stock (collectively the “Convertible Preferred Stock”) outstanding consisted of the following as of July 31, 2016 and as of immediately prior to the automatic conversion of the Convertible Preferred Stock into Class B common stock:
 
 
 
Shares
Authorized
 
Shares
Issued and
Outstanding
 
Aggregate
Liquidation
Preference
 
 
 
 
 
(In thousands)
Series A
28,165,300

 
27,396,198

 
$
15,494

Series B
16,558,441

 
16,558,441

 
25,250

Series C
7,683,710

 
7,683,710

 
33,000

Series D
13,912,438

 
13,857,438

 
151,500

Series E
11,943,420

 
10,823,724

 
145,000

 
78,263,309


76,319,511


$
370,244