human
How to read stdin to a 2d python array of integers?
assistant
Here is some code to create array `a` containing integers from stdin

a.fromlist([int(val) for val in stdin.read().split()])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.