node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 0, 13, 4, 13, 14, 2, 40, 17, 4, 18, 13, 13, 17, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 33, 2 ], [ 34, 11 ], [ 34, 17 ], [ 34, 22 ], [ 33, 34 ] ]
[ "s = input()\nif 0 <= s.find(\"C\") < (s.find(\"F\") or s.find(\"F\", 2)):\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "if 0 <= s.find(\"C\") < (s.find(\"F\") or s.find(\"F\", 2)):\n print(\"Yes\")\nelse:\n print(\"No\")", "0 <= s.find(\"C\") < (s.find(\"F\") or s.find(\"F\", 2))", "0 <= s.find(\"C\")", "0", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "s.find(\"F\") or s.find(\"F\", 2)", "s.find(\"F\")", "s.find", "s", "find", "\"F\"", "s.find(\"F\", 2)", "s.find", "s", "find", "\"F\"", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
s = input() if 0 <= s.find("C") < (s.find("F") or s.find("F", 2)): print("Yes") else: print("No")
[ 7, 12, 13, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 4, 13, 4, 18, 4, 13, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 0, 13, 18, 13, 13, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 14, 13 ], [ 6, 19 ], [ 24, 23 ], [ 27, 26 ], [ 13, 31 ], [ 23, 35 ], [ 43, 35 ], [ 13, 39 ], [ 26, 40 ], [ 44, 43 ], [ 13, 45 ], [ 26, 46 ], [ 23, 50 ], [ 43, 50 ], [ 13, 54 ], [ 26, 55 ], [ 73, 70 ] ]
[ "def slove():\n import sys\n input = sys.stdin.readline\n s = str(input().rstrip('\\n'))\n ss = \"\"\n for i in range(len(s)):\n if ss == \"\" and s[i] == \"C\":\n ss = s[i]\n elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")\n\n\nif __name__ == '__main__':\n slove()", "def slove():\n import sys\n input = sys.stdin.readline\n s = str(input().rstrip('\\n'))\n ss = \"\"\n for i in range(len(s)):\n if ss == \"\" and s[i] == \"C\":\n ss = s[i]\n elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")", "slove", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "s = str(input().rstrip('\\n'))", "s", "str(input().rstrip('\\n'))", "str", "input().rstrip('\\n')", "().rstrip", "()", "input", "rstrip", "'\\n'", "ss = \"\"", "ss", "\"\"", "for i in range(len(s)):\n if ss == \"\" and s[i] == \"C\":\n ss = s[i]\n elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if ss == \"\" and s[i] == \"C\":\n ss = s[i]\n elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "ss == \"\" and s[i] == \"C\"", "ss == \"\"", "ss", "\"\"", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "ss = s[i]", "ss", "s[i]", "s", "i", "elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "ss == \"C\" and s[i] == \"F\"", "ss == \"C\"", "ss", "\"C\"", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "if __name__ == '__main__':\n slove()", "__name__ == '__main__'", "__name__", "'__main__'", "slove()", "slove", "def slove():\n import sys\n input = sys.stdin.readline\n s = str(input().rstrip('\\n'))\n ss = \"\"\n for i in range(len(s)):\n if ss == \"\" and s[i] == \"C\":\n ss = s[i]\n elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")", "def slove():\n import sys\n input = sys.stdin.readline\n s = str(input().rstrip('\\n'))\n ss = \"\"\n for i in range(len(s)):\n if ss == \"\" and s[i] == \"C\":\n ss = s[i]\n elif ss == \"C\" and s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")", "slove" ]
def slove(): import sys input = sys.stdin.readline s = str(input().rstrip('\n')) ss = "" for i in range(len(s)): if ss == "" and s[i] == "C": ss = s[i] elif ss == "C" and s[i] == "F": print("Yes") exit() print("No") if __name__ == '__main__': slove()
[ 7, 0, 13, 4, 13, 0, 13, 17, 14, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 0, 13, 17, 4, 13, 8, 2, 13, 17, 17, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 43, 2 ], [ 40, 6 ], [ 44, 13 ], [ 44, 16 ], [ 44, 20 ], [ 44, 25 ], [ 46, 29 ], [ 47, 35 ], [ 41, 35 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "s = input()\nflag = False\nif 'C' in s and 'F' in s and s.index('C') < s.rindex('F'):\n flag = True\nprint('Yes' if flag == True else 'No')", "s = input()", "s", "input()", "input", "flag = False", "flag", "False", "if 'C' in s and 'F' in s and s.index('C') < s.rindex('F'):\n flag = True", "'C' in s and 'F' in s and s.index('C') < s.rindex('F')", "'C' in s and 'F' in s", "'C' in s", "'C'", "s", "'F' in s", "'F'", "s", "s.index('C') < s.rindex('F')", "s.index('C')", "s.index", "s", "index", "'C'", "s.rindex('F')", "s.rindex", "s", "rindex", "'F'", "flag = True", "flag", "True", "print('Yes' if flag == True else 'No')", "print", "'Yes' if flag == True else 'No'", "flag == True", "flag", "True", "'Yes'", "'No'", "flag = False", "False", "flag", "s = input()", "input()", "s", "flag = True", "True", "flag" ]
s = input() flag = False if 'C' in s and 'F' in s and s.index('C') < s.rindex('F'): flag = True print('Yes' if flag == True else 'No')
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 29, 17, 42, 2, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 13, 17, 29, 17, 0, 13, 17, 4, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 4, 11 ], [ 16, 15 ], [ 4, 18 ], [ 8, 24 ], [ 15, 27 ], [ 8, 36 ], [ 52, 36 ], [ 4, 39 ], [ 4, 43 ], [ 8, 44 ], [ 52, 44 ], [ 53, 52 ], [ 61, 58 ] ]
[ "def main():\n s=input()\n x = s.find(\"C\")\n y = s.find(\"F\")\n if x<0 or y<0:\n print(\"No\")\n return 0\n while x<len(s):\n if s[x]==\"F\":\n print(\"Yes\")\n return 0\n x+=1\n print(\"No\")\n \n\n \nmain()", "def main():\n s=input()\n x = s.find(\"C\")\n y = s.find(\"F\")\n if x<0 or y<0:\n print(\"No\")\n return 0\n while x<len(s):\n if s[x]==\"F\":\n print(\"Yes\")\n return 0\n x+=1\n print(\"No\")\n \n\n ", "main", "s=input()", "s", "input()", "input", "x = s.find(\"C\")", "x", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "y = s.find(\"F\")", "y", "s.find(\"F\")", "s.find", "s", "find", "\"F\"", "if x<0 or y<0:\n print(\"No\")\n return 0\n ", "x<0 or y<0", "x<0", "x", "0", "y<0", "y", "0", "print(\"No\")", "print", "\"No\"", "return 0", "0", "while x<len(s):\n if s[x]==\"F\":\n print(\"Yes\")\n return 0\n x+=1\n ", "x<len(s)", "x", "len(s)", "len", "s", "if s[x]==\"F\":\n print(\"Yes\")\n return 0\n ", "s[x]==\"F\"", "s[x]", "s", "x", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "return 0", "0", "x+=1", "x", "1", "print(\"No\")", "print", "\"No\"", "main()", "main", "def main():\n s=input()\n x = s.find(\"C\")\n y = s.find(\"F\")\n if x<0 or y<0:\n print(\"No\")\n return 0\n while x<len(s):\n if s[x]==\"F\":\n print(\"Yes\")\n return 0\n x+=1\n print(\"No\")\n \n\n ", "def main():\n s=input()\n x = s.find(\"C\")\n y = s.find(\"F\")\n if x<0 or y<0:\n print(\"No\")\n return 0\n while x<len(s):\n if s[x]==\"F\":\n print(\"Yes\")\n return 0\n x+=1\n print(\"No\")\n \n\n ", "main" ]
def main(): s=input() x = s.find("C") y = s.find("F") if x<0 or y<0: print("No") return 0 while x<len(s): if s[x]=="F": print("Yes") return 0 x+=1 print("No") main()
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 28, 13, 4, 13, 2, 4, 13, 13, 13, 14, 2, 18, 13, 2, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 64, 2 ], [ 70, 6 ], [ 10, 9 ], [ 65, 14 ], [ 65, 18 ], [ 9, 19 ], [ 61, 22 ], [ 62, 27 ], [ 71, 27 ], [ 31, 30 ], [ 65, 36 ], [ 65, 41 ], [ 30, 43 ], [ 67, 47 ], [ 68, 52 ], [ 62, 52 ], [ 71, 52 ], [ 61, 62 ], [ 64, 65 ], [ 67, 68 ], [ 70, 71 ] ]
[ "S = input ()\nx = 0\nfor i in range (len(S)):\n if S[i] == 'C':\n x = 1\n break\nif x == 1:\n for j in range (len(S)-i):\n if S[j+i] == 'F':\n x = 2\n break\nif x == 2:\n print ('Yes')\nelse:\n print ('No')", "S = input ()", "S", "input ()", "input", "x = 0", "x", "0", "for i in range (len(S)):\n if S[i] == 'C':\n x = 1\n break", "i", "range (len(S))", "range", "len(S)", "len", "S", "if S[i] == 'C':\n x = 1\n break", "S[i] == 'C'", "S[i]", "S", "i", "'C'", "x = 1", "x", "1", "break", "if x == 1:\n for j in range (len(S)-i):\n if S[j+i] == 'F':\n x = 2\n break", "x == 1", "x", "1", "for j in range (len(S)-i):\n if S[j+i] == 'F':\n x = 2\n break", "j", "range (len(S)-i)", "range", "len(S)-i", "len(S)", "len", "S", "i", "if S[j+i] == 'F':\n x = 2\n break", "S[j+i] == 'F'", "S[j+i]", "S", "j+i", "j", "i", "'F'", "x = 2", "x", "2", "break", "if x == 2:\n print ('Yes')\nelse:\n print ('No')", "x == 2", "x", "2", "print ('Yes')", "print", "'Yes'", "print ('No')", "print", "'No'", "x = 1", "1", "x", "S = input ()", "input ()", "S", "x = 2", "2", "x", "x = 0", "0", "x" ]
S = input () x = 0 for i in range (len(S)): if S[i] == 'C': x = 1 break if x == 1: for j in range (len(S)-i): if S[j+i] == 'F': x = 2 break if x == 2: print ('Yes') else: print ('No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 17, 14, 40, 13, 17, 14, 40, 4, 18, 18, 13, 39, 2, 13, 17, 13, 17, 17, 0, 13, 17, 14, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 50, 6 ], [ 54, 9 ], [ 44, 13 ], [ 51, 17 ], [ 54, 24 ], [ 51, 27 ], [ 47, 33 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "s = input()\nisC = s.find('C')\nret = False\nif( isC != -1):\n if( s[isC+1:].find('F') != -1):\n ret = True\nif ret:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "isC = s.find('C')", "isC", "s.find('C')", "s.find", "s", "find", "'C'", "ret = False", "ret", "False", "if( isC != -1):\n if( s[isC+1:].find('F') != -1):\n ret = True", "isC != -1", "isC", "-1", "if( s[isC+1:].find('F') != -1):\n ret = True", "s[isC+1:].find('F') != -1", "s[isC+1:].find('F')", "[isC+1:].find", "[isC+1:]", "s", "isC+1:", "isC+1", "isC", "1", "find", "'F'", "-1", "ret = True", "ret", "True", "if ret:\n print('Yes')\nelse:\n print('No')", "ret", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "ret = False", "False", "ret", "ret = True", "True", "ret", "isC = s.find('C')", "s.find('C')", "isC", "s = input()", "input()", "s" ]
s = input() isC = s.find('C') ret = False if( isC != -1): if( s[isC+1:].find('F') != -1): ret = True if ret: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 28, 13, 4, 13, 13, 4, 13, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 60, 2 ], [ 57, 8 ], [ 12, 11 ], [ 61, 16 ], [ 61, 20 ], [ 11, 21 ], [ 66, 24 ], [ 29, 28 ], [ 61, 34 ], [ 61, 39 ], [ 28, 40 ], [ 63, 43 ], [ 64, 48 ], [ 67, 48 ], [ 58, 48 ], [ 57, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ] ]
[ "s = str(input())\nflag = 0\nfor i in range(len(s)):\n if s[i] == \"C\":\n flag += 1\n break\nfor j in range(i,len(s),1):\n if s[j] == \"F\":\n flag += 1\n break\nif flag==2:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = str(input())", "s", "str(input())", "str", "input()", "input", "flag = 0", "flag", "0", "for i in range(len(s)):\n if s[i] == \"C\":\n flag += 1\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n flag += 1\n break", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "flag += 1", "flag", "1", "break", "for j in range(i,len(s),1):\n if s[j] == \"F\":\n flag += 1\n break", "j", "range(i,len(s),1)", "range", "i", "len(s)", "len", "s", "1", "if s[j] == \"F\":\n flag += 1\n break", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "flag += 1", "flag", "1", "break", "if flag==2:\n print(\"Yes\")\nelse:\n print(\"No\")", "flag==2", "flag", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "flag = 0", "0", "flag", "s = str(input())", "str(input())", "s", "flag += 1", "1", "flag", "flag += 1", "1", "flag" ]
s = str(input()) flag = 0 for i in range(len(s)): if s[i] == "C": flag += 1 break for j in range(i,len(s),1): if s[j] == "F": flag += 1 break if flag==2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 44, 2 ], [ 41, 6 ], [ 10, 9 ], [ 45, 14 ], [ 45, 18 ], [ 9, 19 ], [ 47, 22 ], [ 42, 26 ], [ 48, 26 ], [ 45, 29 ], [ 9, 30 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "s = input()\nC = False\n\nfor i in range(len(s)):\n if s[i] == \"C\":\n C = True\n elif C and s[i] == \"F\":\n print(\"Yes\")\n exit()\n\nprint(\"No\")", "s = input()", "s", "input()", "input", "C = False", "C", "False", "for i in range(len(s)):\n if s[i] == \"C\":\n C = True\n elif C and s[i] == \"F\":\n print(\"Yes\")\n exit()", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n C = True\n elif C and s[i] == \"F\":\n print(\"Yes\")\n exit()", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "C = True", "C", "True", "elif C and s[i] == \"F\":\n print(\"Yes\")\n exit()", "C and s[i] == \"F\"", "C", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "C = False", "False", "C", "s = input()", "input()", "s", "C = True", "True", "C" ]
s = input() C = False for i in range(len(s)): if s[i] == "C": C = True elif C and s[i] == "F": print("Yes") exit() print("No")
[ 7, 15, 13, 12, 13, 12, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 13, 4, 13, 17, 3, 4, 13, 17, 10, 17, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13, 10, 17, 13 ]
[ [ 53, 15 ], [ 57, 19 ], [ 47, 21 ], [ 25, 24 ], [ 54, 24 ], [ 24, 28 ], [ 59, 31 ], [ 24, 36 ], [ 60, 38 ], [ 48, 38 ], [ 47, 48 ], [ 53, 54 ], [ 59, 60 ] ]
[ "import sys\ndef input(): return sys.stdin.readline().strip()\ndef mapint(): return map(int, input().split())\nsys.setrecursionlimit(10**9)\n\nS = list(input())\nc_ok = False\nfor s in S:\n if s=='C':\n c_ok = True\n if s=='F' and c_ok:\n print('Yes')\n break\nelse:\n print('No')", "import sys", "sys", "def input(): return sys.stdin.readline().strip()", "input", "def mapint(): return map(int, input().split())", "mapint", "sys.setrecursionlimit(10**9)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10**9", "10", "9", "S = list(input())", "S", "list(input())", "list", "input()", "input", "c_ok = False", "c_ok", "False", "for s in S:\n if s=='C':\n c_ok = True\n if s=='F' and c_ok:\n print('Yes')\n break\nelse:\n print('No')", "s", "S", "if s=='C':\n c_ok = True\n ", "s=='C'", "s", "'C'", "c_ok = True", "c_ok", "True", "if s=='F' and c_ok:\n print('Yes')\n break", "s=='F' and c_ok", "s=='F'", "s", "'F'", "c_ok", "print('Yes')", "print", "'Yes'", "break", "print('No')", "print", "'No'", "c_ok = False", "False", "c_ok", "def mapint(): return map(int, input().split())", "def mapint(): return map(int, input().split())", "mapint", "S = list(input())", "list(input())", "S", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input", "c_ok = True", "True", "c_ok" ]
import sys def input(): return sys.stdin.readline().strip() def mapint(): return map(int, input().split()) sys.setrecursionlimit(10**9) S = list(input()) c_ok = False for s in S: if s=='C': c_ok = True if s=='F' and c_ok: print('Yes') break else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 13, 13, 10, 13, 13 ]
[ [ 63, 2 ], [ 66, 8 ], [ 60, 11 ], [ 15, 14 ], [ 64, 19 ], [ 64, 23 ], [ 14, 24 ], [ 69, 27 ], [ 14, 28 ], [ 64, 32 ], [ 14, 33 ], [ 72, 36 ], [ 14, 37 ], [ 70, 41 ], [ 67, 41 ], [ 73, 44 ], [ 61, 44 ], [ 70, 51 ], [ 67, 51 ], [ 73, 52 ], [ 61, 52 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ], [ 14, 69 ], [ 69, 70 ], [ 14, 72 ], [ 72, 73 ] ]
[ "s = list(input())\n\nsc = -1\nsf = -1\n\nfor i in range(len(s)):\n if s[i] == \"C\":\n sc = i\n elif s[i] == \"F\":\n sf = i\n\nif (sc == -1) or (sf == -1):\n print(\"No\")\nelif sc < sf:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = list(input())", "s", "list(input())", "list", "input()", "input", "sc = -1", "sc", "-1", "sf = -1", "sf", "-1", "for i in range(len(s)):\n if s[i] == \"C\":\n sc = i\n elif s[i] == \"F\":\n sf = i", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n sc = i\n elif s[i] == \"F\":\n sf = i", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "sc = i", "sc", "i", "elif s[i] == \"F\":\n sf = i", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "sf = i", "sf", "i", "if (sc == -1) or (sf == -1):\n print(\"No\")\nelif sc < sf:\n print(\"Yes\")\nelse:\n print(\"No\")", "(sc == -1) or (sf == -1)", "sc == -1", "sc", "-1", "sf == -1", "sf", "-1", "print(\"No\")", "print", "\"No\"", "elif sc < sf:\n print(\"Yes\")", "sc < sf", "sc", "sf", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "sf = -1", "-1", "sf", "s = list(input())", "list(input())", "s", "sc = -1", "-1", "sc", "sc = i", "i", "sc", "sf = i", "i", "sf" ]
s = list(input()) sc = -1 sf = -1 for i in range(len(s)): if s[i] == "C": sc = i elif s[i] == "F": sf = i if (sc == -1) or (sf == -1): print("No") elif sc < sf: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 4, 13, 8, 2, 40, 13, 17, 2, 13, 13, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 38, 2 ], [ 32, 6 ], [ 39, 9 ], [ 35, 13 ], [ 39, 16 ], [ 33, 24 ], [ 33, 27 ], [ 36, 28 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "S = input()\ni1 = S.find('C')\ni2 = S.rfind('F') \nprint('Yes' if i1!=-1 and i1<i2 else 'No')", "S = input()", "S", "input()", "input", "i1 = S.find('C')", "i1", "S.find('C')", "S.find", "S", "find", "'C'", "i2 = S.rfind('F')", "i2", "S.rfind('F')", "S.rfind", "S", "rfind", "'F'", "print('Yes' if i1!=-1 and i1<i2 else 'No')", "print", "'Yes' if i1!=-1 and i1<i2 else 'No'", "i1!=-1 and i1<i2", "i1!=-1", "i1", "-1", "i1<i2", "i1", "i2", "'Yes'", "'No'", "i1 = S.find('C')", "S.find('C')", "i1", "i2 = S.rfind('F')", "S.rfind('F')", "i2", "S = input()", "input()", "S" ]
S = input() i1 = S.find('C') i2 = S.rfind('F') print('Yes' if i1!=-1 and i1<i2 else 'No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 3, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 41, 6 ], [ 35, 9 ], [ 13, 12 ], [ 45, 12 ], [ 12, 16 ], [ 38, 19 ], [ 39, 23 ], [ 42, 23 ], [ 12, 25 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "s=input()\nc=False\nf=False\nfor ch in s:\n if ch==\"C\":\n c=True\n if c and ch==\"F\":\n print(\"Yes\")\n break\nelse:\n print(\"No\")", "s=input()", "s", "input()", "input", "c=False", "c", "False", "f=False", "f", "False", "for ch in s:\n if ch==\"C\":\n c=True\n if c and ch==\"F\":\n print(\"Yes\")\n break\nelse:\n print(\"No\")", "ch", "s", "if ch==\"C\":\n c=True\n ", "ch==\"C\"", "ch", "\"C\"", "c=True", "c", "True", "if c and ch==\"F\":\n print(\"Yes\")\n break", "c and ch==\"F\"", "c", "ch==\"F\"", "ch", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "break", "print(\"No\")", "print", "\"No\"", "f=False", "False", "f", "c=True", "True", "c", "c=False", "False", "c", "s=input()", "input()", "s" ]
s=input() c=False f=False for ch in s: if ch=="C": c=True if c and ch=="F": print("Yes") break else: print("No")
[ 7, 0, 13, 17, 28, 13, 4, 13, 14, 2, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 18, 17, 39, 40, 13, 17, 17, 10, 17, 13 ]
[ [ 28, 2 ], [ 6, 5 ], [ 5, 10 ], [ 29, 14 ], [ 5, 16 ], [ 29, 24 ], [ 28, 29 ] ]
[ "f=0\nfor c in input():\n if c==\"C\":f=1\n if f&(c==\"F\"):f=2\nprint(\"YNeos\"[f!=2::2])", "f=0", "f", "0", "for c in input():\n if c==\"C\":f=1\n if f&(c==\"F\"):f=2", "c", "input()", "input", "if c==\"C\":f=1\n ", "c==\"C\"", "c", "\"C\"", "if f&(c==\"F\"):f=", "f&(c==\"F\")", "f", "c==\"F\"", "c", "\"F\"", "print(\"YNeos\"[f!=2::2])", "print", "\"YNeos\"[f!=2::2]", "\"YNeos\"", "f!=2::2", "f!=2", "f", "2", "2", "f=0", "0", "f" ]
f=0 for c in input(): if c=="C":f=1 if f&(c=="F"):f=2 print("YNeos"[f!=2::2])
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 17, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 38, 2 ], [ 32, 6 ], [ 39, 9 ], [ 35, 13 ], [ 39, 16 ], [ 33, 23 ], [ 36, 24 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "s = input()\na = s.find(\"C\")\nb = s.rfind(\"F\")\n\nif -1 < a < b:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "a = s.find(\"C\")", "a", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "b = s.rfind(\"F\")", "b", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "if -1 < a < b:\n print(\"Yes\")\nelse:\n print(\"No\")", "-1 < a < b", "-1 < a", "-1", "a", "b", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "a = s.find(\"C\")", "s.find(\"C\")", "a", "b = s.rfind(\"F\")", "s.rfind(\"F\")", "b", "s = input()", "input()", "s" ]
s = input() a = s.find("C") b = s.rfind("F") if -1 < a < b: print("Yes") else: print("No")
[ 7, 15, 13, 13, 13, 13, 13, 13, 13, 13, 0, 13, 12, 4, 18, 4, 18, 18, 13, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 12, 13, 12, 13, 12, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 12, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 2, 4, 13, 13, 17, 12, 13, 41, 28, 13, 4, 18, 4, 13, 13, 4, 4, 13, 13, 12, 13, 12, 13, 12, 13, 0, 13, 4, 13, 0, 13, 17, 14, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 17, 18, 13, 39, 13, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 153, 11 ], [ 144, 30 ], [ 43, 42 ], [ 154, 46 ], [ 42, 51 ], [ 57, 56 ], [ 154, 60 ], [ 56, 66 ], [ 73, 72 ], [ 154, 76 ], [ 72, 81 ], [ 90, 89 ], [ 139, 91 ], [ 94, 93 ], [ 89, 98 ], [ 101, 100 ], [ 89, 103 ], [ 89, 110 ], [ 115, 114 ], [ 114, 118 ], [ 93, 118 ], [ 133, 124 ], [ 144, 145 ], [ 153, 154 ] ]
[ "import bisect, collections, copy, heapq, itertools, math, string, sys\ninput = lambda: sys.stdin.readline().rstrip() \nsys.setrecursionlimit(10**7)\nINF = float('inf')\ndef I(): return int(input())\ndef F(): return float(input())\ndef SS(): return input()\ndef LI(): return [int(x) for x in input().split()]\ndef LI_(): return [int(x)-1 for x in input().split()]\ndef LF(): return [float(x) for x in input().split()]\ndef LSS(): return input().split()\n\ndef resolve():\n s = SS()\n\n ans = 'No'\n if 'C' in s:\n idx_c = s.index('C')\n if 'F' in s[idx_c:]:\n ans = 'Yes'\n\n print(ans)\n\nif __name__ == '__main__':\n resolve()", "import bisect, collections, copy, heapq, itertools, math, string, sys", "bisect", "collections", "copy", "heapq", "itertools", "math", "string", "sys", "input = lambda: sys.stdin.readline().rstrip()", "input", "lambda: sys.stdin.readline().rstrip()", "sys.stdin.readline().rstrip()", "sys.stdin.readline().rstrip", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "rstrip", "sys.setrecursionlimit(10**7)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10**7", "10", "7", "INF = float('inf')", "INF", "float('inf')", "float", "'inf'", "def I(): return int(input())", "I", "def F(): return float(input())", "F", "def SS(): return input()", "SS", "int(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)", "int", "x", "def LI(): return [int(x) for x in input().split()]", "LI", "int(x)-1 for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "int(x)-1", "int(x)", "int", "x", "1", "def LI_(): return [int(x)-1 for x in input().split()]", "LI_", "float(x) for x in input().split()", "for x in input().split()", "x", "input().split()", "().split", "()", "input", "split", "for x in input().split()", "float(x)", "float", "x", "def LF(): return [float(x) for x in input().split()]", "LF", "def LSS(): return input().split()", "LSS", "def resolve():\n s = SS()\n\n ans = 'No'\n if 'C' in s:\n idx_c = s.index('C')\n if 'F' in s[idx_c:]:\n ans = 'Yes'\n\n print(ans)", "resolve", "s = SS()", "s", "SS()", "SS", "ans = 'No'", "ans", "'No'", "if 'C' in s:\n idx_c = s.index('C')\n if 'F' in s[idx_c:]:\n ans = 'Yes'\n\n ", "'C' in s", "'C'", "s", "idx_c = s.index('C')", "idx_c", "s.index('C')", "s.index", "s", "index", "'C'", "if 'F' in s[idx_c:]:\n ans = 'Yes'\n\n ", "'F' in s[idx_c:]", "'F'", "s[idx_c:]", "s", "idx_c:", "idx_c", "ans = 'Yes'", "ans", "'Yes'", "print(ans)", "print", "ans", "if __name__ == '__main__':\n resolve()", "__name__ == '__main__'", "__name__", "'__main__'", "resolve()", "resolve", "def LI(): return [int(x) for x in input().split()]", "def LI(): return [int(x) for x in input().split()]", "LI", "def LI_(): return [int(x)-1 for x in input().split()]", "def LI_(): return [int(x)-1 for x in input().split()]", "LI_", "def resolve():\n s = SS()\n\n ans = 'No'\n if 'C' in s:\n idx_c = s.index('C')\n if 'F' in s[idx_c:]:\n ans = 'Yes'\n\n print(ans)", "def resolve():\n s = SS()\n\n ans = 'No'\n if 'C' in s:\n idx_c = s.index('C')\n if 'F' in s[idx_c:]:\n ans = 'Yes'\n\n print(ans)", "resolve", "def I(): return int(input())", "def I(): return int(input())", "I", "def SS(): return input()", "def SS(): return input()", "SS", "def LF(): return [float(x) for x in input().split()]", "def LF(): return [float(x) for x in input().split()]", "LF", "INF = float('inf')", "float('inf')", "INF", "def F(): return float(input())", "def F(): return float(input())", "F", "def LSS(): return input().split()", "def LSS(): return input().split()", "LSS", "input = lambda: sys.stdin.readline().rstrip()", "lambda: sys.stdin.readline().rstrip()", "input" ]
import bisect, collections, copy, heapq, itertools, math, string, sys input = lambda: sys.stdin.readline().rstrip() sys.setrecursionlimit(10**7) INF = float('inf') def I(): return int(input()) def F(): return float(input()) def SS(): return input() def LI(): return [int(x) for x in input().split()] def LI_(): return [int(x)-1 for x in input().split()] def LF(): return [float(x) for x in input().split()] def LSS(): return input().split() def resolve(): s = SS() ans = 'No' if 'C' in s: idx_c = s.index('C') if 'F' in s[idx_c:]: ans = 'Yes' print(ans) if __name__ == '__main__': resolve()
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 28, 13, 4, 13, 2, 13, 17, 4, 13, 13, 14, 2, 18, 13, 13, 17, 8, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13 ]
[ [ 46, 2 ], [ 49, 6 ], [ 10, 9 ], [ 47, 14 ], [ 47, 18 ], [ 9, 19 ], [ 23, 22 ], [ 9, 26 ], [ 47, 30 ], [ 47, 34 ], [ 22, 35 ], [ 50, 38 ], [ 46, 47 ], [ 49, 50 ] ]
[ "#list(map(int, input().split()))\ns=input()\nb=0\nfor i in range(len(s)):\n if s[i] == 'C':\n for j in range(i+1,len(s)):\n if(s[j]=='F'):b=1\nprint('Yes')if b else print('No')", "s=input()", "s", "input()", "input", "b=0", "b", "0", "for i in range(len(s)):\n if s[i] == 'C':\n for j in range(i+1,len(s)):\n if(s[j]=='F'):b=1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == 'C':\n for j in range(i+1,len(s)):\n if(s[j]=='F'):b=1", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "for j in range(i+1,len(s)):\n if(s[j]=='F'):b=1", "j", "range(i+1,len(s))", "range", "i+1", "i", "1", "len(s)", "len", "s", "if(s[", "s[j]=='F'", "s[j]", "s", "j", "'F'", "print('Yes')if b else print('No')", "b", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s=input()", "input()", "s", "b=0", "0", "b" ]
#list(map(int, input().split())) s=input() b=0 for i in range(len(s)): if s[i] == 'C': for j in range(i+1,len(s)): if(s[j]=='F'):b=1 print('Yes')if b else print('No')
[ 7, 0, 13, 4, 13, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 4, 13, 8, 2, 17, 18, 13, 39, 2, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 29, 2 ], [ 30, 10 ], [ 30, 21 ], [ 29, 30 ] ]
[ "S = input()\nfor i,c in enumerate(S):\n if c=='C': break\nprint('Yes' if 'F' in S[i+1:] else 'No')", "S = input()", "S", "input()", "input", "for i,c in enumerate(S):\n if c=='C': break", "i", "c", "enumerate(S)", "enumerate", "S", "if c=='C': b", "c=='C'", "c", "'C'", "print('Yes' if 'F' in S[i+1:] else 'No')", "print", "'Yes' if 'F' in S[i+1:] else 'No'", "'F' in S[i+1:]", "'F'", "S[i+1:]", "S", "i+1:", "i+1", "i", "1", "'Yes'", "'No'", "S = input()", "input()", "S" ]
S = input() for i,c in enumerate(S): if c=='C': break print('Yes' if 'F' in S[i+1:] else 'No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 18, 13, 13, 0, 13, 17, 14, 2, 13, 17, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 42, 2 ], [ 48, 6 ], [ 45, 9 ], [ 13, 12 ], [ 43, 12 ], [ 12, 16 ], [ 49, 18 ], [ 46, 19 ], [ 40, 19 ], [ 39, 21 ], [ 40, 25 ], [ 46, 25 ], [ 40, 30 ], [ 46, 30 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "S = input()\n\ncf = \"CF\"\ni = 0\nfor s in S:\n if s == cf[i]:\n i += 1\n\n if i == 2:\n break\n\nif i == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "S = input()", "S", "input()", "input", "cf = \"CF\"", "cf", "\"CF\"", "i = 0", "i", "0", "for s in S:\n if s == cf[i]:\n i += 1\n\n if i == 2:\n break", "s", "S", "if s == cf[i]:\n i += 1\n\n ", "s == cf[i]", "s", "cf[i]", "cf", "i", "i += 1", "i", "1", "if i == 2:\n break", "i == 2", "i", "2", "break", "if i == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "i == 2", "i", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "i += 1", "1", "i", "S = input()", "input()", "S", "i = 0", "0", "i", "cf = \"CF\"", "\"CF\"", "cf" ]
S = input() cf = "CF" i = 0 for s in S: if s == cf[i]: i += 1 if i == 2: break if i == 2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 47, 2 ], [ 50, 6 ], [ 10, 9 ], [ 48, 9 ], [ 51, 14 ], [ 45, 14 ], [ 54, 14 ], [ 9, 17 ], [ 53, 20 ], [ 54, 25 ], [ 51, 25 ], [ 45, 25 ], [ 9, 28 ], [ 44, 31 ], [ 45, 35 ], [ 54, 35 ], [ 51, 35 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "S = input()\n\na = 0\n\nfor i in S:\n if a == 0 and i == \"C\":\n a += 1\n if a == 1 and i == \"F\":\n a += 1\n \nif a == 2:\n print (\"Yes\")\nelse:\n print (\"No\")", "S = input()", "S", "input()", "input", "a = 0", "a", "0", "for i in S:\n if a == 0 and i == \"C\":\n a += 1\n if a == 1 and i == \"F\":\n a += 1\n ", "i", "S", "if a == 0 and i == \"C\":\n a += 1\n ", "a == 0 and i == \"C\"", "a == 0", "a", "0", "i == \"C\"", "i", "\"C\"", "a += 1", "a", "1", "if a == 1 and i == \"F\":\n a += 1\n ", "a == 1 and i == \"F\"", "a == 1", "a", "1", "i == \"F\"", "i", "\"F\"", "a += 1", "a", "1", "if a == 2:\n print (\"Yes\")\nelse:\n print (\"No\")", "a == 2", "a", "2", "print (\"Yes\")", "print", "\"Yes\"", "print (\"No\")", "print", "\"No\"", "a += 1", "1", "a", "S = input()", "input()", "S", "a = 0", "0", "a", "a += 1", "1", "a" ]
S = input() a = 0 for i in S: if a == 0 and i == "C": a += 1 if a == 1 and i == "F": a += 1 if a == 2: print ("Yes") else: print ("No")
[ 7, 0, 13, 4, 13, 38, 5, 4, 13, 17, 14, 2, 17, 18, 13, 39, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 28, 2 ], [ 29, 14 ], [ 29, 18 ], [ 28, 29 ] ]
[ "s=input()\ntry: \n if \"F\" in s[s.index(\"C\"):]:\n print(\"Yes\")\n else:\n print(\"No\")\n \nexcept:\n print(\"No\")", "s=input()", "s", "input()", "input", "try: \n if \"F\" in s[s.index(\"C\"):]:\n print(\"Yes\")\n else:\n print(\"No\")\n \nexcept:\n print(\"No\")", "except:\n print(\"No\")", "print(\"No\")", "print", "\"No\"", "if \"F\" in s[s.index(\"C\"):]:\n print(\"Yes\")\n else:\n print(\"No\")\n ", "\"F\" in s[s.index(\"C\"):]", "\"F\"", "s[s.index(\"C\"):]", "s", "s.index(\"C\"):", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s=input()", "input()", "s" ]
s=input() try: if "F" in s[s.index("C"):]: print("Yes") else: print("No") except: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 45, 6 ], [ 43, 9 ], [ 12, 11 ], [ 46, 14 ], [ 17, 16 ], [ 11, 19 ], [ 46, 20 ], [ 43, 25 ], [ 11, 26 ], [ 43, 30 ], [ 16, 31 ], [ 42, 43 ], [ 45, 46 ] ]
[ "S = input()\nN = len(S)\nfor i in range(N):\n for j in range(i, N):\n if S[i] == \"C\" and S[j] == \"F\":\n print(\"Yes\")\n exit()\nprint(\"No\")", "S = input()", "S", "input()", "input", "N = len(S)", "N", "len(S)", "len", "S", "for i in range(N):\n for j in range(i, N):\n if S[i] == \"C\" and S[j] == \"F\":\n print(\"Yes\")\n exit()", "i", "range(N)", "range", "N", "for j in range(i, N):\n if S[i] == \"C\" and S[j] == \"F\":\n print(\"Yes\")\n exit()", "j", "range(i, N)", "range", "i", "N", "if S[i] == \"C\" and S[j] == \"F\":\n print(\"Yes\")\n exit()", "S[i] == \"C\" and S[j] == \"F\"", "S[i] == \"C\"", "S[i]", "S", "i", "\"C\"", "S[j] == \"F\"", "S[j]", "S", "j", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "S = input()", "input()", "S", "N = len(S)", "len(S)", "N" ]
S = input() N = len(S) for i in range(N): for j in range(i, N): if S[i] == "C" and S[j] == "F": print("Yes") exit() print("No")
[ 7, 0, 13, 4, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 47, 2 ], [ 50, 10 ], [ 14, 13 ], [ 48, 18 ], [ 48, 22 ], [ 13, 23 ], [ 53, 26 ], [ 54, 30 ], [ 51, 30 ], [ 48, 35 ], [ 13, 36 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "S=list(str(input()))\nc=0\nfor i in range(len(S)):\n if S[i]=='C':\n c=1\n if c==1:\n if S[i]=='F':\n print('Yes')\n exit()\nprint('No')", "S=list(str(input()))", "S", "list(str(input()))", "list", "str(input())", "str", "input()", "input", "c=0", "c", "0", "for i in range(len(S)):\n if S[i]=='C':\n c=1\n if c==1:\n if S[i]=='F':\n print('Yes')\n exit()", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i]=='C':\n c=1\n ", "S[i]=='C'", "S[i]", "S", "i", "'C'", "c=1", "c", "1", "if c==1:\n if S[i]=='F':\n print('Yes')\n exit()", "c==1", "c", "1", "if S[i]=='F':\n print('Yes')\n exit()", "S[i]=='F'", "S[i]", "S", "i", "'F'", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "S=list(str(input()))", "list(str(input()))", "S", "c=0", "0", "c", "c=1", "1", "c" ]
S=list(str(input())) c=0 for i in range(len(S)): if S[i]=='C': c=1 if c==1: if S[i]=='F': print('Yes') exit() print('No')
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 0, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 15, 14 ], [ 18, 17 ], [ 4, 17 ], [ 17, 21 ], [ 25, 24 ], [ 24, 28 ], [ 8, 28 ], [ 17, 30 ], [ 34, 33 ], [ 24, 37 ], [ 8, 37 ], [ 33, 38 ], [ 11, 38 ], [ 53, 50 ] ]
[ "def solve():\n S = input()\n flag_c = False\n flag_f = False\n ans = ''\n for s in S:\n if s == 'C':\n flag_c = True\n if flag_c and s == 'F':\n flag_f = True\n if flag_c and flag_f:\n print('Yes')\n else:\n print('No')\n\n\nif __name__ == \"__main__\":\n solve()", "def solve():\n S = input()\n flag_c = False\n flag_f = False\n ans = ''\n for s in S:\n if s == 'C':\n flag_c = True\n if flag_c and s == 'F':\n flag_f = True\n if flag_c and flag_f:\n print('Yes')\n else:\n print('No')", "solve", "S = input()", "S", "input()", "input", "flag_c = False", "flag_c", "False", "flag_f = False", "flag_f", "False", "ans = ''", "ans", "''", "for s in S:\n if s == 'C':\n flag_c = True\n if flag_c and s == 'F':\n flag_f = True\n ", "s", "S", "if s == 'C':\n flag_c = True\n ", "s == 'C'", "s", "'C'", "flag_c = True", "flag_c", "True", "if flag_c and s == 'F':\n flag_f = True\n ", "flag_c and s == 'F'", "flag_c", "s == 'F'", "s", "'F'", "flag_f = True", "flag_f", "True", "if flag_c and flag_f:\n print('Yes')\n else:\n print('No')", "flag_c and flag_f", "flag_c", "flag_f", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "if __name__ == \"__main__\":\n solve()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "solve()", "solve", "def solve():\n S = input()\n flag_c = False\n flag_f = False\n ans = ''\n for s in S:\n if s == 'C':\n flag_c = True\n if flag_c and s == 'F':\n flag_f = True\n if flag_c and flag_f:\n print('Yes')\n else:\n print('No')", "def solve():\n S = input()\n flag_c = False\n flag_f = False\n ans = ''\n for s in S:\n if s == 'C':\n flag_c = True\n if flag_c and s == 'F':\n flag_f = True\n if flag_c and flag_f:\n print('Yes')\n else:\n print('No')", "solve" ]
def solve(): S = input() flag_c = False flag_f = False ans = '' for s in S: if s == 'C': flag_c = True if flag_c and s == 'F': flag_f = True if flag_c and flag_f: print('Yes') else: print('No') if __name__ == "__main__": solve()
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 13, 14, 2, 2, 18, 13, 13, 18, 13, 13, 17, 13, 4, 13, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 39, 2 ], [ 36, 6 ], [ 40, 9 ], [ 12, 11 ], [ 37, 14 ], [ 17, 16 ], [ 11, 19 ], [ 37, 20 ], [ 40, 25 ], [ 11, 26 ], [ 40, 28 ], [ 16, 29 ], [ 36, 37 ], [ 39, 40 ] ]
[ "s=raw_input()\nl=len(s)\n\nfor i in range(l):\n\tfor j in range(i,l):\n\t\tif s[i]+s[j]==\"CF\":\n\t\t\tprint \"Yes\"\n\t\t\tquit()\nelse:\n\tprint \"No\"", "s=raw_input()", "s", "raw_input()", "raw_input", "l=len(s)", "l", "len(s)", "len", "s", "for i in range(l):\n\tfor j in range(i,l):\n\t\tif s[i]+s[j]==\"CF\":\n\t\t\tprint \"Yes\"\n\t\t\tquit()\nelse:\n\tprint \"No\"", "i", "range(l)", "range", "l", "for j in range(i,l):\n\t\tif s[i]+s[j]==\"CF\":\n\t\t\tprint \"Yes\"\n\t\t\tquit()", "j", "range(i,l)", "range", "i", "l", "if s[i]+s[j]==\"CF\":\n\t\t\tprint \"Yes\"\n\t\t\tquit()", "s[i]+s[j]==\"CF\"", "s[i]+s[j]", "s[i]", "s", "i", "s[j]", "s", "j", "\"CF\"", "print", "quit()", "quit", "print", "l=len(s)", "len(s)", "l", "s=raw_input()", "raw_input()", "s" ]
s=raw_input() l=len(s) for i in range(l): for j in range(i,l): if s[i]+s[j]=="CF": print "Yes" quit() else: print "No"
[ 7, 0, 13, 4, 13, 28, 13, 13, 14, 2, 13, 17, 28, 13, 18, 13, 39, 4, 18, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 35, 2 ], [ 7, 6 ], [ 36, 6 ], [ 6, 10 ], [ 14, 13 ], [ 36, 15 ], [ 36, 19 ], [ 13, 24 ], [ 35, 36 ] ]
[ "s = input()\nfor i in s:\n\tif i ==\"C\":\n\t\tfor j in s[s.index(\"C\"):]:\n\t\t\tif j ==\"F\":\n\t\t\t\tprint(\"Yes\")\n\t\t\t\texit()\n\nprint(\"No\")", "s = input()", "s", "input()", "input", "for i in s:\n\tif i ==\"C\":\n\t\tfor j in s[s.index(\"C\"):]:\n\t\t\tif j ==\"F\":\n\t\t\t\tprint(\"Yes\")\n\t\t\t\texit()", "i", "s", "if i ==\"C\":\n\t\tfor j in s[s.index(\"C\"):]:\n\t\t\tif j ==\"F\":\n\t\t\t\tprint(\"Yes\")\n\t\t\t\texit()", "i ==\"C\"", "i", "\"C\"", "for j in s[s.index(\"C\"):]:\n\t\t\tif j ==\"F\":\n\t\t\t\tprint(\"Yes\")\n\t\t\t\texit()", "j", "s[s.index(\"C\"):]", "s", "s.index(\"C\"):", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "if j ==\"F\":\n\t\t\t\tprint(\"Yes\")\n\t\t\t\texit()", "j ==\"F\"", "j", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
s = input() for i in s: if i =="C": for j in s[s.index("C"):]: if j =="F": print("Yes") exit() print("No")
[ 7, 15, 0, 13, 4, 18, 4, 18, 13, 13, 13, 0, 13, 17, 28, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 45, 3 ], [ 51, 12 ], [ 16, 15 ], [ 46, 15 ], [ 52, 20 ], [ 49, 20 ], [ 15, 23 ], [ 48, 26 ], [ 52, 31 ], [ 49, 31 ], [ 15, 34 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "from sys import stdin\n\ns = stdin.readline().rstrip()\nnow = 0\nfor i in s:\n if now == 0 and i == \"C\":\n now += 1\n elif now == 1 and i == \"F\":\n print(\"Yes\")\n exit()\nprint(\"No\")", "from sys import stdin", "s = stdin.readline().rstrip()", "s", "stdin.readline().rstrip()", "stdin.readline().rstrip", "stdin.readline()", "stdin.readline", "stdin", "readline", "rstrip", "now = 0", "now", "0", "for i in s:\n if now == 0 and i == \"C\":\n now += 1\n elif now == 1 and i == \"F\":\n print(\"Yes\")\n exit()", "i", "s", "if now == 0 and i == \"C\":\n now += 1\n elif now == 1 and i == \"F\":\n print(\"Yes\")\n exit()", "now == 0 and i == \"C\"", "now == 0", "now", "0", "i == \"C\"", "i", "\"C\"", "now += 1", "now", "1", "elif now == 1 and i == \"F\":\n print(\"Yes\")\n exit()", "now == 1 and i == \"F\"", "now == 1", "now", "1", "i == \"F\"", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "s = stdin.readline().rstrip()", "stdin.readline().rstrip()", "s", "now += 1", "1", "now", "now = 0", "0", "now" ]
from sys import stdin s = stdin.readline().rstrip() now = 0 for i in s: if now == 0 and i == "C": now += 1 elif now == 1 and i == "F": print("Yes") exit() print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 13, 14, 2, 40, 13, 17, 40, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 35, 2 ], [ 38, 6 ], [ 36, 9 ], [ 41, 13 ], [ 36, 16 ], [ 39, 19 ], [ 39, 23 ], [ 42, 26 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ] ]
[ "s = input()\n\nc = s.find(\"C\")\nf = s.find(\"F\", c)\n\nif c != -1 and f != -1:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "c = s.find(\"C\")", "c", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "f = s.find(\"F\", c)", "f", "s.find(\"F\", c)", "s.find", "s", "find", "\"F\"", "c", "if c != -1 and f != -1:\n print(\"Yes\")\nelse:\n print(\"No\")", "c != -1 and f != -1", "c != -1", "c", "-1", "f != -1", "f", "-1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "c = s.find(\"C\")", "s.find(\"C\")", "c", "f = s.find(\"F\", c)", "s.find(\"F\", c)", "f" ]
s = input() c = s.find("C") f = s.find("F", c) if c != -1 and f != -1: print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 39, 4, 18, 13, 13, 17, 17, 14, 40, 18, 13, 17, 17, 0, 18, 13, 17, 4, 18, 13, 13, 17, 18, 13, 17, 4, 13, 8, 2, 40, 18, 13, 17, 17, 40, 18, 13, 17, 17, 17, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 4, 12 ], [ 8, 19 ], [ 26, 23 ], [ 8, 24 ], [ 4, 28 ], [ 8, 32 ], [ 8, 40 ], [ 8, 45 ], [ 58, 55 ] ]
[ "def main():\n word = input()\n index = [word.find(\"C\"), 0]\n if index[0] >= 0:\n index[1] = word.find(\"F\", index[0])\n print(\"Yes\" if index[0] >= 0 and index[1] >= 0 else \"No\")\n\n\nif __name__ == '__main__':\n main()\n", "def main():\n word = input()\n index = [word.find(\"C\"), 0]\n if index[0] >= 0:\n index[1] = word.find(\"F\", index[0])\n print(\"Yes\" if index[0] >= 0 and index[1] >= 0 else \"No\")", "main", "word = input()", "word", "input()", "input", "index = [word.find(\"C\"), 0]", "index", "[word.find(\"C\"), 0]", "word.find(\"C\")", "word.find", "word", "find", "\"C\"", "0", "if index[0] >= 0:\n index[1] = word.find(\"F\", index[0])\n ", "index[0] >= 0", "index[0]", "index", "0", "0", "index[1] = word.find(\"F\", index[0])", "index[1]", "index", "1", "word.find(\"F\", index[0])", "word.find", "word", "find", "\"F\"", "index[0]", "index", "0", "print(\"Yes\" if index[0] >= 0 and index[1] >= 0 else \"No\")", "print", "\"Yes\" if index[0] >= 0 and index[1] >= 0 else \"No\"", "index[0] >= 0 and index[1] >= 0", "index[0] >= 0", "index[0]", "index", "0", "0", "index[1] >= 0", "index[1]", "index", "1", "0", "\"Yes\"", "\"No\"", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n word = input()\n index = [word.find(\"C\"), 0]\n if index[0] >= 0:\n index[1] = word.find(\"F\", index[0])\n print(\"Yes\" if index[0] >= 0 and index[1] >= 0 else \"No\")", "def main():\n word = input()\n index = [word.find(\"C\"), 0]\n if index[0] >= 0:\n index[1] = word.find(\"F\", index[0])\n print(\"Yes\" if index[0] >= 0 and index[1] >= 0 else \"No\")", "main" ]
def main(): word = input() index = [word.find("C"), 0] if index[0] >= 0: index[1] = word.find("F", index[0]) print("Yes" if index[0] >= 0 and index[1] >= 0 else "No") if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 14, 2, 2, 17, 13, 2, 17, 13, 14, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 35, 2 ], [ 36, 9 ], [ 36, 12 ], [ 36, 17 ], [ 36, 22 ], [ 35, 36 ] ]
[ "s=input()\n\nif 'C' in s and 'F' in s:\n if s.find('C') < s.rfind('F'):\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", "s=input()", "s", "input()", "input", "if 'C' in s and 'F' in s:\n if s.find('C') < s.rfind('F'):\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", "'C' in s and 'F' in s", "'C' in s", "'C'", "s", "'F' in s", "'F'", "s", "if s.find('C') < s.rfind('F'):\n print('Yes')\n else:\n print('No')", "s.find('C') < s.rfind('F')", "s.find('C')", "s.find", "s", "find", "'C'", "s.rfind('F')", "s.rfind", "s", "rfind", "'F'", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "s=input()", "input()", "s" ]
s=input() if 'C' in s and 'F' in s: if s.find('C') < s.rfind('F'): print('Yes') else: print('No') else: print('No')
[ 7, 0, 13, 4, 13, 12, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 17, 29, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 17, 29, 17, 14, 2, 13, 13, 29, 17, 29, 17, 23, 13, 14, 2, 4, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 12, 13, 10, 4, 13 ]
[ [ 59, 2 ], [ 9, 8 ], [ 42, 11 ], [ 8, 16 ], [ 22, 21 ], [ 42, 24 ], [ 21, 29 ], [ 8, 35 ], [ 21, 36 ], [ 42, 42 ], [ 57, 46 ], [ 60, 47 ], [ 59, 60 ] ]
[ "s = input()\ndef serch(s):\n position_C = s.find(\"C\")\n if position_C == -1:\n return False\n else:\n position_F = s.rfind(\"F\")\n if position_F == -1:\n return False\n elif position_C < position_F:\n return True\n else:\n return False\n\nif serch(s) == True:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "def serch(s):\n position_C = s.find(\"C\")\n if position_C == -1:\n return False\n else:\n position_F = s.rfind(\"F\")\n if position_F == -1:\n return False\n elif position_C < position_F:\n return True\n else:\n return False", "serch", "position_C = s.find(\"C\")", "position_C", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "if position_C == -1:\n return False\n else:\n position_F = s.rfind(\"F\")\n if position_F == -1:\n return False\n elif position_C < position_F:\n return True\n else:\n return False", "position_C == -1", "position_C", "-1", "return False", "False", "position_F = s.rfind(\"F\")", "position_F", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "if position_F == -1:\n return False\n elif position_C < position_F:\n return True\n else:\n return False", "position_F == -1", "position_F", "-1", "return False", "False", "elif position_C < position_F:\n return True\n ", "position_C < position_F", "position_C", "position_F", "return True", "True", "return False", "False", "s", "s", "if serch(s) == True:\n print(\"Yes\")\nelse:\n print(\"No\")", "serch(s) == True", "serch(s)", "serch", "s", "True", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "def serch(s):\n position_C = s.find(\"C\")\n if position_C == -1:\n return False\n else:\n position_F = s.rfind(\"F\")\n if position_F == -1:\n return False\n elif position_C < position_F:\n return True\n else:\n return False", "def serch(s):\n position_C = s.find(\"C\")\n if position_C == -1:\n return False\n else:\n position_F = s.rfind(\"F\")\n if position_F == -1:\n return False\n elif position_C < position_F:\n return True\n else:\n return False", "serch", "s = input()", "input()", "s" ]
s = input() def serch(s): position_C = s.find("C") if position_C == -1: return False else: position_F = s.rfind("F") if position_F == -1: return False elif position_C < position_F: return True else: return False if serch(s) == True: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 38, 2 ], [ 35, 6 ], [ 10, 9 ], [ 39, 9 ], [ 9, 13 ], [ 41, 16 ], [ 9, 21 ], [ 42, 24 ], [ 36, 24 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ] ]
[ "s = input()\nflag = 0\n\nfor i in s:\n if i == 'C':\n flag = 1\n if i == 'F' and flag == 1:\n print('Yes')\n exit()\nprint('No')", "s = input()", "s", "input()", "input", "flag = 0", "flag", "0", "for i in s:\n if i == 'C':\n flag = 1\n if i == 'F' and flag == 1:\n print('Yes')\n exit()", "i", "s", "if i == 'C':\n flag = 1\n ", "i == 'C'", "i", "'C'", "flag = 1", "flag", "1", "if i == 'F' and flag == 1:\n print('Yes')\n exit()", "i == 'F' and flag == 1", "i == 'F'", "i", "'F'", "flag == 1", "flag", "1", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "flag = 0", "0", "flag", "s = input()", "input()", "s", "flag = 1", "1", "flag" ]
s = input() flag = 0 for i in s: if i == 'C': flag = 1 if i == 'F' and flag == 1: print('Yes') exit() print('No')
[ 7, 15, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 3, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 67, 11 ], [ 64, 16 ], [ 26, 25 ], [ 30, 29 ], [ 33, 32 ], [ 25, 32 ], [ 32, 36 ], [ 40, 39 ], [ 39, 43 ], [ 29, 43 ], [ 32, 45 ], [ 62, 59 ], [ 64, 65 ], [ 67, 68 ] ]
[ "import sys\n\nsys.setrecursionlimit(10 ** 7)\nf_inf = float('inf')\nmod = 10 ** 9 + 7\n\n\ndef resolve():\n s = input()\n flg = False\n for i in s:\n if i == \"C\":\n flg = True\n\n if flg and i == \"F\":\n print(\"Yes\")\n break\n else:\n print(\"No\")\n\n\nif __name__ == '__main__':\n resolve()", "import sys", "sys", "sys.setrecursionlimit(10 ** 7)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 7", "10", "7", "f_inf = float('inf')", "f_inf", "float('inf')", "float", "'inf'", "mod = 10 ** 9 + 7", "mod", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "def resolve():\n s = input()\n flg = False\n for i in s:\n if i == \"C\":\n flg = True\n\n if flg and i == \"F\":\n print(\"Yes\")\n break\n else:\n print(\"No\")", "resolve", "s = input()", "s", "input()", "input", "flg = False", "flg", "False", "for i in s:\n if i == \"C\":\n flg = True\n\n if flg and i == \"F\":\n print(\"Yes\")\n break\n else:\n print(\"No\")", "i", "s", "if i == \"C\":\n flg = True\n\n ", "i == \"C\"", "i", "\"C\"", "flg = True", "flg", "True", "if flg and i == \"F\":\n print(\"Yes\")\n break\n ", "flg and i == \"F\"", "flg", "i == \"F\"", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "break", "print(\"No\")", "print", "\"No\"", "if __name__ == '__main__':\n resolve()", "__name__ == '__main__'", "__name__", "'__main__'", "resolve()", "resolve", "def resolve():\n s = input()\n flg = False\n for i in s:\n if i == \"C\":\n flg = True\n\n if flg and i == \"F\":\n print(\"Yes\")\n break\n else:\n print(\"No\")", "def resolve():\n s = input()\n flg = False\n for i in s:\n if i == \"C\":\n flg = True\n\n if flg and i == \"F\":\n print(\"Yes\")\n break\n else:\n print(\"No\")", "resolve", "mod = 10 ** 9 + 7", "10 ** 9 + 7", "mod", "f_inf = float('inf')", "float('inf')", "f_inf" ]
import sys sys.setrecursionlimit(10 ** 7) f_inf = float('inf') mod = 10 ** 9 + 7 def resolve(): s = input() flg = False for i in s: if i == "C": flg = True if flg and i == "F": print("Yes") break else: print("No") if __name__ == '__main__': resolve()
[ 7, 15, 13, 0, 13, 39, 17, 17, 17, 0, 13, 17, 0, 13, 18, 13, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 13, 13, 0, 13, 17, 12, 13, 0, 13, 4, 13, 14, 2, 2, 4, 18, 13, 13, 17, 17, 2, 4, 18, 13, 13, 17, 17, 29, 17, 0, 13, 4, 18, 13, 13, 17, 0, 13, 18, 13, 39, 2, 13, 17, 14, 2, 4, 18, 13, 13, 17, 17, 29, 17, 29, 17, 0, 13, 17, 12, 13, 14, 13, 4, 13, 13, 23, 13, 12, 13, 15, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 28, 13, 13, 27, 13, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 14, 2, 13, 18, 13, 17, 0, 13, 4, 13, 0, 13, 12, 4, 18, 13, 13, 14, 2, 13, 18, 13, 17, 0, 18, 13, 13, 4, 13, 17, 0, 13, 17, 0, 13, 4, 13, 14, 40, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 12, 13, 10, 18, 13, 10, 4, 13, 10, 39, 13, 10, 12, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 185, 4 ], [ 173, 10 ], [ 179, 13 ], [ 186, 15 ], [ 174, 16 ], [ 200, 18 ], [ 191, 29 ], [ 35, 34 ], [ 34, 42 ], [ 34, 49 ], [ 57, 56 ], [ 34, 59 ], [ 64, 63 ], [ 34, 65 ], [ 56, 68 ], [ 63, 74 ], [ 194, 83 ], [ 93, 91 ], [ 93, 93 ], [ 100, 99 ], [ 106, 105 ], [ 99, 108 ], [ 112, 111 ], [ 105, 111 ], [ 111, 114 ], [ 180, 127 ], [ 186, 129 ], [ 182, 132 ], [ 189, 134 ], [ 176, 136 ], [ 183, 140 ], [ 180, 144 ], [ 186, 146 ], [ 152, 149 ], [ 197, 156 ], [ 170, 159 ], [ 204, 161 ], [ 171, 164 ], [ 171, 168 ], [ 170, 171 ], [ 173, 174 ], [ 176, 177 ], [ 179, 180 ], [ 182, 183 ], [ 185, 186 ], [ 191, 192 ], [ 194, 195 ], [ 197, 198 ], [ 200, 201 ] ]
[ "import sys\n\ninput_methods=['clipboard','file','key']\nusing_method=0\ninput_method=input_methods[using_method]\n\nIN=lambda : map(int, input().split())\nmod=1000000007\n\n#+++++\n\ndef main():\n\ts = input()\n\tif s.count('C') == 0 or s.count('F')==0:\n\t\treturn 'No'\n\tii=s.index('C')\n\tk=s[ii+1:]\n\tif k.count('F')>0:\n\t\treturn 'Yes'\n\treturn 'No'\n\t\n\t\n\t\n#+++++\nisTest=False\n\ndef pa(v):\n\tif isTest:\n\t\tprint(v)\n\t\t\ndef input_clipboard():\n\timport clipboard\n\tinput_text=clipboard.get()\n\tinput_l=input_text.splitlines()\n\tfor l in input_l:\n\t\tyield l\n\nif __name__ == \"__main__\":\n\tif sys.platform =='ios':\n\t\tif input_method==input_methods[0]:\n\t\t\tic=input_clipboard()\n\t\t\tinput = lambda : ic.__next__()\n\t\telif input_method==input_methods[1]:\n\t\t\tsys.stdin=open('inputFile.txt')\n\t\telse:\n\t\t\tpass\n\t\tisTest=True\n\telse:\n\t\tpass\n\t\t#input = sys.stdin.readline\n\t\t\t\n\tret = main()\n\tif ret is not None:\n\t\tprint(ret)", "import sys", "sys", "input_methods=['clipboard','file','key']", "input_methods", "['clipboard','file','key']", "'clipboard'", "'file'", "'key'", "using_method=0", "using_method", "0", "input_method=input_methods[using_method]", "input_method", "input_methods[using_method]", "input_methods", "using_method", "IN=lambda : map(int, input().split())", "IN", "lambda : map(int, input().split())", "map(int, input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "mod=1000000007", "mod", "1000000007", "def main():\n\ts = input()\n\tif s.count('C') == 0 or s.count('F')==0:\n\t\treturn 'No'\n\tii=s.index('C')\n\tk=s[ii+1:]\n\tif k.count('F')>0:\n\t\treturn 'Yes'\n\treturn 'No'\n\t\n\t\n\t\n#+++++", "main", "s = input()", "s", "input()", "input", "if s.count('C') == 0 or s.count('F')==0:\n\t\treturn 'No'\n\t", "s.count('C') == 0 or s.count('F')==0", "s.count('C') == 0", "s.count('C')", "s.count", "s", "count", "'C'", "0", "s.count('F')==0", "s.count('F')", "s.count", "s", "count", "'F'", "0", "return 'No'", "'No'", "ii=s.index('C')", "ii", "s.index('C')", "s.index", "s", "index", "'C'", "k=s[ii+1:]", "k", "s[ii+1:]", "s", "ii+1:", "ii+1", "ii", "1", "if k.count('F')>0:\n\t\treturn 'Yes'\n\t", "k.count('F')>0", "k.count('F')", "k.count", "k", "count", "'F'", "0", "return 'Yes'", "'Yes'", "return 'No'", "'No'", "isTest=False", "isTest", "False", "def pa(v):\n\tif isTest:\n\t\tprint(v)\n\t\t", "pa", "if isTest:\n\t\tprint(v)\n\t\t", "isTest", "print(v)", "print", "v", "v", "v", "def input_clipboard():\n\timport clipboard\n\tinput_text=clipboard.get()\n\tinput_l=input_text.splitlines()\n\tfor l in input_l:\n\t\tyield l", "input_clipboard", "import clipboard", "clipboard", "input_text=clipboard.get()", "input_text", "clipboard.get()", "clipboard.get", "clipboard", "get", "input_l=input_text.splitlines()", "input_l", "input_text.splitlines()", "input_text.splitlines", "input_text", "splitlines", "for l in input_l:\n\t\tyield l", "l", "input_l", "yield l", "l", "if __name__ == \"__main__\":\n\tif sys.platform =='ios':\n\t\tif input_method==input_methods[0]:\n\t\t\tic=input_clipboard()\n\t\t\tinput = lambda : ic.__next__()\n\t\telif input_method==input_methods[1]:\n\t\t\tsys.stdin=open('inputFile.txt')\n\t\telse:\n\t\t\tpass\n\t\tisTest=True\n\telse:\n\t\tpass\n\t\t#input = sys.stdin.readline\n\t\t\t\n\tret = main()\n\tif ret is not None:\n\t\tprint(ret)", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "if sys.platform =='ios':\n\t\tif input_method==input_methods[0]:\n\t\t\tic=input_clipboard()\n\t\t\tinput = lambda : ic.__next__()\n\t\telif input_method==input_methods[1]:\n\t\t\tsys.stdin=open('inputFile.txt')\n\t\telse:\n\t\t\tpass\n\t\tisTest=True\n\telse:\n\t\tpass\n\t\t#input = sys.stdin.readline\n\t\t\t\n\t", "sys.platform =='ios'", "sys.platform", "sys", "platform", "'ios'", "if input_method==input_methods[0]:\n\t\t\tic=input_clipboard()\n\t\t\tinput = lambda : ic.__next__()\n\t\telif input_method==input_methods[1]:\n\t\t\tsys.stdin=open('inputFile.txt')\n\t\telse:\n\t\t\tpass\n\t\t", "input_method==input_methods[0]", "input_method", "input_methods[0]", "input_methods", "0", "ic=input_clipboard()", "ic", "input_clipboard()", "input_clipboard", "input = lambda : ic.__next__()", "input", "lambda : ic.__next__()", "ic.__next__()", "ic.__next__", "ic", "__next__", "elif input_method==input_methods[1]:\n\t\t\tsys.stdin=open('inputFile.txt')\n\t\t", "input_method==input_methods[1]", "input_method", "input_methods[1]", "input_methods", "1", "sys.stdin=open('inputFile.txt')", "sys.stdin", "sys", "stdin", "open('inputFile.txt')", "open", "'inputFile.txt'", "isTest=True", "isTest", "True", "ret = main()", "ret", "main()", "main", "if ret is not None:\n\t\tprint(ret)", "ret is not None", "ret", "None", "print(ret)", "print", "ret", "ret = main()", "main()", "ret", "using_method=0", "0", "using_method", "input = lambda : ic.__next__()", "lambda : ic.__next__()", "input", "input_method=input_methods[using_method]", "input_methods[using_method]", "input_method", "ic=input_clipboard()", "input_clipboard()", "ic", "input_methods=['clipboard','file','key']", "['clipboard','file','key']", "input_methods", "def input_clipboard():\n\timport clipboard\n\tinput_text=clipboard.get()\n\tinput_l=input_text.splitlines()\n\tfor l in input_l:\n\t\tyield l", "def input_clipboard():\n\timport clipboard\n\tinput_text=clipboard.get()\n\tinput_l=input_text.splitlines()\n\tfor l in input_l:\n\t\tyield l", "input_clipboard", "mod=1000000007", "1000000007", "mod", "isTest=False", "False", "isTest", "isTest=True", "True", "isTest", "IN=lambda : map(int, input().split())", "lambda : map(int, input().split())", "IN", "def main():\n\ts = input()\n\tif s.count('C') == 0 or s.count('F')==0:\n\t\treturn 'No'\n\tii=s.index('C')\n\tk=s[ii+1:]\n\tif k.count('F')>0:\n\t\treturn 'Yes'\n\treturn 'No'\n\t\n\t\n\t\n#+++++", "def main():\n\ts = input()\n\tif s.count('C') == 0 or s.count('F')==0:\n\t\treturn 'No'\n\tii=s.index('C')\n\tk=s[ii+1:]\n\tif k.count('F')>0:\n\t\treturn 'Yes'\n\treturn 'No'\n\t\n\t\n\t\n#+++++", "main", "def pa(v):\n\tif isTest:\n\t\tprint(v)\n\t\t", "def pa(v):\n\tif isTest:\n\t\tprint(v)\n\t\t", "pa" ]
import sys input_methods=['clipboard','file','key'] using_method=0 input_method=input_methods[using_method] IN=lambda : map(int, input().split()) mod=1000000007 #+++++ def main(): s = input() if s.count('C') == 0 or s.count('F')==0: return 'No' ii=s.index('C') k=s[ii+1:] if k.count('F')>0: return 'Yes' return 'No' #+++++ isTest=False def pa(v): if isTest: print(v) def input_clipboard(): import clipboard input_text=clipboard.get() input_l=input_text.splitlines() for l in input_l: yield l if __name__ == "__main__": if sys.platform =='ios': if input_method==input_methods[0]: ic=input_clipboard() input = lambda : ic.__next__() elif input_method==input_methods[1]: sys.stdin=open('inputFile.txt') else: pass isTest=True else: pass #input = sys.stdin.readline ret = main() if ret is not None: print(ret)
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 17, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 35, 2 ], [ 38, 6 ], [ 36, 9 ], [ 32, 13 ], [ 36, 16 ], [ 39, 23 ], [ 33, 24 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "s = input()\nC = s.find('C')\nF = s.rfind('F')\n\nif -1 < C < F:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "C = s.find('C')", "C", "s.find('C')", "s.find", "s", "find", "'C'", "F = s.rfind('F')", "F", "s.rfind('F')", "s.rfind", "s", "rfind", "'F'", "if -1 < C < F:\n print('Yes')\nelse:\n print('No')", "-1 < C < F", "-1 < C", "-1", "C", "F", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "F = s.rfind('F')", "s.rfind('F')", "F", "s = input()", "input()", "s", "C = s.find('C')", "s.find('C')", "C" ]
s = input() C = s.find('C') F = s.rfind('F') if -1 < C < F: print('Yes') else: print('No')
[ 7, 12, 13, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 3, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 11, 10 ], [ 14, 13 ], [ 4, 13 ], [ 13, 17 ], [ 21, 20 ], [ 20, 24 ], [ 10, 24 ], [ 13, 26 ], [ 43, 40 ] ]
[ "def main():\n S = list(input())\n flag = False\n for s in S:\n if s == 'C':\n flag = True\n else:\n pass\n if flag and s == 'F':\n print('Yes')\n break\n else:\n print('No')\n\n\nif __name__ == '__main__':\n main()", "def main():\n S = list(input())\n flag = False\n for s in S:\n if s == 'C':\n flag = True\n else:\n pass\n if flag and s == 'F':\n print('Yes')\n break\n else:\n print('No')", "main", "S = list(input())", "S", "list(input())", "list", "input()", "input", "flag = False", "flag", "False", "for s in S:\n if s == 'C':\n flag = True\n else:\n pass\n if flag and s == 'F':\n print('Yes')\n break\n else:\n print('No')", "s", "S", "if s == 'C':\n flag = True\n else:\n pass\n ", "s == 'C'", "s", "'C'", "flag = True", "flag", "True", "if flag and s == 'F':\n print('Yes')\n break\n ", "flag and s == 'F'", "flag", "s == 'F'", "s", "'F'", "print('Yes')", "print", "'Yes'", "break", "print('No')", "print", "'No'", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n S = list(input())\n flag = False\n for s in S:\n if s == 'C':\n flag = True\n else:\n pass\n if flag and s == 'F':\n print('Yes')\n break\n else:\n print('No')", "def main():\n S = list(input())\n flag = False\n for s in S:\n if s == 'C':\n flag = True\n else:\n pass\n if flag and s == 'F':\n print('Yes')\n break\n else:\n print('No')", "main" ]
def main(): S = list(input()) flag = False for s in S: if s == 'C': flag = True else: pass if flag and s == 'F': print('Yes') break else: print('No') if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 14, 2, 13, 17, 4, 13, 17, 3, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 37, 6 ], [ 10, 9 ], [ 41, 9 ], [ 9, 13 ], [ 34, 16 ], [ 9, 20 ], [ 38, 24 ], [ 35, 24 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s = input()\nflag = False\nfor i in s:\n if i == \"C\":\n flag = True\n elif i == \"F\":\n if flag == True:\n print(\"Yes\")\n break\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "flag = False", "flag", "False", "for i in s:\n if i == \"C\":\n flag = True\n elif i == \"F\":\n if flag == True:\n print(\"Yes\")\n break\nelse:\n print(\"No\")", "i", "s", "if i == \"C\":\n flag = True\n elif i == \"F\":\n if flag == True:\n print(\"Yes\")\n break", "i == \"C\"", "i", "\"C\"", "flag = True", "flag", "True", "elif i == \"F\":\n if flag == True:\n print(\"Yes\")\n break", "i == \"F\"", "i", "\"F\"", "if flag == True:\n print(\"Yes\")\n break", "flag == True", "flag", "True", "print(\"Yes\")", "print", "\"Yes\"", "break", "print(\"No\")", "print", "\"No\"", "flag = True", "True", "flag", "flag = False", "False", "flag", "s = input()", "input()", "s" ]
s = input() flag = False for i in s: if i == "C": flag = True elif i == "F": if flag == True: print("Yes") break else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 43, 6 ], [ 10, 9 ], [ 50, 14 ], [ 50, 18 ], [ 9, 19 ], [ 46, 22 ], [ 47, 27 ], [ 44, 27 ], [ 50, 31 ], [ 9, 32 ], [ 43, 44 ], [ 46, 47 ], [ 49, 50 ] ]
[ "s = input()\ncnt = 0\nfor i in range(len(s)):\n if s[i] == 'C':\n cnt = 1\n if cnt == 1 and s[i] == 'F':\n print('Yes')\n exit()\nprint('No')", "s = input()", "s", "input()", "input", "cnt = 0", "cnt", "0", "for i in range(len(s)):\n if s[i] == 'C':\n cnt = 1\n if cnt == 1 and s[i] == 'F':\n print('Yes')\n exit()", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == 'C':\n cnt = 1\n ", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "cnt = 1", "cnt", "1", "if cnt == 1 and s[i] == 'F':\n print('Yes')\n exit()", "cnt == 1 and s[i] == 'F'", "cnt == 1", "cnt", "1", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "cnt = 0", "0", "cnt", "cnt = 1", "1", "cnt", "s = input()", "input()", "s" ]
s = input() cnt = 0 for i in range(len(s)): if s[i] == 'C': cnt = 1 if cnt == 1 and s[i] == 'F': print('Yes') exit() print('No')
[ 7, 0, 13, 4, 13, 4, 13, 14, 2, 2, 17, 13, 2, 17, 13, 14, 2, 4, 18, 13, 13, 17, 17, 14, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 64, 2 ], [ 65, 11 ], [ 65, 14 ], [ 65, 19 ], [ 65, 27 ], [ 65, 32 ], [ 65, 45 ], [ 65, 50 ], [ 64, 65 ] ]
[ "s = list(input())\nif (\"C\" in s and \"F\" in s):\n if(s.count(\"F\") == 1):\n if(s.index(\"C\") < s.index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n if(s.index(\"C\") < s.index(\"F\",1)):\n print(\"Yes\")\n else:\n print(\"No\")\n\nelse:\n print(\"No\")", "s = list(input())", "s", "list(input())", "list", "input()", "input", "if (\"C\" in s and \"F\" in s):\n if(s.count(\"F\") == 1):\n if(s.index(\"C\") < s.index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n if(s.index(\"C\") < s.index(\"F\",1)):\n print(\"Yes\")\n else:\n print(\"No\")\n\nelse:\n print(\"No\")", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "if(s.count(\"F\") == 1):\n if(s.index(\"C\") < s.index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")\n else:\n if(s.index(\"C\") < s.index(\"F\",1)):\n print(\"Yes\")\n else:\n print(\"No\")", "s.count(\"F\") == 1", "s.count(\"F\")", "s.count", "s", "count", "\"F\"", "1", "if(s.index(\"C\") < s.index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")\n ", "s.index(\"C\") < s.index(\"F\")", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "s.index(\"F\")", "s.index", "s", "index", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "if(s.index(\"C\") < s.index(\"F\",1)):\n print(\"Yes\")\n else:\n print(\"No\")", "s.index(\"C\") < s.index(\"F\",1)", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "s.index(\"F\",1)", "s.index", "s", "index", "\"F\"", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "s = list(input())", "list(input())", "s" ]
s = list(input()) if ("C" in s and "F" in s): if(s.count("F") == 1): if(s.index("C") < s.index("F")): print("Yes") else: print("No") else: if(s.index("C") < s.index("F",1)): print("Yes") else: print("No") else: print("No")
[ 7, 15, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 17, 13, 14, 2, 4, 18, 13, 13, 17, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 28, 4 ], [ 25, 8 ], [ 29, 15 ], [ 26, 20 ], [ 29, 20 ], [ 25, 26 ], [ 28, 29 ] ]
[ "import re\ns = input()\ns = re.sub('[^F^C]', '', s)\nif s.count('CF') > 0: print('Yes')\nelse: print('No')", "import re", "re", "s = input()", "s", "input()", "input", "s = re.sub('[^F^C]', '', s)", "s", "re.sub('[^F^C]', '', s)", "re.sub", "re", "sub", "'[^F^C]'", "''", "s", "if s.count('CF') > 0: print('Yes')\nelse: print('No')", "s.count('CF') > 0", "s.count('CF')", "s.count", "s", "count", "'CF'", "0", "s = re.sub('[^F^C]', '', s)", "re.sub('[^F^C]', '', s)", "s", "s = input()", "input()", "s" ]
import re s = input() s = re.sub('[^F^C]', '', s) if s.count('CF') > 0: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 39, 17, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 14, 2, 18, 13, 17, 17, 0, 18, 13, 17, 17, 9, 14, 2, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 17, 2, 18, 13, 17, 17, 0, 18, 13, 17, 17, 9, 14, 2, 13, 39, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13 ]
[ [ 72, 2 ], [ 75, 6 ], [ 12, 11 ], [ 73, 16 ], [ 73, 20 ], [ 11, 21 ], [ 76, 26 ], [ 33, 30 ], [ 76, 31 ], [ 73, 38 ], [ 11, 39 ], [ 76, 45 ], [ 76, 50 ], [ 57, 54 ], [ 76, 55 ], [ 76, 61 ], [ 72, 73 ], [ 75, 76 ] ]
[ "s = input()\nflg = [0,0]\n\nfor i in range(len(s)):\n\tif s[i] == \"C\":\n\t\tif flg[0] == 0:\n\t\t\tflg[0] = 1\n\t\telse:\n\t\t\tcontinue\n\n\tif s[i] == \"F\":\n\t\tif flg[0] == 1 and flg[1] == 0:\n\t\t\tflg[1] = 1\n\t\telse:\n\t\t\tcontinue\n\nif flg == [1,1]:\n\tprint(\"Yes\")\nelse:\n\tprint(\"No\")", "s = input()", "s", "input()", "input", "flg = [0,0]", "flg", "[0,0]", "0", "0", "for i in range(len(s)):\n\tif s[i] == \"C\":\n\t\tif flg[0] == 0:\n\t\t\tflg[0] = 1\n\t\telse:\n\t\t\tcontinue\n\n\tif s[i] == \"F\":\n\t\tif flg[0] == 1 and flg[1] == 0:\n\t\t\tflg[1] = 1\n\t\telse:\n\t\t\tcontinue", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n\t\tif flg[0] == 0:\n\t\t\tflg[0] = 1\n\t\telse:\n\t\t\tcontinue\n\n\t", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "if flg[0] == 0:\n\t\t\tflg[0] = 1\n\t\telse:\n\t\t\tcontinue\n\n\t", "flg[0] == 0", "flg[0]", "flg", "0", "0", "flg[0] = 1", "flg[0]", "flg", "0", "1", "continue", "if s[i] == \"F\":\n\t\tif flg[0] == 1 and flg[1] == 0:\n\t\t\tflg[1] = 1\n\t\telse:\n\t\t\tcontinue", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "if flg[0] == 1 and flg[1] == 0:\n\t\t\tflg[1] = 1\n\t\telse:\n\t\t\tcontinue", "flg[0] == 1 and flg[1] == 0", "flg[0] == 1", "flg[0]", "flg", "0", "1", "flg[1] == 0", "flg[1]", "flg", "1", "0", "flg[1] = 1", "flg[1]", "flg", "1", "1", "continue", "if flg == [1,1]:\n\tprint(\"Yes\")\nelse:\n\tprint(\"No\")", "flg == [1,1]", "flg", "[1,1]", "1", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "flg = [0,0]", "[0,0]", "flg" ]
s = input() flg = [0,0] for i in range(len(s)): if s[i] == "C": if flg[0] == 0: flg[0] = 1 else: continue if s[i] == "F": if flg[0] == 1 and flg[1] == 0: flg[1] = 1 else: continue if flg == [1,1]: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 14, 2, 2, 17, 13, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 17, 18, 13, 39, 13, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 39, 2 ], [ 40, 11 ], [ 40, 14 ], [ 42, 16 ], [ 40, 19 ], [ 40, 26 ], [ 39, 40 ], [ 42, 43 ] ]
[ "s = list(input())\nif \"C\" in s and \"F\" in s:\n c_ind = s.index(\"C\")\n if \"F\" in s[c_ind:]:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "s = list(input())", "s", "list(input())", "list", "input()", "input", "if \"C\" in s and \"F\" in s:\n c_ind = s.index(\"C\")\n if \"F\" in s[c_ind:]:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "c_ind = s.index(\"C\")", "c_ind", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "if \"F\" in s[c_ind:]:\n print(\"Yes\")\n else:\n print(\"No\")", "\"F\" in s[c_ind:]", "\"F\"", "s[c_ind:]", "s", "c_ind:", "c_ind", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "s = list(input())", "list(input())", "s", "c_ind = s.index(\"C\")", "s.index(\"C\")", "c_ind" ]
s = list(input()) if "C" in s and "F" in s: c_ind = s.index("C") if "F" in s[c_ind:]: print("Yes") else: print("No") else: print("No")
[ 7, 41, 28, 13, 4, 13, 2, 2, 13, 17, 2, 13, 17, 4, 13, 4, 13, 8, 2, 17, 4, 18, 17, 13, 13, 17, 17 ]
[ [ 4, 3 ], [ 3, 8 ], [ 3, 11 ], [ 3, 14 ] ]
[ "print('Yes' if 'CF' in ''.join([_ for _ in input() if _=='C' or _=='F']) else 'No')", "_ for _ in input() if _=='C' or _=='F'", "for _ in input() if _=='C' or _=='F'", "_", "input()", "input", "_=='C' or _=='F'", "_=='C'", "_", "'C'", "_=='F'", "_", "'F'", "if _=='C' or _=='F'", "_", "print('Yes' if 'CF' in ''.join([_ for _ in input() if _=='C' or _=='F']) else 'No')", "print", "'Yes' if 'CF' in ''.join([_ for _ in input() if _=='C' or _=='F']) else 'No'", "'CF' in ''.join([_ for _ in input() if _=='C' or _=='F'])", "'CF'", "''.join([_ for _ in input() if _=='C' or _=='F'])", "''.join", "''", "join", "[_ for _ in input() if _=='C' or _=='F']", "'Yes'", "'No'" ]
print('Yes' if 'CF' in ''.join([_ for _ in input() if _=='C' or _=='F']) else 'No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 0, 13, 4, 18, 13, 13, 17, 13, 14, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 42, 6 ], [ 49, 9 ], [ 43, 14 ], [ 45, 22 ], [ 49, 25 ], [ 43, 28 ], [ 46, 31 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "s = input()\ni = s.find(\"C\")\nif i < 0:\n print(\"No\")\n exit()\nj = s.find(\"F\", i)\nif j < 0:\n print(\"No\")\n exit()\nprint(\"Yes\")", "s = input()", "s", "input()", "input", "i = s.find(\"C\")", "i", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "if i < 0:\n print(\"No\")\n exit()", "i < 0", "i", "0", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "j = s.find(\"F\", i)", "j", "s.find(\"F\", i)", "s.find", "s", "find", "\"F\"", "i", "if j < 0:\n print(\"No\")\n exit()", "j < 0", "j", "0", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "print(\"Yes\")", "print", "\"Yes\"", "i = s.find(\"C\")", "s.find(\"C\")", "i", "j = s.find(\"F\", i)", "s.find(\"F\", i)", "j", "s = input()", "input()", "s" ]
s = input() i = s.find("C") if i < 0: print("No") exit() j = s.find("F", i) if j < 0: print("No") exit() print("Yes")
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 18, 13, 13, 17, 2, 13, 17, 0, 13, 17, 3, 14, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 53, 2 ], [ 59, 6 ], [ 50, 9 ], [ 13, 12 ], [ 54, 17 ], [ 54, 21 ], [ 12, 22 ], [ 62, 25 ], [ 54, 31 ], [ 12, 32 ], [ 60, 35 ], [ 63, 35 ], [ 56, 38 ], [ 50, 51 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ] ]
[ "s = input()\nidx = 0\nflg = False\nfor i in range(len(s)):\n if s[i] == 'C':\n idx += 1\n elif s[i] == 'F' and idx > 0:\n flg = True\n break\nif flg:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "idx = 0", "idx", "0", "flg = False", "flg", "False", "for i in range(len(s)):\n if s[i] == 'C':\n idx += 1\n elif s[i] == 'F' and idx > 0:\n flg = True\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == 'C':\n idx += 1\n elif s[i] == 'F' and idx > 0:\n flg = True\n break", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "idx += 1", "idx", "1", "elif s[i] == 'F' and idx > 0:\n flg = True\n break", "s[i] == 'F' and idx > 0", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "idx > 0", "idx", "0", "flg = True", "flg", "True", "break", "if flg:\n print('Yes')\nelse:\n print('No')", "flg", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "flg = False", "False", "flg", "s = input()", "input()", "s", "flg = True", "True", "flg", "idx = 0", "0", "idx", "idx += 1", "1", "idx" ]
s = input() idx = 0 flg = False for i in range(len(s)): if s[i] == 'C': idx += 1 elif s[i] == 'F' and idx > 0: flg = True break if flg: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 44, 2 ], [ 50, 6 ], [ 53, 9 ], [ 13, 12 ], [ 45, 17 ], [ 45, 21 ], [ 12, 22 ], [ 47, 25 ], [ 48, 30 ], [ 54, 30 ], [ 45, 34 ], [ 12, 35 ], [ 56, 38 ], [ 57, 42 ], [ 51, 42 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ], [ 56, 57 ] ]
[ "S = input()\nans = \"No\"\nflag = False\nfor i in range(len(S)):\n if S[i] == 'C':\n flag = True\n if flag == True and S[i] == 'F':\n ans = \"Yes\"\nprint(ans)", "S = input()", "S", "input()", "input", "ans = \"No\"", "ans", "\"No\"", "flag = False", "flag", "False", "for i in range(len(S)):\n if S[i] == 'C':\n flag = True\n if flag == True and S[i] == 'F':\n ans = \"Yes\"", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] == 'C':\n flag = True\n ", "S[i] == 'C'", "S[i]", "S", "i", "'C'", "flag = True", "flag", "True", "if flag == True and S[i] == 'F':\n ans = \"Yes\"", "flag == True and S[i] == 'F'", "flag == True", "flag", "True", "S[i] == 'F'", "S[i]", "S", "i", "'F'", "ans = \"Yes\"", "ans", "\"Yes\"", "print(ans)", "print", "ans", "S = input()", "input()", "S", "flag = True", "True", "flag", "ans = \"No\"", "\"No\"", "ans", "flag = False", "False", "flag", "ans = \"Yes\"", "\"Yes\"", "ans" ]
S = input() ans = "No" flag = False for i in range(len(S)): if S[i] == 'C': flag = True if flag == True and S[i] == 'F': ans = "Yes" print(ans)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 28, 13, 4, 13, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 59, 2 ], [ 56, 8 ], [ 12, 11 ], [ 60, 16 ], [ 60, 20 ], [ 11, 21 ], [ 65, 24 ], [ 29, 28 ], [ 60, 34 ], [ 60, 38 ], [ 28, 39 ], [ 62, 42 ], [ 63, 47 ], [ 66, 47 ], [ 57, 47 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ] ]
[ "s=list(input())\nans=0\nfor i in range(len(s)):\n if s[i]=='C':\n ans+=1\n break\nfor j in range(i,len(s)):\n if s[j]=='F':\n ans+=1\n break\nif ans==2:\n print('Yes')\nelse:\n print('No')", "s=list(input())", "s", "list(input())", "list", "input()", "input", "ans=0", "ans", "0", "for i in range(len(s)):\n if s[i]=='C':\n ans+=1\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i]=='C':\n ans+=1\n break", "s[i]=='C'", "s[i]", "s", "i", "'C'", "ans+=1", "ans", "1", "break", "for j in range(i,len(s)):\n if s[j]=='F':\n ans+=1\n break", "j", "range(i,len(s))", "range", "i", "len(s)", "len", "s", "if s[j]=='F':\n ans+=1\n break", "s[j]=='F'", "s[j]", "s", "j", "'F'", "ans+=1", "ans", "1", "break", "if ans==2:\n print('Yes')\nelse:\n print('No')", "ans==2", "ans", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "ans=0", "0", "ans", "s=list(input())", "list(input())", "s", "ans+=1", "1", "ans", "ans+=1", "1", "ans" ]
s=list(input()) ans=0 for i in range(len(s)): if s[i]=='C': ans+=1 break for j in range(i,len(s)): if s[j]=='F': ans+=1 break if ans==2: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 14, 2, 17, 18, 13, 39, 13, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 13, 13, 10, 17, 13 ]
[ [ 56, 2 ], [ 53, 6 ], [ 62, 9 ], [ 13, 12 ], [ 57, 17 ], [ 57, 21 ], [ 12, 22 ], [ 59, 25 ], [ 12, 26 ], [ 60, 30 ], [ 54, 30 ], [ 57, 41 ], [ 53, 54 ], [ 56, 57 ], [ 12, 59 ], [ 59, 60 ], [ 62, 63 ] ]
[ "S = input()\nstart = -1\nnext = 0\nfor i in range(len(S)):\n if S[i] == 'C':\n start = i\n break\nif start == -1:\n print('No')\n exit()\nif 'F' in S[start:]:\n print('Yes')\n exit()\nprint('No')", "S = input()", "S", "input()", "input", "start = -1", "start", "-1", "next = 0", "next", "0", "for i in range(len(S)):\n if S[i] == 'C':\n start = i\n break", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] == 'C':\n start = i\n break", "S[i] == 'C'", "S[i]", "S", "i", "'C'", "start = i", "start", "i", "break", "if start == -1:\n print('No')\n exit()", "start == -1", "start", "-1", "print('No')", "print", "'No'", "exit()", "exit", "if 'F' in S[start:]:\n print('Yes')\n exit()", "'F' in S[start:]", "'F'", "S[start:]", "S", "start:", "start", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "start = -1", "-1", "start", "S = input()", "input()", "S", "start = i", "i", "start", "next = 0", "0", "next" ]
S = input() start = -1 next = 0 for i in range(len(S)): if S[i] == 'C': start = i break if start == -1: print('No') exit() if 'F' in S[start:]: print('Yes') exit() print('No')
[ 7, 12, 13, 17, 41, 28, 13, 4, 13, 2, 4, 13, 13, 17, 4, 2, 39, 17, 2, 4, 13, 13, 17, 0, 13, 13, 28, 13, 4, 13, 4, 13, 13, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 0, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 18, 18, 13, 13, 13, 17, 0, 18, 18, 13, 2, 13, 17, 2, 13, 17, 4, 13, 18, 18, 13, 13, 2, 13, 17, 18, 18, 13, 2, 13, 17, 13, 17, 0, 13, 17, 0, 13, 4, 13, 13, 13, 4, 13, 13, 42, 2, 2, 13, 17, 2, 13, 17, 14, 2, 18, 18, 13, 13, 13, 18, 18, 13, 2, 13, 17, 13, 0, 13, 17, 14, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 2, 13, 17, 0, 13, 17, 0, 13, 2, 18, 13, 2, 13, 17, 13, 0, 13, 17, 0, 13, 17, 29, 13, 23, 13, 23, 13, 0, 13, 4, 13, 14, 2, 4, 13, 4, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 164, 12 ], [ 166, 21 ], [ 25, 24 ], [ 28, 27 ], [ 164, 32 ], [ 35, 34 ], [ 166, 39 ], [ 164, 43 ], [ 27, 44 ], [ 166, 46 ], [ 34, 47 ], [ 58, 49 ], [ 24, 51 ], [ 27, 53 ], [ 34, 56 ], [ 24, 61 ], [ 27, 62 ], [ 34, 63 ], [ 75, 66 ], [ 24, 68 ], [ 27, 70 ], [ 34, 73 ], [ 24, 79 ], [ 27, 80 ], [ 34, 82 ], [ 24, 86 ], [ 27, 88 ], [ 34, 90 ], [ 94, 93 ], [ 97, 96 ], [ 164, 99 ], [ 101, 100 ], [ 166, 103 ], [ 96, 107 ], [ 156, 107 ], [ 127, 107 ], [ 100, 110 ], [ 159, 110 ], [ 144, 110 ], [ 24, 116 ], [ 96, 117 ], [ 156, 117 ], [ 127, 117 ], [ 100, 118 ], [ 159, 118 ], [ 144, 118 ], [ 24, 121 ], [ 96, 123 ], [ 156, 123 ], [ 127, 123 ], [ 100, 125 ], [ 159, 125 ], [ 144, 125 ], [ 128, 127 ], [ 24, 133 ], [ 96, 134 ], [ 156, 134 ], [ 127, 134 ], [ 100, 135 ], [ 159, 135 ], [ 144, 135 ], [ 24, 138 ], [ 96, 139 ], [ 156, 139 ], [ 127, 139 ], [ 100, 141 ], [ 159, 141 ], [ 144, 141 ], [ 145, 144 ], [ 148, 147 ], [ 164, 150 ], [ 96, 152 ], [ 156, 152 ], [ 127, 152 ], [ 93, 154 ], [ 147, 154 ], [ 157, 156 ], [ 160, 159 ], [ 147, 162 ], [ 93, 162 ], [ 164, 164 ], [ 166, 166 ], [ 187, 168 ], [ 191, 176 ], [ 188, 177 ], [ 187, 188 ] ]
[ "def lcs(str1, str2):\n '''文字列str1, str2の最長共通部分列(Lowest Common Subsequence, LCS)を求める\n 計算量O(len(str1)*len(str2)) \n '''\n dp = [[0]*(len(str2) + 1) for _ in range(len(str1) + 1)]\n for i in range(len(str1)):\n for j in range(len(str2)):\n if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n '''復元を実行\n 最長の長さを求めるなら return dp[len(str1)][len(str2)] をするとよい\n '''\n res = ''\n i, j = len(str1), len(str2)\n while i > 0 and j > 0:\n if dp[i][j] == dp[i-1][j]:\n i -= 1\n elif dp[i][j] == dp[i][j-1]:\n j -= 1\n else:\n res = str1[i-1] + res\n i -= 1\n j -= 1\n return res\n\n\ns = input()\nif len(lcs(s, \"CF\")) == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "def lcs(str1, str2):\n '''文字列str1, str2の最長共通部分列(Lowest Common Subsequence, LCS)を求める\n 計算量O(len(str1)*len(str2)) \n '''\n dp = [[0]*(len(str2) + 1) for _ in range(len(str1) + 1)]\n for i in range(len(str1)):\n for j in range(len(str2)):\n if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n '''復元を実行\n 最長の長さを求めるなら return dp[len(str1)][len(str2)] をするとよい\n '''\n res = ''\n i, j = len(str1), len(str2)\n while i > 0 and j > 0:\n if dp[i][j] == dp[i-1][j]:\n i -= 1\n elif dp[i][j] == dp[i][j-1]:\n j -= 1\n else:\n res = str1[i-1] + res\n i -= 1\n j -= 1\n return res", "lcs", "'''文字列str1, str2の最長共通部分列(Lowest Common Subsequence, LCS)を求める\n 計算量O(len(str1)*len(str2)) \n '''", "[0]*(len(str2) + 1) for _ in range(len(str1) + 1)", "for _ in range(len(str1) + 1)", "_", "range(len(str1) + 1)", "range", "len(str1) + 1", "len(str1)", "len", "str1", "1", "for _ in range(len(str1) + 1)", "[0]*(len(str2) + 1)", "[0]", "0", "len(str2) + 1", "len(str2)", "len", "str2", "1", "dp = [[0]*(len(str2) + 1) for _ in range(len(str1) + 1)]", "dp", "[[0]*(len(str2) + 1) for _ in range(len(str1) + 1)]", "for i in range(len(str1)):\n for j in range(len(str2)):\n if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n ", "i", "range(len(str1))", "range", "len(str1)", "len", "str1", "for j in range(len(str2)):\n if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n ", "j", "range(len(str2))", "range", "len(str2)", "len", "str2", "if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n ", "str1[i] == str2[j]", "str1[i]", "str1", "i", "str2[j]", "str2", "j", "dp[i+1][j+1] = dp[i][j] + 1", "dp[i+1][j+1]", "[i+1]", "dp", "i+1", "i", "1", "j+1", "j", "1", "dp[i][j] + 1", "dp[i][j]", "[i]", "dp", "i", "j", "1", "dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])", "dp[i+1][j+1]", "[i+1]", "dp", "i+1", "i", "1", "j+1", "j", "1", "max(dp[i][j+1], dp[i+1][j])", "max", "dp[i][j+1]", "[i]", "dp", "i", "j+1", "j", "1", "dp[i+1][j]", "[i+1]", "dp", "i+1", "i", "1", "j", "'''復元を実行\n 最長の長さを求めるなら return dp[len(str1)][len(str2)] をするとよい\n '''", "res = ''", "res", "''", "i, j = len(str1), len(str2)", "i", "len(str1)", "len", "str1", "j", "len(str2)", "len", "str2", "while i > 0 and j > 0:\n if dp[i][j] == dp[i-1][j]:\n i -= 1\n elif dp[i][j] == dp[i][j-1]:\n j -= 1\n else:\n res = str1[i-1] + res\n i -= 1\n j -= 1\n ", "i > 0 and j > 0", "i > 0", "i", "0", "j > 0", "j", "0", "if dp[i][j] == dp[i-1][j]:\n i -= 1\n elif dp[i][j] == dp[i][j-1]:\n j -= 1\n else:\n res = str1[i-1] + res\n i -= 1\n j -= 1\n ", "dp[i][j] == dp[i-1][j]", "dp[i][j]", "[i]", "dp", "i", "j", "dp[i-1][j]", "[i-1]", "dp", "i-1", "i", "1", "j", "i -= 1", "i", "1", "elif dp[i][j] == dp[i][j-1]:\n j -= 1\n ", "dp[i][j] == dp[i][j-1]", "dp[i][j]", "[i]", "dp", "i", "j", "dp[i][j-1]", "[i]", "dp", "i", "j-1", "j", "1", "j -= 1", "j", "1", "res = str1[i-1] + res", "res", "str1[i-1] + res", "str1[i-1]", "str1", "i-1", "i", "1", "res", "i -= 1", "i", "1", "j -= 1", "j", "1", "return res", "res", "str1", "str1", "str2", "str2", "s = input()", "s", "input()", "input", "if len(lcs(s, \"CF\")) == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "len(lcs(s, \"CF\")) == 2", "len(lcs(s, \"CF\"))", "len", "lcs(s, \"CF\")", "lcs", "s", "\"CF\"", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "def lcs(str1, str2):\n '''文字列str1, str2の最長共通部分列(Lowest Common Subsequence, LCS)を求める\n 計算量O(len(str1)*len(str2)) \n '''\n dp = [[0]*(len(str2) + 1) for _ in range(len(str1) + 1)]\n for i in range(len(str1)):\n for j in range(len(str2)):\n if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n '''復元を実行\n 最長の長さを求めるなら return dp[len(str1)][len(str2)] をするとよい\n '''\n res = ''\n i, j = len(str1), len(str2)\n while i > 0 and j > 0:\n if dp[i][j] == dp[i-1][j]:\n i -= 1\n elif dp[i][j] == dp[i][j-1]:\n j -= 1\n else:\n res = str1[i-1] + res\n i -= 1\n j -= 1\n return res", "def lcs(str1, str2):\n '''文字列str1, str2の最長共通部分列(Lowest Common Subsequence, LCS)を求める\n 計算量O(len(str1)*len(str2)) \n '''\n dp = [[0]*(len(str2) + 1) for _ in range(len(str1) + 1)]\n for i in range(len(str1)):\n for j in range(len(str2)):\n if str1[i] == str2[j]:\n dp[i+1][j+1] = dp[i][j] + 1\n else:\n dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j])\n\n '''復元を実行\n 最長の長さを求めるなら return dp[len(str1)][len(str2)] をするとよい\n '''\n res = ''\n i, j = len(str1), len(str2)\n while i > 0 and j > 0:\n if dp[i][j] == dp[i-1][j]:\n i -= 1\n elif dp[i][j] == dp[i][j-1]:\n j -= 1\n else:\n res = str1[i-1] + res\n i -= 1\n j -= 1\n return res", "lcs" ]
def lcs(str1, str2): '''文字列str1, str2の最長共通部分列(Lowest Common Subsequence, LCS)を求める 計算量O(len(str1)*len(str2)) ''' dp = [[0]*(len(str2) + 1) for _ in range(len(str1) + 1)] for i in range(len(str1)): for j in range(len(str2)): if str1[i] == str2[j]: dp[i+1][j+1] = dp[i][j] + 1 else: dp[i+1][j+1] = max(dp[i][j+1], dp[i+1][j]) '''復元を実行 最長の長さを求めるなら return dp[len(str1)][len(str2)] をするとよい ''' res = '' i, j = len(str1), len(str2) while i > 0 and j > 0: if dp[i][j] == dp[i-1][j]: i -= 1 elif dp[i][j] == dp[i][j-1]: j -= 1 else: res = str1[i-1] + res i -= 1 j -= 1 return res s = input() if len(lcs(s, "CF")) == 2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 0, 13, 4, 18, 18, 13, 39, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 44, 6 ], [ 51, 9 ], [ 45, 14 ], [ 47, 22 ], [ 51, 26 ], [ 48, 33 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "s = input()\n\niC = s.find('C')\nif iC < 0:\n print(\"No\")\n exit()\n\niF = s[iC:].find(\"F\")\nif iF < 0:\n print(\"No\")\n exit()\n\nprint(\"Yes\")", "s = input()", "s", "input()", "input", "iC = s.find('C')", "iC", "s.find('C')", "s.find", "s", "find", "'C'", "if iC < 0:\n print(\"No\")\n exit()", "iC < 0", "iC", "0", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "iF = s[iC:].find(\"F\")", "iF", "s[iC:].find(\"F\")", "[iC:].find", "[iC:]", "s", "iC:", "iC", "find", "\"F\"", "if iF < 0:\n print(\"No\")\n exit()", "iF < 0", "iF", "0", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "print(\"Yes\")", "print", "\"Yes\"", "iC = s.find('C')", "s.find('C')", "iC", "iF = s[iC:].find(\"F\")", "s[iC:].find(\"F\")", "iF", "s = input()", "input()", "s" ]
s = input() iC = s.find('C') if iC < 0: print("No") exit() iF = s[iC:].find("F") if iF < 0: print("No") exit() print("Yes")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 59, 2 ], [ 53, 6 ], [ 10, 9 ], [ 60, 14 ], [ 54, 18 ], [ 57, 18 ], [ 63, 18 ], [ 60, 22 ], [ 9, 23 ], [ 62, 26 ], [ 63, 31 ], [ 54, 31 ], [ 57, 31 ], [ 60, 35 ], [ 9, 36 ], [ 56, 39 ], [ 57, 44 ], [ 63, 44 ], [ 54, 44 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ] ]
[ "s = input()\nf = 0\nfor i in range(len(s)):\n if f == 0 and s[i] == \"C\":\n f = 1\n if f == 1 and s[i] == \"F\":\n f = 2\n break\nif f == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "f = 0", "f", "0", "for i in range(len(s)):\n if f == 0 and s[i] == \"C\":\n f = 1\n if f == 1 and s[i] == \"F\":\n f = 2\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if f == 0 and s[i] == \"C\":\n f = 1\n ", "f == 0 and s[i] == \"C\"", "f == 0", "f", "0", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "f = 1", "f", "1", "if f == 1 and s[i] == \"F\":\n f = 2\n break", "f == 1 and s[i] == \"F\"", "f == 1", "f", "1", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "f = 2", "f", "2", "break", "if f == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "f == 2", "f", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "f = 0", "0", "f", "f = 2", "2", "f", "s = input()", "input()", "s", "f = 1", "1", "f" ]
s = input() f = 0 for i in range(len(s)): if f == 0 and s[i] == "C": f = 1 if f == 1 and s[i] == "F": f = 2 break if f == 2: print("Yes") else: print("No")
[ 7, 15, 15, 13, 15, 13, 15, 13, 0, 13, 18, 13, 13, 0, 13, 17, 0, 13, 17, 12, 13, 0, 13, 4, 18, 4, 13, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 4, 13, 13, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 4, 13, 13, 2, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 13, 4, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 17, 13, 10, 12, 13, 10, 18, 13, 10, 17, 13 ]
[ [ 101, 9 ], [ 104, 14 ], [ 95, 17 ], [ 23, 22 ], [ 102, 26 ], [ 30, 29 ], [ 96, 30 ], [ 33, 32 ], [ 36, 35 ], [ 22, 40 ], [ 22, 44 ], [ 35, 45 ], [ 49, 48 ], [ 29, 51 ], [ 48, 51 ], [ 35, 53 ], [ 22, 58 ], [ 35, 59 ], [ 63, 62 ], [ 32, 65 ], [ 62, 65 ], [ 35, 67 ], [ 48, 73 ], [ 29, 73 ], [ 62, 74 ], [ 32, 74 ], [ 62, 77 ], [ 32, 77 ], [ 48, 78 ], [ 29, 78 ], [ 99, 93 ], [ 95, 96 ], [ 101, 102 ], [ 104, 105 ] ]
[ "from sys import stdin\nimport math\nimport re\nimport queue\n\ninput = stdin.readline\n\nMOD = 1000000007\nINF = 122337203685477580\n\ndef solve():\n str = (input().rstrip())\n FC = INF\n LF = 0\n for x in range(len(str)):\n if(str[x] == 'C'):\n FC = min(FC,x+1)\n if(str[x] =='F'):\n LF = max(LF,x+1)\n \n if(FC*LF > 0 and LF > FC):\n print(\"Yes\")\n else:\n print(\"No\")\n\n\n print(\"\")\nif __name__ == '__main__':\n solve()", "from sys import stdin", "import math", "math", "import re", "re", "import queue", "queue", "input = stdin.readline", "input", "stdin.readline", "stdin", "readline", "MOD = 1000000007", "MOD", "1000000007", "INF = 122337203685477580", "INF", "122337203685477580", "def solve():\n str = (input().rstrip())\n FC = INF\n LF = 0\n for x in range(len(str)):\n if(str[x] == 'C'):\n FC = min(FC,x+1)\n if(str[x] =='F'):\n LF = max(LF,x+1)\n \n if(FC*LF > 0 and LF > FC):\n print(\"Yes\")\n else:\n print(\"No\")\n\n\n print(\"\")", "solve", "str = (input().rstrip())", "str", "input().rstrip()", "().rstrip", "()", "input", "rstrip", "FC = INF", "FC", "INF", "LF = 0", "LF", "0", "for x in range(len(str)):\n if(str[x] == 'C'):\n FC = min(FC,x+1)\n if(str[x] =='F'):\n LF = max(LF,x+1)\n \n ", "x", "range(len(str))", "range", "len(str)", "len", "str", "if(str[x] == 'C'):\n FC = min(FC,x+1)\n ", "str[x] == 'C'", "str[x]", "str", "x", "'C'", "FC = min(FC,x+1)", "FC", "min(FC,x+1)", "min", "FC", "x+1", "x", "1", "if(str[x] =='F'):\n LF = max(LF,x+1)\n \n ", "str[x] =='F'", "str[x]", "str", "x", "'F'", "LF = max(LF,x+1)", "LF", "max(LF,x+1)", "max", "LF", "x+1", "x", "1", "if(FC*LF > 0 and LF > FC):\n print(\"Yes\")\n else:\n print(\"No\")\n\n\n ", "FC*LF > 0 and LF > FC", "FC*LF > 0", "FC*LF", "FC", "LF", "0", "LF > FC", "LF", "FC", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"\")", "print", "\"\"", "if __name__ == '__main__':\n solve()", "__name__ == '__main__'", "__name__", "'__main__'", "solve()", "solve", "INF = 122337203685477580", "122337203685477580", "INF", "def solve():\n str = (input().rstrip())\n FC = INF\n LF = 0\n for x in range(len(str)):\n if(str[x] == 'C'):\n FC = min(FC,x+1)\n if(str[x] =='F'):\n LF = max(LF,x+1)\n \n if(FC*LF > 0 and LF > FC):\n print(\"Yes\")\n else:\n print(\"No\")\n\n\n print(\"\")", "def solve():\n str = (input().rstrip())\n FC = INF\n LF = 0\n for x in range(len(str)):\n if(str[x] == 'C'):\n FC = min(FC,x+1)\n if(str[x] =='F'):\n LF = max(LF,x+1)\n \n if(FC*LF > 0 and LF > FC):\n print(\"Yes\")\n else:\n print(\"No\")\n\n\n print(\"\")", "solve", "input = stdin.readline", "stdin.readline", "input", "MOD = 1000000007", "1000000007", "MOD" ]
from sys import stdin import math import re import queue input = stdin.readline MOD = 1000000007 INF = 122337203685477580 def solve(): str = (input().rstrip()) FC = INF LF = 0 for x in range(len(str)): if(str[x] == 'C'): FC = min(FC,x+1) if(str[x] =='F'): LF = max(LF,x+1) if(FC*LF > 0 and LF > FC): print("Yes") else: print("No") print("") if __name__ == '__main__': solve()
[ 7, 0, 13, 4, 13, 14, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 37, 2 ], [ 38, 10 ], [ 38, 13 ], [ 38, 17 ], [ 38, 22 ], [ 38, 27 ], [ 37, 38 ] ]
[ "s = input()\n\nif \"C\" in s and \"F\" in s and s.find(\"C\") < s.find(\"F\", s.find(\"C\")):\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "if \"C\" in s and \"F\" in s and s.find(\"C\") < s.find(\"F\", s.find(\"C\")):\n print(\"Yes\")\nelse:\n print(\"No\")", "\"C\" in s and \"F\" in s and s.find(\"C\") < s.find(\"F\", s.find(\"C\"))", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "s.find(\"C\") < s.find(\"F\", s.find(\"C\"))", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "s.find(\"F\", s.find(\"C\"))", "s.find", "s", "find", "\"F\"", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
s = input() if "C" in s and "F" in s and s.find("C") < s.find("F", s.find("C")): print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 8, 2, 2, 40, 13, 17, 40, 13, 17, 2, 2, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 40, 2 ], [ 46, 6 ], [ 41, 9 ], [ 43, 13 ], [ 41, 16 ], [ 47, 23 ], [ 44, 26 ], [ 47, 30 ], [ 44, 31 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ] ]
[ "s = input()\nc = s.rfind('C')\nf = s.rfind('F')\nprint('Yes') if c >= 0 and f >= 0 and (c - f) < 0 else print('No')", "s = input()", "s", "input()", "input", "c = s.rfind('C')", "c", "s.rfind('C')", "s.rfind", "s", "rfind", "'C'", "f = s.rfind('F')", "f", "s.rfind('F')", "s.rfind", "s", "rfind", "'F'", "print('Yes') if c >= 0 and f >= 0 and (c - f) < 0 else print('No')", "c >= 0 and f >= 0 and (c - f) < 0", "c >= 0 and f >= 0", "c >= 0", "c", "0", "f >= 0", "f", "0", "(c - f) < 0", "c - f", "c", "f", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input()", "input()", "s", "f = s.rfind('F')", "s.rfind('F')", "f", "c = s.rfind('C')", "s.rfind('C')", "c" ]
s = input() c = s.rfind('C') f = s.rfind('F') print('Yes') if c >= 0 and f >= 0 and (c - f) < 0 else print('No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 14, 2, 2, 17, 13, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 18, 13, 39, 17, 0, 13, 2, 2, 13, 4, 18, 13, 13, 17, 17, 4, 13, 8, 2, 13, 13, 17, 17, 4, 13, 17, 10, 4, 13, 10, 18, 13, 10, 2, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 66, 2 ], [ 54, 6 ], [ 67, 9 ], [ 67, 14 ], [ 67, 17 ], [ 63, 19 ], [ 67, 22 ], [ 57, 26 ], [ 67, 28 ], [ 60, 32 ], [ 55, 35 ], [ 58, 38 ], [ 67, 38 ], [ 64, 46 ], [ 61, 47 ], [ 54, 55 ], [ 57, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ] ]
[ "S=input()\nN=len(S)\n\nif \"C\" in S and \"F\" in S:\n c=S.index(\"C\")\n S=S[::-1]\n f=N-S.index(\"F\")-1\n #print(c,f)\n print(\"Yes\" if c<f else \"No\")\nelse: \n print(\"No\")", "S=input()", "S", "input()", "input", "N=len(S)", "N", "len(S)", "len", "S", "if \"C\" in S and \"F\" in S:\n c=S.index(\"C\")\n S=S[::-1]\n f=N-S.index(\"F\")-1\n #print(c,f)\n print(\"Yes\" if c<f else \"No\")\nelse: \n print(\"No\")", "\"C\" in S and \"F\" in S", "\"C\" in S", "\"C\"", "S", "\"F\" in S", "\"F\"", "S", "c=S.index(\"C\")", "c", "S.index(\"C\")", "S.index", "S", "index", "\"C\"", "S=S[::-1]", "S", "S[::-1]", "S", "::-1", "-1", "f=N-S.index(\"F\")-1", "f", "N-S.index(\"F\")-1", "N-S.index(\"F\")", "N", "S.index(\"F\")", "S.index", "S", "index", "\"F\"", "1", "print(\"Yes\" if c<f else \"No\")", "print", "\"Yes\" if c<f else \"No\"", "c<f", "c", "f", "\"Yes\"", "\"No\"", "print(\"No\")", "print", "\"No\"", "N=len(S)", "len(S)", "N", "S=S[::-1]", "S[::-1]", "S", "f=N-S.index(\"F\")-1", "N-S.index(\"F\")-1", "f", "c=S.index(\"C\")", "S.index(\"C\")", "c", "S=input()", "input()", "S" ]
S=input() N=len(S) if "C" in S and "F" in S: c=S.index("C") S=S[::-1] f=N-S.index("F")-1 #print(c,f) print("Yes" if c<f else "No") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 12, 13, 28, 13, 4, 13, 13, 28, 13, 4, 13, 2, 13, 17, 13, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 29, 17, 29, 17, 4, 13, 4, 13, 10, 12, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 52, 2 ], [ 49, 6 ], [ 53, 9 ], [ 14, 13 ], [ 50, 16 ], [ 19, 18 ], [ 13, 22 ], [ 50, 24 ], [ 53, 29 ], [ 13, 30 ], [ 53, 34 ], [ 18, 35 ], [ 47, 44 ], [ 49, 50 ], [ 52, 53 ] ]
[ "s = input()\nn = len(s)\n\ndef solve() :\n for i in range(n) :\n for j in range(i + 1, n) :\n if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n return 'No'\n \nprint(solve())", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "def solve() :\n for i in range(n) :\n for j in range(i + 1, n) :\n if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n return 'No'\n ", "solve", "for i in range(n) :\n for j in range(i + 1, n) :\n if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n ", "i", "range(n)", "range", "n", "for j in range(i + 1, n) :\n if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n ", "j", "range(i + 1, n)", "range", "i + 1", "i", "1", "n", "if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n ", "s[i] == 'C' and s[j] == 'F'", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "s[j] == 'F'", "s[j]", "s", "j", "'F'", "return 'Yes'", "'Yes'", "return 'No'", "'No'", "print(solve())", "print", "solve()", "solve", "def solve() :\n for i in range(n) :\n for j in range(i + 1, n) :\n if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n return 'No'\n ", "def solve() :\n for i in range(n) :\n for j in range(i + 1, n) :\n if s[i] == 'C' and s[j] == 'F' :\n return 'Yes'\n \n return 'No'\n ", "solve", "n = len(s)", "len(s)", "n", "s = input()", "input()", "s" ]
s = input() n = len(s) def solve() : for i in range(n) : for j in range(i + 1, n) : if s[i] == 'C' and s[j] == 'F' : return 'Yes' return 'No' print(solve())
[ 7, 15, 13, 0, 13, 4, 13, 14, 40, 4, 18, 13, 13, 17, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 23, 4 ], [ 24, 14 ], [ 23, 24 ] ]
[ "import re\ns = input()\nif re.search(r'.*C.*F.*', s) != None:\n print('Yes')\nelse:\n print('No')", "import re", "re", "s = input()", "s", "input()", "input", "if re.search(r'.*C.*F.*', s) != None:\n print('Yes')\nelse:\n print('No')", "re.search(r'.*C.*F.*', s) != None", "re.search(r'.*C.*F.*', s)", "re.search", "re", "search", "r'.*C.*F.*'", "s", "None", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input()", "input()", "s" ]
import re s = input() if re.search(r'.*C.*F.*', s) != None: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 14, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 32, 2 ], [ 33, 10 ], [ 33, 13 ], [ 33, 17 ], [ 33, 22 ], [ 32, 33 ] ]
[ "s = input()\nif \"C\" in s and \"F\" in s and s.find(\"C\") < s.rfind(\"F\"):\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "if \"C\" in s and \"F\" in s and s.find(\"C\") < s.rfind(\"F\"):\n print(\"Yes\")\nelse:\n print(\"No\")", "\"C\" in s and \"F\" in s and s.find(\"C\") < s.rfind(\"F\")", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "s.find(\"C\") < s.rfind(\"F\")", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
s = input() if "C" in s and "F" in s and s.find("C") < s.rfind("F"): print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 4, 13, 14, 4, 18, 13, 13, 17, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 21, 4 ], [ 22, 13 ], [ 21, 22 ] ]
[ "import re\ns = input()\nif re.search(r\".*C.*F.*\", s):\n print(\"Yes\")\nelse:\n print(\"No\")", "import re", "re", "s = input()", "s", "input()", "input", "if re.search(r\".*C.*F.*\", s):\n print(\"Yes\")\nelse:\n print(\"No\")", "re.search(r\".*C.*F.*\", s)", "re.search", "re", "search", "r\".*C.*F.*\"", "s", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
import re s = input() if re.search(r".*C.*F.*", s): print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 18, 13, 13, 13, 0, 13, 17, 14, 2, 13, 4, 13, 13, 29, 17, 29, 17, 23, 13, 0, 13, 4, 13, 4, 13, 4, 13, 13, 10, 12, 13, 10, 4, 13 ]
[ [ 5, 4 ], [ 8, 7 ], [ 11, 10 ], [ 32, 10 ], [ 4, 15 ], [ 7, 16 ], [ 19, 16 ], [ 10, 17 ], [ 20, 19 ], [ 19, 23 ], [ 7, 23 ], [ 4, 26 ], [ 32, 32 ], [ 46, 34 ], [ 44, 40 ], [ 47, 41 ], [ 46, 47 ] ]
[ "def solve(s):\n key = \"CF\"\n position = 0\n for c in s:\n if key[position] == c:\n position += 1\n if position == len(key):\n return \"Yes\"\n return \"No\"\n\ns = input()\nprint(solve(s))", "def solve(s):\n key = \"CF\"\n position = 0\n for c in s:\n if key[position] == c:\n position += 1\n if position == len(key):\n return \"Yes\"\n return \"No\"", "solve", "key = \"CF\"", "key", "\"CF\"", "position = 0", "position", "0", "for c in s:\n if key[position] == c:\n position += 1\n if position == len(key):\n return \"Yes\"\n ", "c", "s", "if key[position] == c:\n position += 1\n if position == len(key):\n return \"Yes\"\n ", "key[position] == c", "key[position]", "key", "position", "c", "position += 1", "position", "1", "if position == len(key):\n return \"Yes\"\n ", "position == len(key)", "position", "len(key)", "len", "key", "return \"Yes\"", "\"Yes\"", "return \"No\"", "\"No\"", "s", "s", "s = input()", "s", "input()", "input", "print(solve(s))", "print", "solve(s)", "solve", "s", "def solve(s):\n key = \"CF\"\n position = 0\n for c in s:\n if key[position] == c:\n position += 1\n if position == len(key):\n return \"Yes\"\n return \"No\"", "def solve(s):\n key = \"CF\"\n position = 0\n for c in s:\n if key[position] == c:\n position += 1\n if position == len(key):\n return \"Yes\"\n return \"No\"", "solve", "s = input()", "input()", "s" ]
def solve(s): key = "CF" position = 0 for c in s: if key[position] == c: position += 1 if position == len(key): return "Yes" return "No" s = input() print(solve(s))
[ 7, 15, 13, 0, 13, 4, 13, 4, 13, 0, 13, 39, 0, 13, 39, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 4, 18, 13, 13, 13, 14, 2, 13, 17, 4, 18, 13, 13, 13, 14, 2, 40, 17, 13, 40, 17, 13, 4, 13, 17, 4, 18, 13, 13, 14, 2, 2, 4, 13, 13, 4, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13, 10, 39, 13 ]
[ [ 71, 4 ], [ 74, 10 ], [ 77, 13 ], [ 72, 20 ], [ 75, 27 ], [ 78, 36 ], [ 72, 43 ], [ 72, 46 ], [ 78, 59 ], [ 75, 62 ], [ 71, 72 ], [ 74, 75 ], [ 77, 78 ] ]
[ "import sys\n\ns = list(input())\ncm = []\nfM = []\nfor i, j in enumerate(s):\n if j == \"C\":\n cm.append(i)\n if j == \"F\":\n fM.append(i)\nif \"C\" not in s or \"F\" not in s:\n print(\"No\")\n sys.exit()\nif max(fM) - min(cm) > 0:\n print(\"Yes\")\nelse:\n print(\"No\")", "import sys", "sys", "s = list(input())", "s", "list(input())", "list", "input()", "input", "cm = []", "cm", "[]", "fM = []", "fM", "[]", "for i, j in enumerate(s):\n if j == \"C\":\n cm.append(i)\n if j == \"F\":\n fM.append(i)", "i", "j", "enumerate(s)", "enumerate", "s", "if j == \"C\":\n cm.append(i)\n ", "j == \"C\"", "j", "\"C\"", "cm.append(i)", "cm.append", "cm", "append", "i", "if j == \"F\":\n fM.append(i)", "j == \"F\"", "j", "\"F\"", "fM.append(i)", "fM.append", "fM", "append", "i", "if \"C\" not in s or \"F\" not in s:\n print(\"No\")\n sys.exit()", "\"C\" not in s or \"F\" not in s", "\"C\" not in s", "\"C\"", "s", "\"F\" not in s", "\"F\"", "s", "print(\"No\")", "print", "\"No\"", "sys.exit()", "sys.exit", "sys", "exit", "if max(fM) - min(cm) > 0:\n print(\"Yes\")\nelse:\n print(\"No\")", "max(fM) - min(cm) > 0", "max(fM) - min(cm)", "max(fM)", "max", "fM", "min(cm)", "min", "cm", "0", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = list(input())", "list(input())", "s", "cm = []", "[]", "cm", "fM = []", "[]", "fM" ]
import sys s = list(input()) cm = [] fM = [] for i, j in enumerate(s): if j == "C": cm.append(i) if j == "F": fM.append(i) if "C" not in s or "F" not in s: print("No") sys.exit() if max(fM) - min(cm) > 0: print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 4, 18, 13, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 27, 4 ], [ 30, 8 ], [ 31, 17 ], [ 28, 19 ], [ 27, 28 ], [ 30, 31 ] ]
[ "import re\ns = input()\nm = re.compile('[A-Z]*C[A-Z]*F[A-Z]*')\nif m.fullmatch(s):\n print('Yes')\nelse:\n print('No')", "import re", "re", "s = input()", "s", "input()", "input", "m = re.compile('[A-Z]*C[A-Z]*F[A-Z]*')", "m", "re.compile('[A-Z]*C[A-Z]*F[A-Z]*')", "re.compile", "re", "compile", "'[A-Z]*C[A-Z]*F[A-Z]*'", "if m.fullmatch(s):\n print('Yes')\nelse:\n print('No')", "m.fullmatch(s)", "m.fullmatch", "m", "fullmatch", "s", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input()", "input()", "s", "m = re.compile('[A-Z]*C[A-Z]*F[A-Z]*')", "re.compile('[A-Z]*C[A-Z]*F[A-Z]*')", "m" ]
import re s = input() m = re.compile('[A-Z]*C[A-Z]*F[A-Z]*') if m.fullmatch(s): print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 17, 4, 18, 13, 13, 17, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 32, 2 ], [ 35, 6 ], [ 33, 9 ], [ 36, 16 ], [ 33, 21 ], [ 36, 24 ], [ 32, 33 ], [ 35, 36 ] ]
[ "s = input()\n\npc = s.find(\"C\")\nif -1 < pc and -1 < s.find(\"F\", pc): \n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "pc = s.find(\"C\")", "pc", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "if -1 < pc and -1 < s.find(\"F\", pc): \n print(\"Yes\")\nelse:\n print(\"No\")", "-1 < pc and -1 < s.find(\"F\", pc)", "-1 < pc", "-1", "pc", "-1 < s.find(\"F\", pc)", "-1", "s.find(\"F\", pc)", "s.find", "s", "find", "\"F\"", "pc", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "pc = s.find(\"C\")", "s.find(\"C\")", "pc" ]
s = input() pc = s.find("C") if -1 < pc and -1 < s.find("F", pc): print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 18, 13, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 0, 13, 4, 18, 18, 13, 39, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 4, 13, 10, 18, 13, 10, 2, 13, 10, 12, 13, 10, 18, 13 ]
[ [ 88, 4 ], [ 97, 11 ], [ 85, 27 ], [ 91, 32 ], [ 42, 41 ], [ 46, 45 ], [ 41, 48 ], [ 45, 53 ], [ 60, 59 ], [ 41, 63 ], [ 59, 70 ], [ 95, 83 ], [ 85, 86 ], [ 88, 89 ], [ 91, 92 ], [ 97, 98 ] ]
[ "import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.buffer.readline\nsys.setrecursionlimit(10 ** 8)\nINF = float('inf')\nMOD = 10 ** 9 + 7\n\n\ndef main():\n S = input()\n idx = S.find('C')\n if idx == -1:\n print('No')\n else:\n i = S[idx:].find('F')\n if i == -1:\n print('No')\n else:\n print('Yes')\n\n\nif __name__ == '__main__':\n main()", "import sys", "sys", "read = sys.stdin.read", "read", "sys.stdin.read", "sys.stdin", "sys", "stdin", "read", "readline = sys.stdin.buffer.readline", "readline", "sys.stdin.buffer.readline", "sys.stdin.buffer", "sys.stdin", "sys", "stdin", "buffer", "readline", "sys.setrecursionlimit(10 ** 8)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 8", "10", "8", "INF = float('inf')", "INF", "float('inf')", "float", "'inf'", "MOD = 10 ** 9 + 7", "MOD", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "def main():\n S = input()\n idx = S.find('C')\n if idx == -1:\n print('No')\n else:\n i = S[idx:].find('F')\n if i == -1:\n print('No')\n else:\n print('Yes')", "main", "S = input()", "S", "input()", "input", "idx = S.find('C')", "idx", "S.find('C')", "S.find", "S", "find", "'C'", "if idx == -1:\n print('No')\n else:\n i = S[idx:].find('F')\n if i == -1:\n print('No')\n else:\n print('Yes')", "idx == -1", "idx", "-1", "print('No')", "print", "'No'", "i = S[idx:].find('F')", "i", "S[idx:].find('F')", "[idx:].find", "[idx:]", "S", "idx:", "idx", "find", "'F'", "if i == -1:\n print('No')\n else:\n print('Yes')", "i == -1", "i", "-1", "print('No')", "print", "'No'", "print('Yes')", "print", "'Yes'", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "INF = float('inf')", "float('inf')", "INF", "read = sys.stdin.read", "sys.stdin.read", "read", "MOD = 10 ** 9 + 7", "10 ** 9 + 7", "MOD", "def main():\n S = input()\n idx = S.find('C')\n if idx == -1:\n print('No')\n else:\n i = S[idx:].find('F')\n if i == -1:\n print('No')\n else:\n print('Yes')", "def main():\n S = input()\n idx = S.find('C')\n if idx == -1:\n print('No')\n else:\n i = S[idx:].find('F')\n if i == -1:\n print('No')\n else:\n print('Yes')", "main", "readline = sys.stdin.buffer.readline", "sys.stdin.buffer.readline", "readline" ]
import sys read = sys.stdin.read readline = sys.stdin.buffer.readline sys.setrecursionlimit(10 ** 8) INF = float('inf') MOD = 10 ** 9 + 7 def main(): S = input() idx = S.find('C') if idx == -1: print('No') else: i = S[idx:].find('F') if i == -1: print('No') else: print('Yes') if __name__ == '__main__': main()
[ 7, 15, 13, 12, 13, 12, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 9, 8 ], [ 50, 10 ], [ 13, 12 ], [ 8, 15 ], [ 20, 19 ], [ 8, 22 ], [ 12, 28 ], [ 19, 31 ], [ 12, 38 ], [ 19, 39 ], [ 53, 47 ] ]
[ "import sys\ndef input(): return sys.stdin.readline().strip()\n\ndef resolve():\n s=input()\n a=s.find('C')\n b=s.rfind('F')\n if a==-1 or b==-1:\n print('No')\n else:\n if a<b:\n print('Yes')\n else:\n print('No')\nresolve()", "import sys", "sys", "def input(): return sys.stdin.readline().strip()", "input", "def resolve():\n s=input()\n a=s.find('C')\n b=s.rfind('F')\n if a==-1 or b==-1:\n print('No')\n else:\n if a<b:\n print('Yes')\n else:\n print('No')", "resolve", "s=input()", "s", "input()", "input", "a=s.find('C')", "a", "s.find('C')", "s.find", "s", "find", "'C'", "b=s.rfind('F')", "b", "s.rfind('F')", "s.rfind", "s", "rfind", "'F'", "if a==-1 or b==-1:\n print('No')\n else:\n if a<b:\n print('Yes')\n else:\n print('No')", "a==-1 or b==-1", "a==-1", "a", "-1", "b==-1", "b", "-1", "print('No')", "print", "'No'", "if a<b:\n print('Yes')\n else:\n print('No')", "a<b", "a", "b", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "resolve()", "resolve", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input", "def resolve():\n s=input()\n a=s.find('C')\n b=s.rfind('F')\n if a==-1 or b==-1:\n print('No')\n else:\n if a<b:\n print('Yes')\n else:\n print('No')", "def resolve():\n s=input()\n a=s.find('C')\n b=s.rfind('F')\n if a==-1 or b==-1:\n print('No')\n else:\n if a<b:\n print('Yes')\n else:\n print('No')", "resolve" ]
import sys def input(): return sys.stdin.readline().strip() def resolve(): s=input() a=s.find('C') b=s.rfind('F') if a==-1 or b==-1: print('No') else: if a<b: print('Yes') else: print('No') resolve()
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 28, 13, 4, 13, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 4, 13, 8, 13, 17, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 51, 2 ], [ 48, 6 ], [ 10, 9 ], [ 52, 14 ], [ 52, 18 ], [ 9, 19 ], [ 23, 22 ], [ 9, 25 ], [ 52, 28 ], [ 52, 32 ], [ 22, 33 ], [ 45, 36 ], [ 46, 41 ], [ 49, 41 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "# h,w=map(int,input().split())\ns=input()\n\nflag=False\nfor i in range(len(s)):\n if s[i] == 'C':\n for j in range(i,len(s)):\n if s[j]=='F':\n flag=True\nprint('Yes' if flag else 'No')", "s=input()", "s", "input()", "input", "flag=False", "flag", "False", "for i in range(len(s)):\n if s[i] == 'C':\n for j in range(i,len(s)):\n if s[j]=='F':\n flag=True", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == 'C':\n for j in range(i,len(s)):\n if s[j]=='F':\n flag=True", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "for j in range(i,len(s)):\n if s[j]=='F':\n flag=True", "j", "range(i,len(s))", "range", "i", "len(s)", "len", "s", "if s[j]=='F':\n flag=True", "s[j]=='F'", "s[j]", "s", "j", "'F'", "flag=True", "flag", "True", "print('Yes' if flag else 'No')", "print", "'Yes' if flag else 'No'", "flag", "'Yes'", "'No'", "flag=True", "True", "flag", "flag=False", "False", "flag", "s=input()", "input()", "s" ]
# h,w=map(int,input().split()) s=input() flag=False for i in range(len(s)): if s[i] == 'C': for j in range(i,len(s)): if s[j]=='F': flag=True print('Yes' if flag else 'No')
[ 7, 0, 13, 4, 13, 14, 2, 4, 18, 13, 13, 17, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 4, 18, 18, 13, 39, 2, 13, 17, 13, 17, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 46, 9 ], [ 42, 14 ], [ 46, 17 ], [ 46, 25 ], [ 43, 28 ], [ 42, 43 ], [ 45, 46 ] ]
[ "S = input()\nif S.count(\"C\") > 0:\n k = S.index(\"C\")\n if S[k+1:].count(\"F\") > 0:\n print(\"Yes\")\n exit()\nprint(\"No\")", "S = input()", "S", "input()", "input", "if S.count(\"C\") > 0:\n k = S.index(\"C\")\n if S[k+1:].count(\"F\") > 0:\n print(\"Yes\")\n exit()", "S.count(\"C\") > 0", "S.count(\"C\")", "S.count", "S", "count", "\"C\"", "0", "k = S.index(\"C\")", "k", "S.index(\"C\")", "S.index", "S", "index", "\"C\"", "if S[k+1:].count(\"F\") > 0:\n print(\"Yes\")\n exit()", "S[k+1:].count(\"F\") > 0", "S[k+1:].count(\"F\")", "[k+1:].count", "[k+1:]", "S", "k+1:", "k+1", "k", "1", "count", "\"F\"", "0", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "k = S.index(\"C\")", "S.index(\"C\")", "k", "S = input()", "input()", "S" ]
S = input() if S.count("C") > 0: k = S.index("C") if S[k+1:].count("F") > 0: print("Yes") exit() print("No")
[ 7, 15, 13, 12, 13, 0, 13, 18, 18, 18, 13, 13, 13, 13, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 4, 18, 4, 18, 4, 13, 13, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 16, 15 ], [ 23, 22 ], [ 6, 30 ], [ 36, 35 ], [ 39, 38 ], [ 22, 43 ], [ 35, 46 ], [ 55, 46 ], [ 22, 51 ], [ 38, 52 ], [ 56, 55 ], [ 35, 59 ], [ 55, 59 ], [ 22, 64 ], [ 38, 65 ], [ 83, 80 ] ]
[ "import sys\n\n\ndef solve():\n readline = sys.stdin.buffer.readline\n mod = 10 ** 9 + 7\n s = str(readline().rstrip().decode('utf-8'))\n cnt = 0\n for i in range(len(s)):\n if cnt == 0:\n if s[i] == \"C\":\n cnt += 1\n elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")\n\n\nif __name__ == '__main__':\n solve()", "import sys", "sys", "def solve():\n readline = sys.stdin.buffer.readline\n mod = 10 ** 9 + 7\n s = str(readline().rstrip().decode('utf-8'))\n cnt = 0\n for i in range(len(s)):\n if cnt == 0:\n if s[i] == \"C\":\n cnt += 1\n elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")", "solve", "readline = sys.stdin.buffer.readline", "readline", "sys.stdin.buffer.readline", "sys.stdin.buffer", "sys.stdin", "sys", "stdin", "buffer", "readline", "mod = 10 ** 9 + 7", "mod", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "s = str(readline().rstrip().decode('utf-8'))", "s", "str(readline().rstrip().decode('utf-8'))", "str", "readline().rstrip().decode('utf-8')", "().rstrip().decode", "().rstrip()", "().rstrip", "()", "readline", "rstrip", "decode", "'utf-8'", "cnt = 0", "cnt", "0", "for i in range(len(s)):\n if cnt == 0:\n if s[i] == \"C\":\n cnt += 1\n elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if cnt == 0:\n if s[i] == \"C\":\n cnt += 1\n elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "cnt == 0", "cnt", "0", "if s[i] == \"C\":\n cnt += 1\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "cnt += 1", "cnt", "1", "elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "cnt == 1", "cnt", "1", "if s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "if __name__ == '__main__':\n solve()", "__name__ == '__main__'", "__name__", "'__main__'", "solve()", "solve", "def solve():\n readline = sys.stdin.buffer.readline\n mod = 10 ** 9 + 7\n s = str(readline().rstrip().decode('utf-8'))\n cnt = 0\n for i in range(len(s)):\n if cnt == 0:\n if s[i] == \"C\":\n cnt += 1\n elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")", "def solve():\n readline = sys.stdin.buffer.readline\n mod = 10 ** 9 + 7\n s = str(readline().rstrip().decode('utf-8'))\n cnt = 0\n for i in range(len(s)):\n if cnt == 0:\n if s[i] == \"C\":\n cnt += 1\n elif cnt == 1:\n if s[i] == \"F\":\n print(\"Yes\")\n exit()\n print(\"No\")", "solve" ]
import sys def solve(): readline = sys.stdin.buffer.readline mod = 10 ** 9 + 7 s = str(readline().rstrip().decode('utf-8')) cnt = 0 for i in range(len(s)): if cnt == 0: if s[i] == "C": cnt += 1 elif cnt == 1: if s[i] == "F": print("Yes") exit() print("No") if __name__ == '__main__': solve()
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 44, 2 ], [ 47, 6 ], [ 45, 9 ], [ 41, 13 ], [ 45, 16 ], [ 48, 22 ], [ 42, 25 ], [ 48, 32 ], [ 42, 33 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "s = input()\n\na = s.find(\"C\")\nb = s.rfind(\"F\")\nif a == -1 or b == -1:\n\tprint (\"No\")\nelse:\n\tif a < b:\n\t\tprint (\"Yes\")\n\telse:\n\t\tprint (\"No\")", "s = input()", "s", "input()", "input", "a = s.find(\"C\")", "a", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "b = s.rfind(\"F\")", "b", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "if a == -1 or b == -1:\n\tprint (\"No\")\nelse:\n\tif a < b:\n\t\tprint (\"Yes\")\n\telse:\n\t\tprint (\"No\")", "a == -1 or b == -1", "a == -1", "a", "-1", "b == -1", "b", "-1", "print (\"No\")", "print", "\"No\"", "if a < b:\n\t\tprint (\"Yes\")\n\telse:\n\t\tprint (\"No\")", "a < b", "a", "b", "print (\"Yes\")", "print", "\"Yes\"", "print (\"No\")", "print", "\"No\"", "b = s.rfind(\"F\")", "s.rfind(\"F\")", "b", "s = input()", "input()", "s", "a = s.find(\"C\")", "s.find(\"C\")", "a" ]
s = input() a = s.find("C") b = s.rfind("F") if a == -1 or b == -1: print ("No") else: if a < b: print ("Yes") else: print ("No")
[ 7, 0, 13, 4, 13, 14, 2, 2, 17, 13, 2, 17, 13, 14, 2, 4, 18, 13, 13, 17, 18, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 32, 2 ], [ 33, 9 ], [ 33, 12 ], [ 33, 17 ], [ 32, 33 ] ]
[ "S = input()\nif \"C\" in S and \"F\" in S:\n if S.index(\"C\")<[i for i, x in enumerate(S) if x == \"F\"][-1]:\n print(\"Yes\")\n exit()\nprint(\"No\")", "S = input()", "S", "input()", "input", "if \"C\" in S and \"F\" in S:\n if S.index(\"C\")<[i for i, x in enumerate(S) if x == \"F\"][-1]:\n print(\"Yes\")\n exit()", "\"C\" in S and \"F\" in S", "\"C\" in S", "\"C\"", "S", "\"F\" in S", "\"F\"", "S", "if S.index(\"C\")<[i for i, x in enumerate(S) if x == \"F\"][-1]:\n print(\"Yes\")\n exit()", "S.index(\"C\")<[i for i, x in enumerate(S) if x == \"F\"][-1]", "S.index(\"C\")", "S.index", "S", "index", "\"C\"", "[i for i, x in enumerate(S) if x == \"F\"][-1]", "[i for i, x in enumerate(S) if x == \"F\"]", "-1", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "S = input()", "input()", "S" ]
S = input() if "C" in S and "F" in S: if S.index("C")<[i for i, x in enumerate(S) if x == "F"][-1]: print("Yes") exit() print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 0, 13, 17, 3, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 48, 2 ], [ 54, 6 ], [ 45, 9 ], [ 13, 12 ], [ 49, 12 ], [ 12, 16 ], [ 51, 19 ], [ 55, 23 ], [ 52, 23 ], [ 12, 25 ], [ 42, 28 ], [ 52, 33 ], [ 55, 33 ], [ 43, 34 ], [ 46, 34 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ] ]
[ "S = input()\n\nc = 0\nf = 0\nfor s in S:\n if s == \"C\":\n c = 1\n elif c and s == \"F\":\n f = 1\n break\n\nif c and f:\n print(\"Yes\")\nelse:\n print(\"No\")", "S = input()", "S", "input()", "input", "c = 0", "c", "0", "f = 0", "f", "0", "for s in S:\n if s == \"C\":\n c = 1\n elif c and s == \"F\":\n f = 1\n break", "s", "S", "if s == \"C\":\n c = 1\n elif c and s == \"F\":\n f = 1\n break", "s == \"C\"", "s", "\"C\"", "c = 1", "c", "1", "elif c and s == \"F\":\n f = 1\n break", "c and s == \"F\"", "c", "s == \"F\"", "s", "\"F\"", "f = 1", "f", "1", "break", "if c and f:\n print(\"Yes\")\nelse:\n print(\"No\")", "c and f", "c", "f", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "f = 1", "1", "f", "f = 0", "0", "f", "S = input()", "input()", "S", "c = 1", "1", "c", "c = 0", "0", "c" ]
S = input() c = 0 f = 0 for s in S: if s == "C": c = 1 elif c and s == "F": f = 1 break if c and f: print("Yes") else: print("No")
[ 7, 0, 13, 2, 4, 13, 17, 0, 13, 2, 18, 13, 39, 17, 17, 0, 13, 4, 18, 13, 13, 17, 0, 13, 2, 2, 4, 13, 13, 17, 4, 18, 13, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 2, 13, 10, 2, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 49, 8 ], [ 47, 11 ], [ 55, 16 ], [ 47, 19 ], [ 52, 23 ], [ 47, 28 ], [ 50, 32 ], [ 56, 37 ], [ 53, 38 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ] ]
[ "s = input() + 'C'\nt = s[::-1] + 'F'\n\n# CF\n# 最も左にある C \n# 最も右にある F\n\nidx_C = s.index('C')\nidx_F = len(s) - 1 - t.index('F')\n\nif idx_C < idx_F:\n print('Yes')\nelse:\n print('No')", "s = input() + 'C'", "s", "input() + 'C'", "input()", "input", "'C'", "t = s[::-1] + 'F'", "t", "s[::-1] + 'F'", "s[::-1]", "s", "::-1", "-1", "'F'", "idx_C = s.index('C')", "idx_C", "s.index('C')", "s.index", "s", "index", "'C'", "idx_F = len(s) - 1 - t.index('F')", "idx_F", "len(s) - 1 - t.index('F')", "len(s) - 1", "len(s)", "len", "s", "1", "t.index('F')", "t.index", "t", "index", "'F'", "if idx_C < idx_F:\n print('Yes')\nelse:\n print('No')", "idx_C < idx_F", "idx_C", "idx_F", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input() + 'C'", "input() + 'C'", "s", "t = s[::-1] + 'F'", "s[::-1] + 'F'", "t", "idx_F = len(s) - 1 - t.index('F')", "len(s) - 1 - t.index('F')", "idx_F", "idx_C = s.index('C')", "s.index('C')", "idx_C" ]
s = input() + 'C' t = s[::-1] + 'F' # CF # 最も左にある C # 最も右にある F idx_C = s.index('C') idx_F = len(s) - 1 - t.index('F') if idx_C < idx_F: print('Yes') else: print('No')
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 13, 17, 28, 13, 13, 14, 2, 13, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 4, 13, 8, 2, 13, 13, 17, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 11, 10 ], [ 14, 13 ], [ 4, 13 ], [ 8, 17 ], [ 29, 17 ], [ 13, 19 ], [ 23, 22 ], [ 13, 26 ], [ 30, 29 ], [ 29, 35 ], [ 8, 35 ], [ 22, 36 ], [ 10, 36 ], [ 47, 44 ] ]
[ "def main():\n s=input()\n c,f=False,False\n for i in s:\n if c and i == \"F\":\n f=True\n elif i == \"C\":\n c=True\n print(\"Yes\" if c and f else \"No\")\n \nif __name__ == \"__main__\":\n main()", "def main():\n s=input()\n c,f=False,False\n for i in s:\n if c and i == \"F\":\n f=True\n elif i == \"C\":\n c=True\n print(\"Yes\" if c and f else \"No\")\n ", "main", "s=input()", "s", "input()", "input", "c,f=False,False", "c", "False", "f", "False", "for i in s:\n if c and i == \"F\":\n f=True\n elif i == \"C\":\n c=True\n ", "i", "s", "if c and i == \"F\":\n f=True\n elif i == \"C\":\n c=True\n ", "c and i == \"F\"", "c", "i == \"F\"", "i", "\"F\"", "f=True", "f", "True", "elif i == \"C\":\n c=True\n ", "i == \"C\"", "i", "\"C\"", "c=True", "c", "True", "print(\"Yes\" if c and f else \"No\")", "print", "\"Yes\" if c and f else \"No\"", "c and f", "c", "f", "\"Yes\"", "\"No\"", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n s=input()\n c,f=False,False\n for i in s:\n if c and i == \"F\":\n f=True\n elif i == \"C\":\n c=True\n print(\"Yes\" if c and f else \"No\")\n ", "def main():\n s=input()\n c,f=False,False\n for i in s:\n if c and i == \"F\":\n f=True\n elif i == \"C\":\n c=True\n print(\"Yes\" if c and f else \"No\")\n ", "main" ]
def main(): s=input() c,f=False,False for i in s: if c and i == "F": f=True elif i == "C": c=True print("Yes" if c and f else "No") if __name__ == "__main__": main()
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 29, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 4, 16 ], [ 8, 19 ], [ 41, 19 ], [ 28, 19 ], [ 4, 24 ], [ 11, 25 ], [ 29, 28 ], [ 28, 32 ], [ 8, 32 ], [ 41, 32 ], [ 4, 37 ], [ 11, 38 ], [ 42, 41 ], [ 41, 46 ], [ 28, 46 ], [ 8, 46 ], [ 64, 61 ] ]
[ "def solve():\n s = input()\n bit = 0\n for i in range(len(s)):\n if bit == 0:\n if s[i] == \"C\":\n bit = 1\n if bit == 1:\n if s[i] == \"F\":\n bit = 2\n break\n if bit == 2:\n print(\"Yes\")\n else:\n print(\"No\")\n return 0\n\nif __name__ == \"__main__\":\n solve()", "def solve():\n s = input()\n bit = 0\n for i in range(len(s)):\n if bit == 0:\n if s[i] == \"C\":\n bit = 1\n if bit == 1:\n if s[i] == \"F\":\n bit = 2\n break\n if bit == 2:\n print(\"Yes\")\n else:\n print(\"No\")\n return 0", "solve", "s = input()", "s", "input()", "input", "bit = 0", "bit", "0", "for i in range(len(s)):\n if bit == 0:\n if s[i] == \"C\":\n bit = 1\n if bit == 1:\n if s[i] == \"F\":\n bit = 2\n break\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if bit == 0:\n if s[i] == \"C\":\n bit = 1\n ", "bit == 0", "bit", "0", "if s[i] == \"C\":\n bit = 1\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "bit = 1", "bit", "1", "if bit == 1:\n if s[i] == \"F\":\n bit = 2\n break\n ", "bit == 1", "bit", "1", "if s[i] == \"F\":\n bit = 2\n break\n ", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "bit = 2", "bit", "2", "break", "if bit == 2:\n print(\"Yes\")\n else:\n print(\"No\")\n ", "bit == 2", "bit", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "return 0", "0", "if __name__ == \"__main__\":\n solve()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "solve()", "solve", "def solve():\n s = input()\n bit = 0\n for i in range(len(s)):\n if bit == 0:\n if s[i] == \"C\":\n bit = 1\n if bit == 1:\n if s[i] == \"F\":\n bit = 2\n break\n if bit == 2:\n print(\"Yes\")\n else:\n print(\"No\")\n return 0", "def solve():\n s = input()\n bit = 0\n for i in range(len(s)):\n if bit == 0:\n if s[i] == \"C\":\n bit = 1\n if bit == 1:\n if s[i] == \"F\":\n bit = 2\n break\n if bit == 2:\n print(\"Yes\")\n else:\n print(\"No\")\n return 0", "solve" ]
def solve(): s = input() bit = 0 for i in range(len(s)): if bit == 0: if s[i] == "C": bit = 1 if bit == 1: if s[i] == "F": bit = 2 break if bit == 2: print("Yes") else: print("No") return 0 if __name__ == "__main__": solve()
[ 7, 15, 13, 0, 13, 4, 13, 14, 2, 40, 4, 18, 13, 13, 17, 17, 40, 4, 18, 13, 13, 17, 17, 4, 13, 17, 4, 18, 13, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 14, 40, 4, 18, 18, 13, 39, 13, 4, 13, 13, 13, 17, 17, 4, 13, 17, 4, 18, 13, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13 ]
[ [ 74, 4 ], [ 75, 12 ], [ 75, 19 ], [ 71, 31 ], [ 35, 34 ], [ 75, 39 ], [ 75, 43 ], [ 34, 44 ], [ 75, 51 ], [ 75, 56 ], [ 71, 72 ], [ 74, 75 ] ]
[ "import sys\nS = input()\n\n\nif S.count(\"C\") != 0 and S.count(\"F\") != 0:\n pass\nelse:\n print(\"No\")\n sys.exit()\n\nans = 0\nfor i in range(len(S)):\n if S[i] == \"C\":\n if S[i:len(S)].count(\"F\") != 0:\n print(\"Yes\")\n sys.exit()\n\nprint(\"No\")", "import sys", "sys", "S = input()", "S", "input()", "input", "if S.count(\"C\") != 0 and S.count(\"F\") != 0:\n pass\nelse:\n print(\"No\")\n sys.exit()", "S.count(\"C\") != 0 and S.count(\"F\") != 0", "S.count(\"C\") != 0", "S.count(\"C\")", "S.count", "S", "count", "\"C\"", "0", "S.count(\"F\") != 0", "S.count(\"F\")", "S.count", "S", "count", "\"F\"", "0", "print(\"No\")", "print", "\"No\"", "sys.exit()", "sys.exit", "sys", "exit", "ans = 0", "ans", "0", "for i in range(len(S)):\n if S[i] == \"C\":\n if S[i:len(S)].count(\"F\") != 0:\n print(\"Yes\")\n sys.exit()", "i", "range(len(S))", "range", "len(S)", "len", "S", "if S[i] == \"C\":\n if S[i:len(S)].count(\"F\") != 0:\n print(\"Yes\")\n sys.exit()", "S[i] == \"C\"", "S[i]", "S", "i", "\"C\"", "if S[i:len(S)].count(\"F\") != 0:\n print(\"Yes\")\n sys.exit()", "S[i:len(S)].count(\"F\") != 0", "S[i:len(S)].count(\"F\")", "[i:len(S)].count", "[i:len(S)]", "S", "i:len(S)", "i", "len(S)", "len", "S", "count", "\"F\"", "0", "print(\"Yes\")", "print", "\"Yes\"", "sys.exit()", "sys.exit", "sys", "exit", "print(\"No\")", "print", "\"No\"", "ans = 0", "0", "ans", "S = input()", "input()", "S" ]
import sys S = input() if S.count("C") != 0 and S.count("F") != 0: pass else: print("No") sys.exit() ans = 0 for i in range(len(S)): if S[i] == "C": if S[i:len(S)].count("F") != 0: print("Yes") sys.exit() print("No")
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 28, 13, 4, 13, 2, 13, 17, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 50, 8 ], [ 12, 11 ], [ 54, 16 ], [ 54, 20 ], [ 11, 21 ], [ 25, 24 ], [ 11, 28 ], [ 54, 32 ], [ 54, 36 ], [ 24, 37 ], [ 47, 40 ], [ 48, 45 ], [ 51, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "s = list(input())\nans = \"No\"\nfor i in range(len(s)):\n if s[i] == \"C\":\n for j in range(i+1, len(s)):\n if s[j] == \"F\":\n ans = \"Yes\"\n break\nprint(ans)", "s = list(input())", "s", "list(input())", "list", "input()", "input", "ans = \"No\"", "ans", "\"No\"", "for i in range(len(s)):\n if s[i] == \"C\":\n for j in range(i+1, len(s)):\n if s[j] == \"F\":\n ans = \"Yes\"\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n for j in range(i+1, len(s)):\n if s[j] == \"F\":\n ans = \"Yes\"\n break", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "for j in range(i+1, len(s)):\n if s[j] == \"F\":\n ans = \"Yes\"\n break", "j", "range(i+1, len(s))", "range", "i+1", "i", "1", "len(s)", "len", "s", "if s[j] == \"F\":\n ans = \"Yes\"\n break", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "ans = \"Yes\"", "ans", "\"Yes\"", "break", "print(ans)", "print", "ans", "ans = \"Yes\"", "\"Yes\"", "ans", "ans = \"No\"", "\"No\"", "ans", "s = list(input())", "list(input())", "s" ]
s = list(input()) ans = "No" for i in range(len(s)): if s[i] == "C": for j in range(i+1, len(s)): if s[j] == "F": ans = "Yes" break print(ans)
[ 7, 0, 13, 4, 13, 14, 40, 2, 17, 13, 4, 13, 17, 0, 13, 4, 18, 13, 13, 17, 0, 13, 18, 13, 39, 13, 14, 2, 17, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 18, 13 ]
[ [ 37, 2 ], [ 38, 9 ], [ 40, 14 ], [ 38, 17 ], [ 43, 21 ], [ 38, 23 ], [ 44, 29 ], [ 38, 29 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ] ]
[ "s = input()\nif not 'C' in s:\n print('No')\nelse:\n c = s.find('C')\n s = s[c:]\n if 'F' in s:\n print('Yes')\n else:\n print('No')", "s = input()", "s", "input()", "input", "if not 'C' in s:\n print('No')\nelse:\n c = s.find('C')\n s = s[c:]\n if 'F' in s:\n print('Yes')\n else:\n print('No')", "not 'C' in s", "'C' in s", "'C'", "s", "print('No')", "print", "'No'", "c = s.find('C')", "c", "s.find('C')", "s.find", "s", "find", "'C'", "s = s[c:]", "s", "s[c:]", "s", "c:", "c", "if 'F' in s:\n print('Yes')\n else:\n print('No')", "'F' in s", "'F'", "s", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input()", "input()", "s", "c = s.find('C')", "s.find('C')", "c", "s = s[c:]", "s[c:]", "s" ]
s = input() if not 'C' in s: print('No') else: c = s.find('C') s = s[c:] if 'F' in s: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 28, 13, 4, 13, 4, 13, 13, 14, 2, 2, 2, 13, 13, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 48, 2 ], [ 51, 6 ], [ 10, 9 ], [ 49, 14 ], [ 17, 16 ], [ 49, 21 ], [ 9, 26 ], [ 16, 27 ], [ 49, 30 ], [ 9, 31 ], [ 49, 35 ], [ 16, 36 ], [ 45, 39 ], [ 46, 43 ], [ 52, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "s = input()\nans = \"No\"\nfor i in range(len(s)):\n for j in range(len(s)):\n if i < j and s[i] == \"C\" and s[j] == \"F\":\n ans = \"Yes\"\nprint(ans)", "s = input()", "s", "input()", "input", "ans = \"No\"", "ans", "\"No\"", "for i in range(len(s)):\n for j in range(len(s)):\n if i < j and s[i] == \"C\" and s[j] == \"F\":\n ans = \"Yes\"", "i", "range(len(s))", "range", "len(s)", "len", "s", "for j in range(len(s)):\n if i < j and s[i] == \"C\" and s[j] == \"F\":\n ans = \"Yes\"", "j", "range(len(s))", "range", "len(s)", "len", "s", "if i < j and s[i] == \"C\" and s[j] == \"F\":\n ans = \"Yes\"", "i < j and s[i] == \"C\" and s[j] == \"F\"", "i < j and s[i] == \"C\"", "i < j", "i", "j", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "ans = \"Yes\"", "ans", "\"Yes\"", "print(ans)", "print", "ans", "ans = \"Yes\"", "\"Yes\"", "ans", "s = input()", "input()", "s", "ans = \"No\"", "\"No\"", "ans" ]
s = input() ans = "No" for i in range(len(s)): for j in range(len(s)): if i < j and s[i] == "C" and s[j] == "F": ans = "Yes" print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 14, 2, 13, 2, 4, 13, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 49, 2 ], [ 52, 6 ], [ 10, 9 ], [ 50, 14 ], [ 50, 18 ], [ 9, 19 ], [ 55, 22 ], [ 56, 26 ], [ 53, 26 ], [ 50, 29 ], [ 9, 30 ], [ 9, 39 ], [ 50, 43 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ] ]
[ "s = input()\nis_C = False\nfor i in range(len(s)):\n if s[i] == \"C\":\n is_C = True\n if is_C and s[i] == \"F\":\n print(\"Yes\")\n exit()\n if i == len(s)-1:\n print(\"No\")", "s = input()", "s", "input()", "input", "is_C = False", "is_C", "False", "for i in range(len(s)):\n if s[i] == \"C\":\n is_C = True\n if is_C and s[i] == \"F\":\n print(\"Yes\")\n exit()\n if i == len(s)-1:\n print(\"No\")", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n is_C = True\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "is_C = True", "is_C", "True", "if is_C and s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "is_C and s[i] == \"F\"", "is_C", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "if i == len(s)-1:\n print(\"No\")", "i == len(s)-1", "i", "len(s)-1", "len(s)", "len", "s", "1", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "is_C = False", "False", "is_C", "is_C = True", "True", "is_C" ]
s = input() is_C = False for i in range(len(s)): if s[i] == "C": is_C = True if is_C and s[i] == "F": print("Yes") exit() if i == len(s)-1: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 40, 13, 17, 40, 13, 17, 2, 2, 13, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 37, 2 ], [ 40, 6 ], [ 38, 9 ], [ 43, 13 ], [ 38, 16 ], [ 41, 23 ], [ 44, 26 ], [ 44, 30 ], [ 41, 31 ], [ 37, 38 ], [ 40, 41 ], [ 43, 44 ] ]
[ "s = input()\nc_idx = s.find(\"C\")\nf_idx = s.rfind(\"F\")\nif c_idx != -1 and f_idx != -1 and f_idx-c_idx >0:\n print(\"Yes\")\nelse:print(\"No\")", "s = input()", "s", "input()", "input", "c_idx = s.find(\"C\")", "c_idx", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "f_idx = s.rfind(\"F\")", "f_idx", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "if c_idx != -1 and f_idx != -1 and f_idx-c_idx >0:\n print(\"Yes\")\nelse:print(\"No\")", "c_idx != -1 and f_idx != -1 and f_idx-c_idx >0", "c_idx != -1 and f_idx != -1", "c_idx != -1", "c_idx", "-1", "f_idx != -1", "f_idx", "-1", "f_idx-c_idx >0", "f_idx-c_idx", "f_idx", "c_idx", "0", "print(\"Yes\")", "print", "\"Yes\"", "s = input()", "input()", "s", "c_idx = s.find(\"C\")", "s.find(\"C\")", "c_idx", "f_idx = s.rfind(\"F\")", "s.rfind(\"F\")", "f_idx" ]
s = input() c_idx = s.find("C") f_idx = s.rfind("F") if c_idx != -1 and f_idx != -1 and f_idx-c_idx >0: print("Yes") else:print("No")
[ 7, 0, 13, 4, 13, 14, 40, 4, 18, 18, 13, 39, 17, 13, 17, 17, 0, 13, 4, 18, 13, 13, 17, 14, 40, 4, 18, 18, 13, 39, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 50, 10 ], [ 46, 17 ], [ 50, 20 ], [ 50, 28 ], [ 46, 47 ], [ 49, 50 ] ]
[ "s=input()\nif s[:-1].count(\"C\")>=1:\n x=s.index(\"C\")\n if s[x:].count(\"F\")>=1:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")\n exit()", "s=input()", "s", "input()", "input", "if s[:-1].count(\"C\")>=1:\n x=s.index(\"C\")\n if s[x:].count(\"F\")>=1:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")\n exit()", "s[:-1].count(\"C\")>=1", "s[:-1].count(\"C\")", "[:-1].count", "[:-1]", "s", ":-1", "-1", "count", "\"C\"", "1", "x=s.index(\"C\")", "x", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "if s[x:].count(\"F\")>=1:\n print(\"Yes\")\n else:\n print(\"No\")", "s[x:].count(\"F\")>=1", "s[x:].count(\"F\")", "[x:].count", "[x:]", "s", "x:", "x", "count", "\"F\"", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "x=s.index(\"C\")", "s.index(\"C\")", "x", "s=input()", "input()", "s" ]
s=input() if s[:-1].count("C")>=1: x=s.index("C") if s[x:].count("F")>=1: print("Yes") else: print("No") else: print("No") exit()
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 0, 13, 4, 13, 13, 13, 14, 2, 13, 17, 0, 13, 4, 13, 13, 13, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 62, 6 ], [ 54, 9 ], [ 56, 11 ], [ 54, 18 ], [ 59, 24 ], [ 63, 28 ], [ 60, 28 ], [ 50, 34 ], [ 57, 38 ], [ 51, 38 ], [ 60, 41 ], [ 63, 41 ], [ 51, 42 ], [ 57, 42 ], [ 50, 51 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ] ]
[ "S = input()\nC = len(S)\nF = 0\nfor i, s in enumerate(S):\n if s == 'C':\n C = min(i, C)\n if s == 'F':\n F = max(i, F)\n\nif C < F:\n print('Yes')\nelse:\n print('No')", "S = input()", "S", "input()", "input", "C = len(S)", "C", "len(S)", "len", "S", "F = 0", "F", "0", "for i, s in enumerate(S):\n if s == 'C':\n C = min(i, C)\n if s == 'F':\n F = max(i, F)", "i", "s", "enumerate(S)", "enumerate", "S", "if s == 'C':\n C = min(i, C)\n ", "s == 'C'", "s", "'C'", "C = min(i, C)", "C", "min(i, C)", "min", "i", "C", "if s == 'F':\n F = max(i, F)", "s == 'F'", "s", "'F'", "F = max(i, F)", "F", "max(i, F)", "max", "i", "F", "if C < F:\n print('Yes')\nelse:\n print('No')", "C < F", "C", "F", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "F = max(i, F)", "max(i, F)", "F", "S = input()", "input()", "S", "F = 0", "0", "F", "C = min(i, C)", "min(i, C)", "C", "C = len(S)", "len(S)", "C" ]
S = input() C = len(S) F = 0 for i, s in enumerate(S): if s == 'C': C = min(i, C) if s == 'F': F = max(i, F) if C < F: print('Yes') else: print('No')
[ 7, 0, 13, 4, 18, 4, 13, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 13, 4, 13, 8, 2, 2, 40, 17, 13, 13, 40, 13, 17, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 41, 2 ], [ 44, 9 ], [ 42, 12 ], [ 38, 16 ], [ 42, 19 ], [ 45, 22 ], [ 45, 30 ], [ 39, 31 ], [ 39, 33 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "# coding: utf-8\n\ntext = input().rstrip()\nc_index = text.find(\"C\")\nf_index = text.find(\"F\", c_index)\n\nprint(\"Yes\" if (0 <= c_index < f_index and f_index >= 0) else \"No\")", "text = input().rstrip()", "text", "input().rstrip()", "().rstrip", "()", "input", "rstrip", "c_index = text.find(\"C\")", "c_index", "text.find(\"C\")", "text.find", "text", "find", "\"C\"", "f_index = text.find(\"F\", c_index)", "f_index", "text.find(\"F\", c_index)", "text.find", "text", "find", "\"F\"", "c_index", "print(\"Yes\" if (0 <= c_index < f_index and f_index >= 0) else \"No\")", "print", "\"Yes\" if (0 <= c_index < f_index and f_index >= 0) else \"No\"", "0 <= c_index < f_index and f_index >= 0", "0 <= c_index < f_index", "0 <= c_index", "0", "c_index", "f_index", "f_index >= 0", "f_index", "0", "\"Yes\"", "\"No\"", "f_index = text.find(\"F\", c_index)", "text.find(\"F\", c_index)", "f_index", "text = input().rstrip()", "input().rstrip()", "text", "c_index = text.find(\"C\")", "text.find(\"C\")", "c_index" ]
# coding: utf-8 text = input().rstrip() c_index = text.find("C") f_index = text.find("F", c_index) print("Yes" if (0 <= c_index < f_index and f_index >= 0) else "No")
[ 7, 0, 13, 4, 13, 0, 13, 39, 0, 13, 39, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 18, 13, 13, 13, 14, 2, 18, 13, 13, 17, 4, 18, 13, 13, 13, 14, 2, 2, 13, 13, 2, 2, 4, 13, 13, 4, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13, 10, 39, 13 ]
[ [ 61, 2 ], [ 64, 6 ], [ 67, 9 ], [ 13, 12 ], [ 62, 17 ], [ 62, 21 ], [ 12, 22 ], [ 65, 26 ], [ 12, 28 ], [ 62, 32 ], [ 12, 33 ], [ 68, 37 ], [ 12, 39 ], [ 65, 43 ], [ 68, 44 ], [ 65, 49 ], [ 68, 52 ], [ 61, 62 ], [ 64, 65 ], [ 67, 68 ] ]
[ "s = input()\nf = []\nc = []\nfor i in range(len(s)):\n if s[i] == \"F\":\n f.append(i)\n elif s[i] == \"C\":\n c.append(i)\nif f and c and (max(f)-min(c) > 0):\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "f = []", "f", "[]", "c = []", "c", "[]", "for i in range(len(s)):\n if s[i] == \"F\":\n f.append(i)\n elif s[i] == \"C\":\n c.append(i)", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"F\":\n f.append(i)\n elif s[i] == \"C\":\n c.append(i)", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "f.append(i)", "f.append", "f", "append", "i", "elif s[i] == \"C\":\n c.append(i)", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "c.append(i)", "c.append", "c", "append", "i", "if f and c and (max(f)-min(c) > 0):\n print(\"Yes\")\nelse:\n print(\"No\")", "f and c and (max(f)-min(c) > 0)", "f and c", "f", "c", "max(f)-min(c) > 0", "max(f)-min(c)", "max(f)", "max", "f", "min(c)", "min", "c", "0", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "f = []", "[]", "f", "c = []", "[]", "c" ]
s = input() f = [] c = [] for i in range(len(s)): if s[i] == "F": f.append(i) elif s[i] == "C": c.append(i) if f and c and (max(f)-min(c) > 0): print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 14, 2, 13, 17, 0, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 4, 13, 13, 13, 14, 2, 40, 13, 17, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 64, 2 ], [ 70, 6 ], [ 67, 9 ], [ 13, 12 ], [ 65, 17 ], [ 65, 21 ], [ 12, 22 ], [ 71, 26 ], [ 59, 26 ], [ 58, 29 ], [ 12, 30 ], [ 65, 34 ], [ 12, 35 ], [ 61, 38 ], [ 68, 41 ], [ 62, 41 ], [ 12, 42 ], [ 59, 46 ], [ 71, 46 ], [ 62, 49 ], [ 68, 49 ], [ 59, 50 ], [ 71, 50 ], [ 12, 58 ], [ 58, 59 ], [ 61, 62 ], [ 64, 65 ], [ 67, 68 ], [ 70, 71 ] ]
[ "s=input()\nc=-1\nf=-1\nfor i in range(len(s)):\n if s[i]=='C':\n if c==-1:\n c=i\n if s[i]=='F':\n f=max(f,i)\nif c!=-1 and f>c:\n print('Yes')\nelse:\n print('No')", "s=input()", "s", "input()", "input", "c=-1", "c", "-1", "f=-1", "f", "-1", "for i in range(len(s)):\n if s[i]=='C':\n if c==-1:\n c=i\n if s[i]=='F':\n f=max(f,i)", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i]=='C':\n if c==-1:\n c=i\n ", "s[i]=='C'", "s[i]", "s", "i", "'C'", "if c==-1:\n c=i\n ", "c==-1", "c", "-1", "c=i", "c", "i", "if s[i]=='F':\n f=max(f,i)", "s[i]=='F'", "s[i]", "s", "i", "'F'", "f=max(f,i)", "f", "max(f,i)", "max", "f", "i", "if c!=-1 and f>c:\n print('Yes')\nelse:\n print('No')", "c!=-1 and f>c", "c!=-1", "c", "-1", "f>c", "f", "c", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "c=i", "i", "c", "f=max(f,i)", "max(f,i)", "f", "s=input()", "input()", "s", "f=-1", "-1", "f", "c=-1", "-1", "c" ]
s=input() c=-1 f=-1 for i in range(len(s)): if s[i]=='C': if c==-1: c=i if s[i]=='F': f=max(f,i) if c!=-1 and f>c: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 14, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 4, 13, 18, 17, 39, 2, 17, 18, 13, 39, 2, 13, 17, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 35, 8 ], [ 37, 10 ], [ 35, 13 ], [ 35, 24 ], [ 38, 27 ], [ 34, 35 ], [ 37, 38 ] ]
[ "s=input()\nif 'C' in s:\n i=s.index('C')\n print('NYoe s'['F' in s[i+1:]::2])\nelse:\n print('No')", "s=input()", "s", "input()", "input", "if 'C' in s:\n i=s.index('C')\n print('NYoe s'['F' in s[i+1:]::2])\nelse:\n print('No')", "'C' in s", "'C'", "s", "i=s.index('C')", "i", "s.index('C')", "s.index", "s", "index", "'C'", "print('NYoe s'['F' in s[i+1:]::2])", "print", "'NYoe s'['F' in s[i+1:]::2]", "'NYoe s'", "'F' in s[i+1:]::2", "'F' in s[i+1:]", "'F'", "s[i+1:]", "s", "i+1:", "i+1", "i", "1", "2", "print('No')", "print", "'No'", "s=input()", "input()", "s", "i=s.index('C')", "s.index('C')", "i" ]
s=input() if 'C' in s: i=s.index('C') print('NYoe s'['F' in s[i+1:]::2]) else: print('No')
[ 7, 0, 13, 17, 0, 13, 17, 0, 13, 4, 13, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 43, 2 ], [ 46, 5 ], [ 52, 8 ], [ 13, 12 ], [ 53, 12 ], [ 12, 16 ], [ 55, 19 ], [ 12, 24 ], [ 56, 27 ], [ 44, 27 ], [ 49, 30 ], [ 56, 34 ], [ 44, 34 ], [ 50, 35 ], [ 47, 35 ], [ 43, 44 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ] ]
[ "c=False\nf=False\ns=input()\nfor i in s:\n if i==\"C\":\n c=True\n if i==\"F\" and c==True:\n f=True\n\nif c and f:\n print(\"Yes\")\nelse:\n print(\"No\")", "c=False", "c", "False", "f=False", "f", "False", "s=input()", "s", "input()", "input", "for i in s:\n if i==\"C\":\n c=True\n if i==\"F\" and c==True:\n f=True", "i", "s", "if i==\"C\":\n c=True\n ", "i==\"C\"", "i", "\"C\"", "c=True", "c", "True", "if i==\"F\" and c==True:\n f=True", "i==\"F\" and c==True", "i==\"F\"", "i", "\"F\"", "c==True", "c", "True", "f=True", "f", "True", "if c and f:\n print(\"Yes\")\nelse:\n print(\"No\")", "c and f", "c", "f", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "c=False", "False", "c", "f=False", "False", "f", "f=True", "True", "f", "s=input()", "input()", "s", "c=True", "True", "c" ]
c=False f=False s=input() for i in s: if i=="C": c=True if i=="F" and c==True: f=True if c and f: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 58, 2 ], [ 61, 6 ], [ 10, 9 ], [ 59, 14 ], [ 62, 18 ], [ 56, 18 ], [ 53, 18 ], [ 59, 22 ], [ 9, 23 ], [ 52, 26 ], [ 53, 31 ], [ 62, 31 ], [ 56, 31 ], [ 59, 35 ], [ 9, 36 ], [ 55, 39 ], [ 56, 43 ], [ 53, 43 ], [ 62, 43 ], [ 52, 53 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "s = input()\nflag = 0\nfor i in range(len(s)):\n if flag == 0 and s[i] == \"C\":\n flag += 1\n if flag == 1 and s[i] == \"F\":\n flag += 1\nif flag == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "flag = 0", "flag", "0", "for i in range(len(s)):\n if flag == 0 and s[i] == \"C\":\n flag += 1\n if flag == 1 and s[i] == \"F\":\n flag += 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if flag == 0 and s[i] == \"C\":\n flag += 1\n ", "flag == 0 and s[i] == \"C\"", "flag == 0", "flag", "0", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "flag += 1", "flag", "1", "if flag == 1 and s[i] == \"F\":\n flag += 1", "flag == 1 and s[i] == \"F\"", "flag == 1", "flag", "1", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "flag += 1", "flag", "1", "if flag == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "flag == 2", "flag", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "flag += 1", "1", "flag", "flag += 1", "1", "flag", "s = input()", "input()", "s", "flag = 0", "0", "flag" ]
s = input() flag = 0 for i in range(len(s)): if flag == 0 and s[i] == "C": flag += 1 if flag == 1 and s[i] == "F": flag += 1 if flag == 2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 14, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 18, 13, 13, 17, 2, 2, 4, 13, 13, 17, 4, 18, 18, 13, 39, 17, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 38, 2 ], [ 39, 10 ], [ 39, 13 ], [ 39, 17 ], [ 39, 24 ], [ 39, 29 ], [ 38, 39 ] ]
[ "s=input()\nif \"C\" in s and \"F\" in s and s.find(\"C\")<len(s)-1-s[::-1].find(\"F\"):\n print(\"Yes\")\n\nelse: print(\"No\")", "s=input()", "s", "input()", "input", "if \"C\" in s and \"F\" in s and s.find(\"C\")<len(s)-1-s[::-1].find(\"F\"):\n print(\"Yes\")\n\nelse: print(\"No\")", "\"C\" in s and \"F\" in s and s.find(\"C\")<len(s)-1-s[::-1].find(\"F\")", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "s.find(\"C\")<len(s)-1-s[::-1].find(\"F\")", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "len(s)-1-s[::-1].find(\"F\")", "len(s)-1", "len(s)", "len", "s", "1", "s[::-1].find(\"F\")", "[::-1].find", "[::-1]", "s", "::-1", "-1", "find", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "s=input()", "input()", "s" ]
s=input() if "C" in s and "F" in s and s.find("C")<len(s)-1-s[::-1].find("F"): print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 13, 13, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 13, 13 ]
[ [ 43, 2 ], [ 46, 6 ], [ 10, 9 ], [ 44, 14 ], [ 44, 18 ], [ 9, 19 ], [ 49, 22 ], [ 9, 23 ], [ 44, 28 ], [ 9, 29 ], [ 9, 32 ], [ 50, 33 ], [ 47, 33 ], [ 43, 44 ], [ 46, 47 ], [ 9, 49 ], [ 49, 50 ] ]
[ "s=input()\nt=100\nfor i in range(len(s)):\n if s[i]=='C':\n t=i\n if s[i]=='F' and i>t:\n print('Yes')\n exit()\nprint('No')", "s=input()", "s", "input()", "input", "t=100", "t", "100", "for i in range(len(s)):\n if s[i]=='C':\n t=i\n if s[i]=='F' and i>t:\n print('Yes')\n exit()", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i]=='C':\n t=i\n ", "s[i]=='C'", "s[i]", "s", "i", "'C'", "t=i", "t", "i", "if s[i]=='F' and i>t:\n print('Yes')\n exit()", "s[i]=='F' and i>t", "s[i]=='F'", "s[i]", "s", "i", "'F'", "i>t", "i", "t", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "s=input()", "input()", "s", "t=100", "100", "t", "t=i", "i", "t" ]
s=input() t=100 for i in range(len(s)): if s[i]=='C': t=i if s[i]=='F' and i>t: print('Yes') exit() print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 33, 6 ], [ 10, 9 ], [ 37, 9 ], [ 9, 13 ], [ 39, 16 ], [ 40, 20 ], [ 34, 20 ], [ 9, 22 ], [ 33, 34 ], [ 36, 37 ], [ 39, 40 ] ]
[ "s=input()\nb=False\nfor i in s:\n if i==\"C\":\n b=True\n if b and i==\"F\":\n print(\"Yes\")\n exit()\nprint(\"No\")", "s=input()", "s", "input()", "input", "b=False", "b", "False", "for i in s:\n if i==\"C\":\n b=True\n if b and i==\"F\":\n print(\"Yes\")\n exit()", "i", "s", "if i==\"C\":\n b=True\n ", "i==\"C\"", "i", "\"C\"", "b=True", "b", "True", "if b and i==\"F\":\n print(\"Yes\")\n exit()", "b and i==\"F\"", "b", "i==\"F\"", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "b=False", "False", "b", "s=input()", "input()", "s", "b=True", "True", "b" ]
s=input() b=False for i in s: if i=="C": b=True if b and i=="F": print("Yes") exit() print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 13, 14, 2, 40, 13, 17, 40, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 41, 2 ], [ 38, 6 ], [ 42, 9 ], [ 35, 13 ], [ 42, 16 ], [ 39, 19 ], [ 39, 23 ], [ 36, 26 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ] ]
[ "# coding: utf-8\n# Your code here!\n\ns = input()\n\n# print(s)\n\n# print(s.find('C'))\n# print(s.find('F', 0))\n\nindex01 = s.find('C')\nindex02 = s.find('F', index01)\n\n# print(index01)\n# print(index02)\n\nif index01 >= 0 and index02 >= 0:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "index01 = s.find('C')", "index01", "s.find('C')", "s.find", "s", "find", "'C'", "index02 = s.find('F', index01)", "index02", "s.find('F', index01)", "s.find", "s", "find", "'F'", "index01", "if index01 >= 0 and index02 >= 0:\n print('Yes')\nelse:\n print('No')", "index01 >= 0 and index02 >= 0", "index01 >= 0", "index01", "0", "index02 >= 0", "index02", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "index02 = s.find('F', index01)", "s.find('F', index01)", "index02", "index01 = s.find('C')", "s.find('C')", "index01", "s = input()", "input()", "s" ]
# coding: utf-8 # Your code here! s = input() # print(s) # print(s.find('C')) # print(s.find('F', 0)) index01 = s.find('C') index02 = s.find('F', index01) # print(index01) # print(index02) if index01 >= 0 and index02 >= 0: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 4, 13, 18, 17, 39, 40, 2, 40, 13, 17, 40, 4, 18, 13, 13, 17, 2, 13, 17, 17, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 37, 2 ], [ 34, 6 ], [ 38, 9 ], [ 35, 20 ], [ 38, 25 ], [ 35, 29 ], [ 34, 35 ], [ 37, 38 ] ]
[ "S=input()\nA=S.find(\"C\")\nprint(\"YNeos\"[not(A>=0 and S.find(\"F\", A+1)>=0)::2])", "S=input()", "S", "input()", "input", "A=S.find(\"C\")", "A", "S.find(\"C\")", "S.find", "S", "find", "\"C\"", "print(\"YNeos\"[not(A>=0 and S.find(\"F\", A+1)>=0)::2])", "print", "\"YNeos\"[not(A>=0 and S.find(\"F\", A+1)>=0)::2]", "\"YNeos\"", "not(A>=0 and S.find(\"F\", A+1)>=0)::2", "not(A>=0 and S.find(\"F\", A+1)>=0)", "A>=0 and S.find(\"F\", A+1)>=0", "A>=0", "A", "0", "S.find(\"F\", A+1)>=0", "S.find(\"F\", A+1)", "S.find", "S", "find", "\"F\"", "A+1", "A", "1", "0", "2", "A=S.find(\"C\")", "S.find(\"C\")", "A", "S=input()", "input()", "S" ]
S=input() A=S.find("C") print("YNeos"[not(A>=0 and S.find("F", A+1)>=0)::2])
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 14, 2, 2, 40, 13, 17, 40, 13, 17, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 41, 2 ], [ 44, 6 ], [ 42, 9 ], [ 38, 13 ], [ 42, 16 ], [ 45, 23 ], [ 39, 26 ], [ 45, 29 ], [ 39, 30 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ] ]
[ "s = input()\nx = s.find('C')\ny = s.rfind('F')\nif x >= 0 and y >= 0 and x < y:\n print('Yes')\nelse:\n print('No') ", "s = input()", "s", "input()", "input", "x = s.find('C')", "x", "s.find('C')", "s.find", "s", "find", "'C'", "y = s.rfind('F')", "y", "s.rfind('F')", "s.rfind", "s", "rfind", "'F'", "if x >= 0 and y >= 0 and x < y:\n print('Yes')\nelse:\n print('No') ", "x >= 0 and y >= 0 and x < y", "x >= 0 and y >= 0", "x >= 0", "x", "0", "y >= 0", "y", "0", "x < y", "x", "y", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "y = s.rfind('F')", "s.rfind('F')", "y", "s = input()", "input()", "s", "x = s.find('C')", "s.find('C')", "x" ]
s = input() x = s.find('C') y = s.rfind('F') if x >= 0 and y >= 0 and x < y: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 41, 2 ], [ 35, 6 ], [ 10, 9 ], [ 42, 9 ], [ 9, 13 ], [ 38, 16 ], [ 39, 21 ], [ 36, 21 ], [ 9, 24 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ] ]
[ "S = input()\n\ni = 0\nfor l in S:\n if l == 'C':\n i = 1\n if i == 1 and l == 'F':\n print('Yes')\n exit()\n\nprint('No')", "S = input()", "S", "input()", "input", "i = 0", "i", "0", "for l in S:\n if l == 'C':\n i = 1\n if i == 1 and l == 'F':\n print('Yes')\n exit()", "l", "S", "if l == 'C':\n i = 1\n ", "l == 'C'", "l", "'C'", "i = 1", "i", "1", "if i == 1 and l == 'F':\n print('Yes')\n exit()", "i == 1 and l == 'F'", "i == 1", "i", "1", "l == 'F'", "l", "'F'", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "i = 0", "0", "i", "i = 1", "1", "i", "S = input()", "input()", "S" ]
S = input() i = 0 for l in S: if l == 'C': i = 1 if i == 1 and l == 'F': print('Yes') exit() print('No')
[ 7, 0, 13, 4, 13, 15, 13, 14, 4, 18, 13, 13, 17, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 21, 2 ], [ 22, 13 ], [ 21, 22 ] ]
[ "S=input()\nimport re\nif re.search('C.*F',S):\n print('Yes')\nelse:\n print('No')", "S=input()", "S", "input()", "input", "import re", "re", "if re.search('C.*F',S):\n print('Yes')\nelse:\n print('No')", "re.search('C.*F',S)", "re.search", "re", "search", "'C.*F'", "S", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "S=input()", "input()", "S" ]
S=input() import re if re.search('C.*F',S): print('Yes') else: print('No')
[ 7, 15, 15, 15, 15, 13, 15, 13, 15, 13, 4, 18, 13, 13, 17, 0, 13, 2, 2, 17, 17, 17, 12, 13, 29, 4, 13, 4, 13, 13, 4, 18, 4, 13, 13, 12, 13, 29, 4, 13, 4, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 42, 2, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 18, 13, 13, 17, 13, 0, 13, 17, 3, 0, 13, 17, 14, 13, 4, 13, 17, 4, 13, 17, 10, 12, 13, 10, 12, 13, 10, 17, 13, 10, 17, 13, 10, 2, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 106, 16 ], [ 112, 43 ], [ 115, 47 ], [ 118, 50 ], [ 103, 53 ], [ 104, 57 ], [ 122, 57 ], [ 113, 60 ], [ 113, 64 ], [ 104, 65 ], [ 122, 65 ], [ 109, 68 ], [ 113, 74 ], [ 104, 75 ], [ 122, 75 ], [ 116, 77 ], [ 110, 77 ], [ 100, 79 ], [ 121, 83 ], [ 100, 101 ], [ 103, 104 ], [ 106, 107 ], [ 109, 110 ], [ 112, 113 ], [ 115, 116 ], [ 118, 119 ], [ 121, 122 ] ]
[ "#from statistics import median\n#import collections\n#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]\nfrom fractions import gcd\nfrom itertools import combinations,permutations,accumulate, product # (string,3) 3回\n#from collections import deque\nfrom collections import deque,defaultdict,Counter\nimport decimal\nimport re\n#import bisect\n#\n# d = m - k[i] - k[j]\n# if kk[bisect.bisect_right(kk,d) - 1] == d:\n#\n#\n#\n# pythonで無理なときは、pypyでやると正解するかも!!\n#\n#\n# my_round_int = lambda x:np.round((x*2 + 1)//2)\n# 四捨五入\nimport sys\nsys.setrecursionlimit(10000000)\nmod = 10**9 + 7\n#mod = 9982443453\ndef readInts():\n return list(map(int,input().split()))\ndef I():\n return int(input())\ns = input()\nc = False\nf = False\ni = 0\nwhile i < len(s):\n if s[i] == 'C':\n c = True\n elif s[i] == 'F' and c:\n f = True\n break\n i += 1\nif f:\n print('Yes')\nelse:\n print('No')", "from fractions import gcd", "from itertools import combinations,permutations,accumulate, product", "from collections import deque,defaultdict,Counter", "import decimal", "decimal", "import re", "re", "import sys", "sys", "sys.setrecursionlimit(10000000)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10000000", "mod = 10**9 + 7", "mod", "10**9 + 7", "10**9", "10", "9", "7", "def readInts():\n return list(map(int,input().split()))", "readInts", "return list(map(int,input().split()))", "list(map(int,input().split()))", "list", "map(int,input().split())", "map", "int", "input().split()", "().split", "()", "input", "split", "def I():\n return int(input())", "I", "return int(input())", "int(input())", "int", "input()", "input", "s = input()", "s", "input()", "input", "c = False", "c", "False", "f = False", "f", "False", "i = 0", "i", "0", "while i < len(s):\n if s[i] == 'C':\n c = True\n elif s[i] == 'F' and c:\n f = True\n break\n i += 1", "i < len(s)", "i", "len(s)", "len", "s", "if s[i] == 'C':\n c = True\n elif s[i] == 'F' and c:\n f = True\n break\n ", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "c = True", "c", "True", "elif s[i] == 'F' and c:\n f = True\n break\n ", "s[i] == 'F' and c", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "c", "f = True", "f", "True", "break", "i += 1", "i", "1", "if f:\n print('Yes')\nelse:\n print('No')", "f", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "def I():\n return int(input())", "def I():\n return int(input())", "I", "def readInts():\n return list(map(int,input().split()))", "def readInts():\n return list(map(int,input().split()))", "readInts", "f = True", "True", "f", "i = 0", "0", "i", "mod = 10**9 + 7", "10**9 + 7", "mod", "c = True", "True", "c", "s = input()", "input()", "s", "c = False", "False", "c", "f = False", "False", "f", "i += 1", "1", "i" ]
#from statistics import median #import collections #aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0] from fractions import gcd from itertools import combinations,permutations,accumulate, product # (string,3) 3回 #from collections import deque from collections import deque,defaultdict,Counter import decimal import re #import bisect # # d = m - k[i] - k[j] # if kk[bisect.bisect_right(kk,d) - 1] == d: # # # # pythonで無理なときは、pypyでやると正解するかも!! # # # my_round_int = lambda x:np.round((x*2 + 1)//2) # 四捨五入 import sys sys.setrecursionlimit(10000000) mod = 10**9 + 7 #mod = 9982443453 def readInts(): return list(map(int,input().split())) def I(): return int(input()) s = input() c = False f = False i = 0 while i < len(s): if s[i] == 'C': c = True elif s[i] == 'F' and c: f = True break i += 1 if f: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 39, 0, 13, 39, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 4, 18, 13, 13, 13, 14, 2, 13, 17, 4, 18, 13, 13, 13, 14, 2, 2, 4, 13, 13, 17, 2, 4, 13, 13, 17, 4, 13, 17, 14, 2, 4, 13, 13, 4, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13, 10, 39, 13 ]
[ [ 65, 2 ], [ 68, 6 ], [ 71, 9 ], [ 66, 16 ], [ 69, 23 ], [ 72, 32 ], [ 69, 40 ], [ 72, 45 ], [ 69, 54 ], [ 72, 57 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ] ]
[ "S = input()\n\nc = []\nf = []\n\nfor i, si in enumerate(S):\n if si == 'C':\n c.append(i)\n elif si == 'F':\n f.append(i)\n\nif len(c) == 0 or len(f) == 0:\n print('No')\nelif min(c) < max(f):\n print('Yes')\nelse:\n print('No')", "S = input()", "S", "input()", "input", "c = []", "c", "[]", "f = []", "f", "[]", "for i, si in enumerate(S):\n if si == 'C':\n c.append(i)\n elif si == 'F':\n f.append(i)", "i", "si", "enumerate(S)", "enumerate", "S", "if si == 'C':\n c.append(i)\n elif si == 'F':\n f.append(i)", "si == 'C'", "si", "'C'", "c.append(i)", "c.append", "c", "append", "i", "elif si == 'F':\n f.append(i)", "si == 'F'", "si", "'F'", "f.append(i)", "f.append", "f", "append", "i", "if len(c) == 0 or len(f) == 0:\n print('No')\nelif min(c) < max(f):\n print('Yes')\nelse:\n print('No')", "len(c) == 0 or len(f) == 0", "len(c) == 0", "len(c)", "len", "c", "0", "len(f) == 0", "len(f)", "len", "f", "0", "print('No')", "print", "'No'", "elif min(c) < max(f):\n print('Yes')", "min(c) < max(f)", "min(c)", "min", "c", "max(f)", "max", "f", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "S = input()", "input()", "S", "c = []", "[]", "c", "f = []", "[]", "f" ]
S = input() c = [] f = [] for i, si in enumerate(S): if si == 'C': c.append(i) elif si == 'F': f.append(i) if len(c) == 0 or len(f) == 0: print('No') elif min(c) < max(f): print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 28, 13, 4, 13, 2, 13, 17, 4, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 13, 17, 4, 13, 17, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 55, 2 ], [ 61, 6 ], [ 10, 9 ], [ 56, 14 ], [ 56, 18 ], [ 9, 19 ], [ 23, 22 ], [ 9, 26 ], [ 56, 30 ], [ 56, 35 ], [ 22, 36 ], [ 62, 39 ], [ 59, 39 ], [ 58, 45 ], [ 59, 49 ], [ 62, 49 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "val = input()\ncount = 0\nfor i in range(len(val)):\n if val[i] == \"C\":\n for n in range(i+1, len(val)):\n if val[n] == \"F\" and count == 0:\n print(\"Yes\")\n count += 1\nif count == 0:\n print(\"No\")", "val = input()", "val", "input()", "input", "count = 0", "count", "0", "for i in range(len(val)):\n if val[i] == \"C\":\n for n in range(i+1, len(val)):\n if val[n] == \"F\" and count == 0:\n print(\"Yes\")\n count += 1", "i", "range(len(val))", "range", "len(val)", "len", "val", "if val[i] == \"C\":\n for n in range(i+1, len(val)):\n if val[n] == \"F\" and count == 0:\n print(\"Yes\")\n count += 1", "val[i] == \"C\"", "val[i]", "val", "i", "\"C\"", "for n in range(i+1, len(val)):\n if val[n] == \"F\" and count == 0:\n print(\"Yes\")\n count += 1", "n", "range(i+1, len(val))", "range", "i+1", "i", "1", "len(val)", "len", "val", "if val[n] == \"F\" and count == 0:\n print(\"Yes\")\n count += 1", "val[n] == \"F\" and count == 0", "val[n] == \"F\"", "val[n]", "val", "n", "\"F\"", "count == 0", "count", "0", "print(\"Yes\")", "print", "\"Yes\"", "count += 1", "count", "1", "if count == 0:\n print(\"No\")", "count == 0", "count", "0", "print(\"No\")", "print", "\"No\"", "val = input()", "input()", "val", "count += 1", "1", "count", "count = 0", "0", "count" ]
val = input() count = 0 for i in range(len(val)): if val[i] == "C": for n in range(i+1, len(val)): if val[n] == "F" and count == 0: print("Yes") count += 1 if count == 0: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 3, 4, 13, 17, 10, 4, 13, 10, 17, 13 ]
[ [ 29, 2 ], [ 32, 6 ], [ 10, 9 ], [ 30, 9 ], [ 9, 13 ], [ 33, 17 ], [ 9, 19 ], [ 29, 30 ], [ 32, 33 ] ]
[ "s = input()\ncf = False\nfor si in s:\n if si =='C': cf = True\n if cf and si == 'F':\n print('Yes')\n break\nelse:\n print('No')", "s = input()", "s", "input()", "input", "cf = False", "cf", "False", "for si in s:\n if si =='C': cf = True\n if cf and si == 'F':\n print('Yes')\n break\nelse:\n print('No')", "si", "s", "if si =='C': cf = True\n ", "si =='C'", "si", "'C'", "if cf and si == 'F':\n print('Yes')\n break", "cf and si == 'F'", "cf", "si == 'F'", "si", "'F'", "print('Yes')", "print", "'Yes'", "break", "print('No')", "print", "'No'", "s = input()", "input()", "s", "cf = False", "False", "cf" ]
s = input() cf = False for si in s: if si =='C': cf = True if cf and si == 'F': print('Yes') break else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 13, 14, 2, 13, 17, 14, 2, 18, 13, 2, 40, 13, 17, 17, 0, 13, 2, 2, 4, 13, 13, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 17, 13, 10, 4, 13, 10, 2, 13, 10, 17, 13 ]
[ [ 70, 2 ], [ 76, 6 ], [ 67, 9 ], [ 13, 12 ], [ 71, 17 ], [ 77, 20 ], [ 65, 20 ], [ 71, 25 ], [ 12, 26 ], [ 64, 29 ], [ 12, 30 ], [ 68, 33 ], [ 74, 33 ], [ 71, 38 ], [ 12, 41 ], [ 73, 45 ], [ 71, 50 ], [ 12, 51 ], [ 65, 55 ], [ 77, 55 ], [ 74, 56 ], [ 68, 56 ], [ 12, 64 ], [ 64, 65 ], [ 67, 68 ], [ 70, 71 ], [ 73, 74 ], [ 76, 77 ] ]
[ "s = input()\nminc = 101\nmaxf = 0\n\nfor i in range(len(s)):\n if minc == 101:\n if s[i] == 'C':\n minc = i\n\n if maxf == 0:\n if s[-i - 1] == 'F':\n maxf = len(s) - i - 1\n\nif minc < maxf:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "minc = 101", "minc", "101", "maxf = 0", "maxf", "0", "for i in range(len(s)):\n if minc == 101:\n if s[i] == 'C':\n minc = i\n\n if maxf == 0:\n if s[-i - 1] == 'F':\n maxf = len(s) - i - 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if minc == 101:\n if s[i] == 'C':\n minc = i\n\n ", "minc == 101", "minc", "101", "if s[i] == 'C':\n minc = i\n\n ", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "minc = i", "minc", "i", "if maxf == 0:\n if s[-i - 1] == 'F':\n maxf = len(s) - i - 1", "maxf == 0", "maxf", "0", "if s[-i - 1] == 'F':\n maxf = len(s) - i - 1", "s[-i - 1] == 'F'", "s[-i - 1]", "s", "-i - 1", "-i", "i", "1", "'F'", "maxf = len(s) - i - 1", "maxf", "len(s) - i - 1", "len(s) - i", "len(s)", "len", "s", "i", "1", "if minc < maxf:\n print('Yes')\nelse:\n print('No')", "minc < maxf", "minc", "maxf", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "minc = i", "i", "minc", "maxf = 0", "0", "maxf", "s = input()", "input()", "s", "maxf = len(s) - i - 1", "len(s) - i - 1", "maxf", "minc = 101", "101", "minc" ]
s = input() minc = 101 maxf = 0 for i in range(len(s)): if minc == 101: if s[i] == 'C': minc = i if maxf == 0: if s[-i - 1] == 'F': maxf = len(s) - i - 1 if minc < maxf: print('Yes') else: print('No')