output_description: Print x rounded up to the nearest integer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      a b
attempt: s = str(input())
  x, y = map(int, input().split())
  y = abs(y)
  a = 0
  b = 0
  adjust = 0
  forward = 1
  flag = "Yes"
  for i in range(0, int(len(s))):
      if s[i] == "F":
          if forward == 1:
              a += 1
          else:
              b += 1
      else:
          forward *= -1
  if s[0] == "F":
      adjust = 2
  if (x >= 0 and a < x) or (x < 0 and a - adjust < -x):
      flag = "No"
  x = abs(x)
  if a % 2 != x % 2 or b < y or b % 2 != y % 2:
      flag = "No"
  print(flag)
  
problem_description: Statement
  
  You are given two positive integers a and b. Let x be the average of a and b.
  Print x rounded up to the nearest integer.
samples: [{"input": "1 3", "output": "2\n    \n\nThe average of 1 and 3 is 2.0, and it will be rounded up to the nearest\ninteger, 2.\n\n* * *"}, {"input": "7 4", "output": "6\n    \n\nThe average of 7 and 4 is 5.5, and it will be rounded up to the nearest\ninteger, 6.\n\n* * *"}, {"input": "5 5", "output": "5"}]