Python Arithmetic Operators Hackerrank Solution C