How to read stdin to a 2d python array of integers?,a.fromlist([int(val) for val in stdin.read().split()])