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 collections
  import itertools
  
  s = list(map(str, input()))
  g = list(map(lambda x: int(x), input().split()))
  
  seq = ("R", "L")
  
  ans = False
  
  count_dict = collections.Counter(s)
  
  g_sum = abs(g[0]) + abs(g[1])
  if g_sum > count_dict["F"]:
      print("No")
  else:
      patterns = list(itertools.product(seq, repeat=count_dict["T"]))
  
      for _p in patterns:
          i = 0
          m = [0, 0]
          n = 3
          for _s in s:
              if _s == "F":
                  if n == 3:
                      m[0] = m[0] + 1
                  elif n == 1:
                      m[0] = m[0] - 1
                  elif n == 0:
                      m[1] = m[1] + 1
                  elif n == 2:
                      m[1] = m[1] - 1
              else:
                  i = i + 1
                  if _p[i - 1] == "R":
                      if n == 0:
                          n = 3
                      else:
                          n = n - 1
                  elif _p[i - 1] == "L":
                      if n == 3:
                          n = 0
                      else:
                          n = n + 1
  
          if m[0] == g[0] and m[1] == g[1]:
              ans = True
              break
  
      if ans:
          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"}]