I noticed that most of times using sys.stdin to take input is pretty much faster than using input(),
Example : (simple code to sum lines of integers)
f