Please post the link to the question in your query. Otherwise we cannot help.
The problem stated “to verify whether the method you are using to read input data is sufficiently fast”.
Try fast input methods.
Use int(raw_input()) instead of input() as input is considerably slower.