title: python int object not iterable error while trying to run the below code
body: <pre><code>import sys
  import itertools
  arr = [[int(arr_temp) for arr_temp in input().strip().split(' ')] for _ in range(6)]  
  print(max([sum(arr[i][j:j+3])+sum(arr[i+1][j+1])+sum(arr[i+2][j:j+3]) for i, j in itertools.product(range(4), repeat=2)]))
  </code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>Traceback (most recent call last):
    File "solution.py", line 6, in &lt;module&gt;
      print(max([sum(arr[i][j:j+3])+sum(arr[i+1][j+1])+sum(arr[i+2][j:j+3]) for i, j in itertools.product(range(4), repeat=2)]))
    File "solution.py", line 6, in &lt;listcomp&gt;
      print(max([sum(arr[i][j:j+3])+sum(arr[i+1][j+1])+sum(arr[i+2][j:j+3]) for i, j in itertools.product(range(4), repeat=2)]))
  TypeError: 'int' object is not iterable
  </code></pre>