Update 531.py

145 and 176 had an extra () before raw_input and at the end