used input() instead of int(raw_input())

No need to use the complicated raw_input() and converting the string to int again. We can Directly use input()