output_description: If the product is odd, print `Odd`; if it is even, print `Even`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      a b
attempt: n, k = map(int, input().split())
  l = [input().split() for _ in range(n)]
  b = [[0] * k for _ in range(k)]
  w = [[0] * k for _ in range(k)]
  anb = [[0] * k for _ in range(k)]
  anw = [[0] * k for _ in range(k)]
  ans = 0
  i = 0
  while i < n:
      m = (((int(l[i][0])) // k) + ((int(l[i][1])) // k)) % 2
      if m == 0 and str(l[i][2]) == "W":
          w[int(l[i][0]) % k][int(l[i][1]) % k] += 1
      elif m == 1 and str(l[i][2]) == "B":
          b[int(l[i][0]) % k][int(l[i][1]) % k] += 1
      elif m == 1 and str(l[i][2]) == "W":
          anw[int(l[i][0]) % k][int(l[i][1]) % k] += 1
      else:
          anb[int(l[i][0]) % k][int(l[i][1]) % k] += 1
  
  from numpy import matrix
  
  w = matrix(w)
  b = matrix(b)
  anw = matrix(anw)
  anb = matrix(anb)
  
  for a in range(0, k):
      for b in range(0, k):
          total = (
              w[a:k][b:k].sum()
              + anw[0:a][0:b].sum()
              + b[a:k][b:k].sum()
              + anb[0:a][0:b].sum()
          )
          ans = max(ans, total, n - total)
  print(ans)
  
problem_description: Statement
  
  AtCoDeer the deer found two positive integers, a and b. Determine whether the
  product of a and b is even or odd.
samples: [{"input": "3 4", "output": "Even\n    \n\nAs 3 \u00d7 4 = 12 is even, print `Even`.\n\n* * *"}, {"input": "1 21", "output": "Odd\n    \n\nAs 1 \u00d7 21 = 21 is odd, print `Odd`."}]