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 = input()
  x, y = list(map(int, input().split()))
  dx = []
  dy = []
  first = True
  move = 0
  xf = 0
  dir = 0
  
  for i in s:
      if i == "F":
          move += 1
      else:
          if first:
              xf = move
              first = False
          else:
              if dir % 2 == 0:
                  dx.append(move)
              else:
                  dy.append(move)
          dir += 1
          move = 0
  if dir % 2 == 0:
      dx.append(move)
  else:
      dy.append(move)
  cx = 0
  cy = 0
  x -= xf
  for i in sorted(dx, reverse=True):
      if x > cx:
          cx += i
      else:
          cx -= i
  
  for i in sorted(dy, reverse=True):
      if y > cy:
          cy += i
      else:
          cy -= i
  # print(sorted(dx,reverse=True),sorted(dy,reverse=True))
  if cx == x and cy == y:
      print("Yes")
  else:
      print("No")
  
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"}]