output_description: Print `Yes` if the string `CF` can be obtained from the string s by deleting
  some characters. Otherwise print `No`.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      s
attempt: k_t = input().split()
  k = int(k_t[0])
  t = int(k_t[1])
  t_amount = input().split(" ")
  
  while True:
      if t == 1:
          max = k
          break
      max = 0
      for i in range(t - 1):
          if t_amount[i + 1] >= t_amount[i]:
              max = t_amount[i + 1]
          elif max == 0:
              max = t_amount[0]
      t_amount.remove(max)
  
      max2 = 0
      for i in range(t - 2):
          if t_amount[i + 1] >= t_amount[i]:
              max2 = t_amount[i + 1]
          elif max2 == 0:
              max2 = t_amount[0]
      t_amount.remove(max2)
      if max2 == "0":
          break
      else:
          max = int(max) - 1
          max2 = int(max2) - 1
          t_amount.append(str(max))
          t_amount.append(str(max2))
  
  if max == "0":
      print(0)
  else:
      print(int(max) - 1)
  
problem_description: Statement
  
  This contest is `CODEFESTIVAL`, which can be shortened to the string `CF` by
  deleting some characters.
  
  Mr. Takahashi, full of curiosity, wondered if he could obtain `CF` from other
  strings in the same way.
  
  You are given a string s consisting of uppercase English letters. Determine
  whether the string `CF` can be obtained from the string s by deleting some
  characters.
samples: [{"input": "CODEFESTIVAL", "output": "Yes\n    \n\n`CF` is obtained by deleting characters other than the first character `C` and\nthe fifth character `F`.\n\n* * *"}, {"input": "FESTIVALCODE", "output": "No\n    \n\n`FC` can be obtained but `CF` cannot be obtained because you cannot change the\norder of the characters.\n\n* * *"}, {"input": "CF", "output": "Yes\n    \n\nIt is also possible not to delete any characters.\n\n* * *"}, {"input": "FCF", "output": "Yes\n    \n\n`CF` is obtained by deleting the first character."}]