Update 531.py

exit() doesn't need it's own line.