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: # import time
  
  nk = [int(x) for x in input().strip().split()]
  d = []
  for i in range(nk[0]):
      d_tmp = input().strip().split()
      d.append([int(d_tmp[0]), int(d_tmp[1]), int(d_tmp[2] == "B")])
  
  n1 = nk[0]
  k1 = nk[1]
  
  check_x = [0] * n1 * 4
  check_y = [0] * n1 * 4
  for i in range(n1):
      check_x[i * 4 + 1] = d[i][0] - k1 + 1
      check_x[i * 4 + 2] = d[i][0]
      check_y[i * 4 + 1] = d[i][1] - k1 + 1
      check_y[i * 4 + 2] = d[i][1]
  check_x = list(set(check_x))
  check_y = list(set(check_y))
  
  # d = tuple(d)
  n = 0
  # t = time.clock()
  # for i in range(k1):
  #    for j in range(k1):
  for i in check_x:
      for j in check_y:
          n_tmp = [0, 0]
          for k in range(n1):
              x = (d[k][0] - i) // k1 % 2
              y = (d[k][1] - j) // k1 % 2
              #            if x == y:
              #                n_tmp[1 - d[k][2]] += 1
              #            else:
              #                n_tmp[d[k][2]] += 1
              n_tmp[(x == y) ^ d[k][2]] += 1
          if n_tmp[0] > n:
              n = n_tmp[0]
          if n_tmp[1] > n:
              n = n_tmp[1]
  # print(time.clock() - t)
  print(n)
  
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`."}]