My program has to run in less than a minute. Can anyone help make my code efficient?

Printable View