Changed raw_input() to input() due to the difference between python 2.7 and python 3.4