John has 6*30=<<6*30=180>>180 students

So he bought 180*2=<<180*2=360>>360 packs

# Answer

360
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John buys 2 packs of index cards for all his students.  He has 6 classes and 30 students in each class.  How many packs did he buy?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
360
John buys 2 packs of index cards for all his students.  He has 6 classes and 30 students in each class.  How many packs did he buy?
train