output_description: Print the largest value among A+B, A-B and A \times B.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A B
attempt: N = int(input())
  S = input()
  East = [0] * (N)
  if S[0] == "E":
      East[0] = 1
  for i in range(N - 1):
      if i == N - 1:
          break
      if S[i + 1] == "E":
          East[i + 1] = East[i] + 1
      else:
          East[i + 1] = East[i]
  # print(East)
  result = East[N - 1] - East[1]
  for i in range(1, N):
      if i == N - 1:
          ans = (i - 1) - East[i - 2]
      elif i == 1:
          ans = East[N - 1] - East[i + 1]
      else:
          right_E = East[N - 1] - East[i + 1]
          left_W = (i - 1) - East[i - 2]
          ans = right_E + left_W
      if result > ans:
          result = ans
          # print(i)
  print(result)
  
problem_description: Statement
  
  You are given two integers A and B. Find the largest value among A+B, A-B and
  A \times B.
samples: [{"input": "3 1", "output": "4\n    \n\n3+1=4, 3-1=2 and 3 \\times 1=3. The largest among them is 4.\n\n* * *"}, {"input": "4 -2", "output": "6\n    \n\nThe largest is 4 - (-2) = 6.\n\n* * *"}, {"input": "0 0", "output": "0"}]