Fixed stupid bug in 2013 Qualification A

a.py works fine now.