Also, you don't need to input the number of soldiers in the unit. You're supposed to input the number of units to create. So, if you want 1 unit of Spartans, you only need to type in 1.