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: import math
  
  s = list(input().split("T"))
  sn = []
  
  for i in range(len(s)):
      sn.append(len(s[i]))
  
  x, y = map(int, input().split(" "))
  x = x - sn[0]
  
  snx = []
  sny = []
  
  for i in range(2, len(sn), 2):
      snx.append(sn[i])
  
  for i in range(1, len(sn), 2):
      sny.append(sn[i])
  
  # X軸判定
  xflg = 0
  ansx = []
  prex = [0]
  for i in range(len(snx)):
      tmpx = set()
      for j in prex:
          tmpx.add(j + snx[i])
          tmpx.add(j - snx[i])
      prex = tmpx
  
  if x in tmpx:
      xflg = 1
  
  # y軸判定
  yflg = 0
  prey = [0]
  for i in range(len(sny)):
      tmpy = set()
      for j in prey:
          tmpy.add(j + sny[i])
          tmpy.add(j - sny[i])
      prey = tmpy
  
  if y in tmpy:
      yflg = 1
  
  if xflg == 1 and yflg == 1:
      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"}]