node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 0, 13, 18, 18, 13, 13, 13, 12, 13, 0, 13, 4, 18, 4, 13, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 13, 13, 0, 13, 17, 0, 13, 17, 4, 13, 13, 14, 2, 13, 17, 4, 13, 10, 18, 13, 10, 12, 13 ]
[ [ 93, 4 ], [ 14, 13 ], [ 94, 17 ], [ 21, 20 ], [ 13, 23 ], [ 26, 25 ], [ 29, 28 ], [ 20, 31 ], [ 13, 35 ], [ 28, 36 ], [ 40, 39 ], [ 28, 40 ], [ 44, 43 ], [ 47, 46 ], [ 20, 51 ], [ 13, 55 ], [ 46, 56 ], [ 60, 59 ], [ 46, 60 ], [ 39, 65 ], [ 25, 65 ], [ 59, 68 ], [ 43, 68 ], [ 72, 71 ], [ 39, 75 ], [ 25, 75 ], [ 59, 76 ], [ 43, 76 ], [ 79, 78 ], [ 82, 81 ], [ 81, 85 ], [ 78, 85 ], [ 71, 85 ], [ 97, 91 ], [ 93, 94 ] ]
[ "import sys\n\ninput = sys.stdin.readline\n\n\ndef main():\n s = input().rstrip()\n N = len(s)\n\n i_C = -1\n for i in range(N):\n if s[i] == \"C\":\n i_C = i\n break\n i_F = -1\n for i in reversed(range(N)):\n if s[i] == \"F\":\n i_F = i\n break\n\n if i_C == -1 or i_F == -1:\n ans = \"No\"\n elif i_C < i_F:\n ans = \"Yes\"\n else:\n ans = \"No\"\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "def main():\n s = input().rstrip()\n N = len(s)\n\n i_C = -1\n for i in range(N):\n if s[i] == \"C\":\n i_C = i\n break\n i_F = -1\n for i in reversed(range(N)):\n if s[i] == \"F\":\n i_F = i\n break\n\n if i_C == -1 or i_F == -1:\n ans = \"No\"\n elif i_C < i_F:\n ans = \"Yes\"\n else:\n ans = \"No\"\n print(ans)", "main", "s = input().rstrip()", "s", "input().rstrip()", "().rstrip", "()", "input", "rstrip", "N = len(s)", "N", "len(s)", "len", "s", "i_C = -1", "i_C", "-1", "for i in range(N):\n if s[i] == \"C\":\n i_C = i\n break\n ", "i", "range(N)", "range", "N", "if s[i] == \"C\":\n i_C = i\n break\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "i_C = i", "i_C", "i", "break", "i_F = -1", "i_F", "-1", "for i in reversed(range(N)):\n if s[i] == \"F\":\n i_F = i\n break\n\n ", "i", "reversed(range(N))", "reversed", "range(N)", "range", "N", "if s[i] == \"F\":\n i_F = i\n break\n\n ", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "i_F = i", "i_F", "i", "break", "if i_C == -1 or i_F == -1:\n ans = \"No\"\n elif i_C < i_F:\n ans = \"Yes\"\n else:\n ans = \"No\"\n ", "i_C == -1 or i_F == -1", "i_C == -1", "i_C", "-1", "i_F == -1", "i_F", "-1", "ans = \"No\"", "ans", "\"No\"", "elif i_C < i_F:\n ans = \"Yes\"\n ", "i_C < i_F", "i_C", "i_F", "ans = \"Yes\"", "ans", "\"Yes\"", "ans = \"No\"", "ans", "\"No\"", "print(ans)", "print", "ans", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "input = sys.stdin.readline", "sys.stdin.readline", "input", "def main():\n s = input().rstrip()\n N = len(s)\n\n i_C = -1\n for i in range(N):\n if s[i] == \"C\":\n i_C = i\n break\n i_F = -1\n for i in reversed(range(N)):\n if s[i] == \"F\":\n i_F = i\n break\n\n if i_C == -1 or i_F == -1:\n ans = \"No\"\n elif i_C < i_F:\n ans = \"Yes\"\n else:\n ans = \"No\"\n print(ans)", "def main():\n s = input().rstrip()\n N = len(s)\n\n i_C = -1\n for i in range(N):\n if s[i] == \"C\":\n i_C = i\n break\n i_F = -1\n for i in reversed(range(N)):\n if s[i] == \"F\":\n i_F = i\n break\n\n if i_C == -1 or i_F == -1:\n ans = \"No\"\n elif i_C < i_F:\n ans = \"Yes\"\n else:\n ans = \"No\"\n print(ans)", "main" ]
import sys input = sys.stdin.readline def main(): s = input().rstrip() N = len(s) i_C = -1 for i in range(N): if s[i] == "C": i_C = i break i_F = -1 for i in reversed(range(N)): if s[i] == "F": i_F = i break if i_C == -1 or i_F == -1: ans = "No" elif i_C < i_F: ans = "Yes" else: ans = "No" print(ans) if __name__ == "__main__": main()
[ 7, 0, 13, 4, 13, 4, 13, 8, 2, 2, 17, 13, 2, 17, 18, 13, 39, 4, 18, 13, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 25, 2 ], [ 26, 11 ], [ 26, 15 ], [ 26, 19 ], [ 25, 26 ] ]
[ "s=input()\nprint(\"Yes\" if \"C\" in s and \"F\" in s[s.index(\"C\"):] else \"No\")", "s=input()", "s", "input()", "input", "print(\"Yes\" if \"C\" in s and \"F\" in s[s.index(\"C\"):] else \"No\")", "print", "\"Yes\" if \"C\" in s and \"F\" in s[s.index(\"C\"):] else \"No\"", "\"C\" in s and \"F\" in s[s.index(\"C\"):]", "\"C\" in s", "\"C\"", "s", "\"F\" in s[s.index(\"C\"):]", "\"F\"", "s[s.index(\"C\"):]", "s", "s.index(\"C\"):", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "\"Yes\"", "\"No\"", "s=input()", "input()", "s" ]
s=input() print("Yes" if "C" in s and "F" in s[s.index("C"):] else "No")
[ 7, 41, 28, 13, 4, 13, 4, 8, 2, 2, 13, 17, 2, 13, 17, 13, 17, 4, 13, 8, 2, 17, 4, 18, 17, 13, 13, 17, 17 ]
[ [ 4, 3 ], [ 3, 10 ], [ 3, 13 ], [ 3, 15 ] ]
[ "print(\n \"Yes\"\n if \"CF\" in \"\".join([s if s == \"C\" or s == \"F\" else \"\" for s in input()])\n else \"No\"\n)", "s if s == \"C\" or s == \"F\" else \"\" for s in input()", "for s in input()", "s", "input()", "input", "for s in input()", "s if s == \"C\" or s == \"F\" else \"\"", "s == \"C\" or s == \"F\"", "s == \"C\"", "s", "\"C\"", "s == \"F\"", "s", "\"F\"", "s", "\"\"", "print(\n \"Yes\"\n if \"CF\" in \"\".join([s if s == \"C\" or s == \"F\" else \"\" for s in input()])\n else \"No\"\n)", "print", "\"Yes\"\n if \"CF\" in \"\".join([s if s == \"C\" or s == \"F\" else \"\" for s in input()])\n else \"No\"", "\"CF\" in \"\".join([s if s == \"C\" or s == \"F\" else \"\" for s in input()])", "\"CF\"", "\"\".join([s if s == \"C\" or s == \"F\" else \"\" for s in input()])", "\"\".join", "\"\"", "join", "[s if s == \"C\" or s == \"F\" else \"\" for s in input()]", "\"Yes\"", "\"No\"" ]
print( "Yes" if "CF" in "".join([s if s == "C" or s == "F" else "" for s in input()]) else "No" )
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 13, 3, 9, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 17, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 52, 2 ], [ 49, 6 ], [ 10, 9 ], [ 53, 9 ], [ 50, 14 ], [ 56, 14 ], [ 47, 14 ], [ 9, 17 ], [ 46, 20 ], [ 9, 21 ], [ 50, 25 ], [ 56, 25 ], [ 47, 25 ], [ 9, 28 ], [ 55, 31 ], [ 9, 32 ], [ 56, 37 ], [ 47, 37 ], [ 50, 37 ], [ 9, 46 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ], [ 9, 55 ], [ 55, 56 ] ]
[ "s = input()\nres = \"\"\nfor letter in s:\n if res == \"\" and letter ==\"C\":\n res += letter\n elif res ==\"C\" and letter == \"F\":\n res +=letter\n break\n else:\n continue\nif res == \"CF\":\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "res = \"\"", "res", "\"\"", "for letter in s:\n if res == \"\" and letter ==\"C\":\n res += letter\n elif res ==\"C\" and letter == \"F\":\n res +=letter\n break\n else:\n continue", "letter", "s", "if res == \"\" and letter ==\"C\":\n res += letter\n elif res ==\"C\" and letter == \"F\":\n res +=letter\n break\n else:\n continue", "res == \"\" and letter ==\"C\"", "res == \"\"", "res", "\"\"", "letter ==\"C\"", "letter", "\"C\"", "res += letter", "res", "letter", "elif res ==\"C\" and letter == \"F\":\n res +=letter\n break\n ", "res ==\"C\" and letter == \"F\"", "res ==\"C\"", "res", "\"C\"", "letter == \"F\"", "letter", "\"F\"", "res +=letter", "res", "letter", "break", "continue", "if res == \"CF\":\n print(\"Yes\")\nelse:\n print(\"No\")", "res == \"CF\"", "res", "\"CF\"", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "res += letter", "letter", "res", "res = \"\"", "\"\"", "res", "s = input()", "input()", "s", "res +=letter", "letter", "res" ]
s = input() res = "" for letter in s: if res == "" and letter =="C": res += letter elif res =="C" and letter == "F": res +=letter break else: continue if res == "CF": print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 8, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 18, 13, 13, 17, 2, 2, 4, 13, 13, 4, 18, 18, 13, 39, 17, 13, 17, 17, 17, 17, 10, 4, 13 ]
[ [ 39, 2 ], [ 40, 12 ], [ 40, 15 ], [ 40, 19 ], [ 40, 26 ], [ 40, 30 ], [ 39, 40 ] ]
[ "s=input();print(\"Yes\" if \"C\" in s and \"F\" in s and s.index(\"C\")<len(s)-s[::-1].index(\"F\")-1 else \"No\")", "s=input()", "s", "input()", "input", "print(\"Yes\" if \"C\" in s and \"F\" in s and s.index(\"C\")<len(s)-s[::-1].index(\"F\")-1 else \"No\")", "print", "\"Yes\" if \"C\" in s and \"F\" in s and s.index(\"C\")<len(s)-s[::-1].index(\"F\")-1 else \"No\"", "\"C\" in s and \"F\" in s and s.index(\"C\")<len(s)-s[::-1].index(\"F\")-1", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "s.index(\"C\")<len(s)-s[::-1].index(\"F\")-1", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "len(s)-s[::-1].index(\"F\")-1", "len(s)-s[::-1].index(\"F\")", "len(s)", "len", "s", "s[::-1].index(\"F\")", "[::-1].index", "[::-1]", "s", "::-1", "-1", "index", "\"F\"", "1", "\"Yes\"", "\"No\"", "s=input()", "input()", "s" ]
s=input();print("Yes" if "C" in s and "F" in s and s.index("C")<len(s)-s[::-1].index("F")-1 else "No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 28, 13, 4, 13, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 14, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 45, 2 ], [ 48, 6 ], [ 46, 9 ], [ 42, 11 ], [ 15, 14 ], [ 49, 17 ], [ 20, 19 ], [ 14, 22 ], [ 49, 23 ], [ 46, 28 ], [ 14, 29 ], [ 46, 33 ], [ 19, 34 ], [ 51, 37 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "s = input()\nn = len(s)\nres = False\nfor i in range(n):\n for j in range(i, n):\n if s[i] == 'C' and s[j] == 'F':\n res = True\nif res: print(\"Yes\")\nelse: print(\"No\")", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "res = False", "res", "False", "for i in range(n):\n for j in range(i, n):\n if s[i] == 'C' and s[j] == 'F':\n res = True", "i", "range(n)", "range", "n", "for j in range(i, n):\n if s[i] == 'C' and s[j] == 'F':\n res = True", "j", "range(i, n)", "range", "i", "n", "if s[i] == 'C' and s[j] == 'F':\n res = True", "s[i] == 'C' and s[j] == 'F'", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "s[j] == 'F'", "s[j]", "s", "j", "'F'", "res = True", "res", "True", "if res: print(\"Yes\")\nelse: print(\"No\")", "res", "res = False", "False", "res", "s = input()", "input()", "s", "n = len(s)", "len(s)", "n", "res = True", "True", "res" ]
s = input() n = len(s) res = False for i in range(n): for j in range(i, n): if s[i] == 'C' and s[j] == 'F': res = True if res: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 28, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 28, 13, 4, 13, 13, 13, 14, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 42, 6 ], [ 46, 9 ], [ 12, 11 ], [ 43, 14 ], [ 46, 18 ], [ 11, 19 ], [ 23, 22 ], [ 11, 25 ], [ 43, 26 ], [ 46, 30 ], [ 22, 31 ], [ 42, 43 ], [ 45, 46 ] ]
[ "s = input()\nn = len(s)\nfor i in range(n):\n if s[i]==\"C\":\n for j in range(i,n):\n if s[j]==\"F\":\n print(\"Yes\")\n exit()\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "for i in range(n):\n if s[i]==\"C\":\n for j in range(i,n):\n if s[j]==\"F\":\n print(\"Yes\")\n exit()\nelse:\n print(\"No\")", "i", "range(n)", "range", "n", "if s[i]==\"C\":\n for j in range(i,n):\n if s[j]==\"F\":\n print(\"Yes\")\n exit()", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "for j in range(i,n):\n if s[j]==\"F\":\n print(\"Yes\")\n exit()", "j", "range(i,n)", "range", "i", "n", "if s[j]==\"F\":\n print(\"Yes\")\n exit()", "s[j]==\"F\"", "s[j]", "s", "j", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "n = len(s)", "len(s)", "n", "s = input()", "input()", "s" ]
s = input() n = len(s) for i in range(n): if s[i]=="C": for j in range(i,n): if s[j]=="F": print("Yes") exit() 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, 2, 40, 13, 17, 40, 13, 17, 2, 13, 13, 17, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 36, 2 ], [ 42, 6 ], [ 37, 9 ], [ 39, 13 ], [ 37, 16 ], [ 43, 25 ], [ 40, 28 ], [ 43, 31 ], [ 40, 32 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "# -*- coding: utf-8 -*-\n\ns = input()\n\nc = s.find('C')\nf = s.rfind('F')\n\nprint('Yes' if c != -1 and f != -1 and c < f else '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'", "print('Yes' if c != -1 and f != -1 and c < f else 'No')", "print", "'Yes' if c != -1 and f != -1 and c < f else 'No'", "c != -1 and f != -1 and c < f", "c != -1 and f != -1", "c != -1", "c", "-1", "f != -1", "f", "-1", "c < f", "c", "f", "'Yes'", "'No'", "s = input()", "input()", "s", "f = s.rfind('F')", "s.rfind('F')", "f", "c = s.find('C')", "s.find('C')", "c" ]
# -*- coding: utf-8 -*- s = input() c = s.find('C') f = s.rfind('F') print('Yes' if c != -1 and f != -1 and c < f else 'No')
[ 7, 0, 13, 4, 13, 14, 2, 2, 17, 13, 2, 17, 13, 14, 2, 17, 18, 13, 39, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 33, 2 ], [ 34, 9 ], [ 34, 12 ], [ 34, 17 ], [ 34, 21 ], [ 33, 34 ] ]
[ "s = input()\n\nif 'C' in s and 'F' in s:\n if 'F' in s[s.index('C'):]:\n print('Yes')\n exit()\nprint('No')", "s = input()", "s", "input()", "input", "if 'C' in s and 'F' in s:\n if 'F' in s[s.index('C'):]:\n print('Yes')\n exit()", "'C' in s and 'F' in s", "'C' in s", "'C'", "s", "'F' in s", "'F'", "s", "if 'F' in s[s.index('C'):]:\n print('Yes')\n exit()", "'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'", "exit()", "exit", "print('No')", "print", "'No'", "s = input()", "input()", "s" ]
s = input() if 'C' in s and 'F' in s: if 'F' in s[s.index('C'):]: print('Yes') exit() print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 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, 4, 13, 8, 2, 13, 17, 17, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 53, 2 ], [ 56, 6 ], [ 62, 9 ], [ 13, 12 ], [ 54, 17 ], [ 63, 21 ], [ 60, 21 ], [ 66, 21 ], [ 54, 25 ], [ 12, 26 ], [ 65, 29 ], [ 63, 34 ], [ 60, 34 ], [ 66, 34 ], [ 54, 38 ], [ 12, 39 ], [ 59, 42 ], [ 60, 48 ], [ 66, 48 ], [ 63, 48 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ] ]
[ "s = input()\nss = \"\"\np = 0\nfor i in range(len(s)):\n if p == 0 and s[i] == \"C\":\n p = 1\n elif p == 1 and s[i] == \"F\":\n p = 2\nprint(\"Yes\" if p == 2 else \"No\")", "s = input()", "s", "input()", "input", "ss = \"\"", "ss", "\"\"", "p = 0", "p", "0", "for i in range(len(s)):\n if p == 0 and s[i] == \"C\":\n p = 1\n elif p == 1 and s[i] == \"F\":\n p = 2", "i", "range(len(s))", "range", "len(s)", "len", "s", "if p == 0 and s[i] == \"C\":\n p = 1\n elif p == 1 and s[i] == \"F\":\n p = 2", "p == 0 and s[i] == \"C\"", "p == 0", "p", "0", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "p = 1", "p", "1", "elif p == 1 and s[i] == \"F\":\n p = 2", "p == 1 and s[i] == \"F\"", "p == 1", "p", "1", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "p = 2", "p", "2", "print(\"Yes\" if p == 2 else \"No\")", "print", "\"Yes\" if p == 2 else \"No\"", "p == 2", "p", "2", "\"Yes\"", "\"No\"", "s = input()", "input()", "s", "ss = \"\"", "\"\"", "ss", "p = 2", "2", "p", "p = 0", "0", "p", "p = 1", "1", "p" ]
s = input() ss = "" p = 0 for i in range(len(s)): if p == 0 and s[i] == "C": p = 1 elif p == 1 and s[i] == "F": p = 2 print("Yes" if p == 2 else "No")
[ 7, 0, 13, 4, 18, 4, 13, 13, 14, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 2, 17, 17, 14, 2, 17, 18, 13, 39, 13, 0, 13, 2, 13, 4, 18, 18, 13, 39, 13, 13, 17, 0, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 2, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13, 10, 2, 13 ]
[ [ 66, 2 ], [ 67, 11 ], [ 60, 13 ], [ 67, 16 ], [ 69, 20 ], [ 67, 28 ], [ 57, 32 ], [ 70, 34 ], [ 61, 34 ], [ 67, 38 ], [ 63, 44 ], [ 70, 48 ], [ 61, 48 ], [ 64, 49 ], [ 58, 49 ], [ 57, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ], [ 69, 70 ] ]
[ "s = input().strip()\nif \"C\" in s:\n indc = s.index(\"C\")\nelse:\n indc = 10**3\nif \"F\" in s[indc:]:\n indf = indc+s[indc:].index(\"F\")\nelse:\n indf = -1\nif indc<indf:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input().strip()", "s", "input().strip()", "().strip", "()", "input", "strip", "if \"C\" in s:\n indc = s.index(\"C\")\nelse:\n indc = 10**3", "\"C\" in s", "\"C\"", "s", "indc = s.index(\"C\")", "indc", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "indc = 10**3", "indc", "10**3", "10", "3", "if \"F\" in s[indc:]:\n indf = indc+s[indc:].index(\"F\")\nelse:\n indf = -1", "\"F\" in s[indc:]", "\"F\"", "s[indc:]", "s", "indc:", "indc", "indf = indc+s[indc:].index(\"F\")", "indf", "indc+s[indc:].index(\"F\")", "indc", "s[indc:].index(\"F\")", "[indc:].index", "[indc:]", "s", "indc:", "indc", "index", "\"F\"", "indf = -1", "indf", "-1", "if indc<indf:\n print(\"Yes\")\nelse:\n print(\"No\")", "indc<indf", "indc", "indf", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "indf = indc+s[indc:].index(\"F\")", "indc+s[indc:].index(\"F\")", "indf", "indc = s.index(\"C\")", "s.index(\"C\")", "indc", "indf = -1", "-1", "indf", "s = input().strip()", "input().strip()", "s", "indc = 10**3", "10**3", "indc" ]
s = input().strip() if "C" in s: indc = s.index("C") else: indc = 10**3 if "F" in s[indc:]: indf = indc+s[indc:].index("F") else: indf = -1 if indc<indf: print("Yes") else: print("No")
[ 7, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 0, 13, 12, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 4, 18, 18, 13, 13, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 12, 4, 13, 4, 13, 13, 4, 18, 4, 18, 18, 13, 13, 13, 13, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 13, 14, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13, 10, 4, 13, 10, 2, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 155, 17 ], [ 134, 29 ], [ 137, 41 ], [ 140, 52 ], [ 146, 67 ], [ 158, 82 ], [ 143, 99 ], [ 152, 104 ], [ 131, 111 ], [ 156, 113 ], [ 149, 115 ], [ 132, 121 ], [ 131, 132 ], [ 134, 135 ], [ 137, 138 ], [ 140, 141 ], [ 143, 144 ], [ 146, 147 ], [ 149, 150 ], [ 152, 153 ], [ 155, 156 ], [ 158, 159 ] ]
[ "import sys\nimport math\nimport itertools\nimport collections\nimport heapq\nimport re\nimport numpy as np\nfrom functools import reduce\n\nrr = lambda: sys.stdin.readline().rstrip()\nrs = lambda: sys.stdin.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.readline().split())\nrf = lambda: map(float, sys.stdin.readline().split())\nrl = lambda: list(map(int, sys.stdin.readline().split()))\ninf = float('inf')\nmod = 10**9 + 7\n\ns = rr()\na = re.search(r'C.*F', s)\nif a:\n print('Yes')\nelse:\n print('No')\n\n\n\n\n\n\n\n\n\n\n\n", "import sys", "sys", "import math", "math", "import itertools", "itertools", "import collections", "collections", "import heapq", "heapq", "import re", "re", "import numpy as np", "numpy", "from functools import reduce", "rr = lambda: sys.stdin.readline().rstrip()", "rr", "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", "rs = lambda: sys.stdin.readline().split()", "rs", "lambda: sys.stdin.readline().split()", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "ri = lambda: int(sys.stdin.readline())", "ri", "lambda: int(sys.stdin.readline())", "int(sys.stdin.readline())", "int", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "rm = lambda: map(int, sys.stdin.readline().split())", "rm", "lambda: map(int, sys.stdin.readline().split())", "map(int, sys.stdin.readline().split())", "map", "int", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "rf = lambda: map(float, sys.stdin.readline().split())", "rf", "lambda: map(float, sys.stdin.readline().split())", "map(float, sys.stdin.readline().split())", "map", "float", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "rl = lambda: list(map(int, sys.stdin.readline().split()))", "rl", "lambda: list(map(int, sys.stdin.readline().split()))", "list(map(int, sys.stdin.readline().split()))", "list", "map(int, sys.stdin.readline().split())", "map", "int", "sys.stdin.readline().split()", "sys.stdin.readline().split", "sys.stdin.readline()", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "split", "inf = float('inf')", "inf", "float('inf')", "float", "'inf'", "mod = 10**9 + 7", "mod", "10**9 + 7", "10**9", "10", "9", "7", "s = rr()", "s", "rr()", "rr", "a = re.search(r'C.*F', s)", "a", "re.search(r'C.*F', s)", "re.search", "re", "search", "r'C.*F'", "s", "if a:\n print('Yes')\nelse:\n print('No')", "a", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = rr()", "rr()", "s", "rs = lambda: sys.stdin.readline().split()", "lambda: sys.stdin.readline().split()", "rs", "ri = lambda: int(sys.stdin.readline())", "lambda: int(sys.stdin.readline())", "ri", "rm = lambda: map(int, sys.stdin.readline().split())", "lambda: map(int, sys.stdin.readline().split())", "rm", "inf = float('inf')", "float('inf')", "inf", "rf = lambda: map(float, sys.stdin.readline().split())", "lambda: map(float, sys.stdin.readline().split())", "rf", "a = re.search(r'C.*F', s)", "re.search(r'C.*F', s)", "a", "mod = 10**9 + 7", "10**9 + 7", "mod", "rr = lambda: sys.stdin.readline().rstrip()", "lambda: sys.stdin.readline().rstrip()", "rr", "rl = lambda: list(map(int, sys.stdin.readline().split()))", "lambda: list(map(int, sys.stdin.readline().split()))", "rl" ]
import sys import math import itertools import collections import heapq import re import numpy as np from functools import reduce rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rf = lambda: map(float, sys.stdin.readline().split()) rl = lambda: list(map(int, sys.stdin.readline().split())) inf = float('inf') mod = 10**9 + 7 s = rr() a = re.search(r'C.*F', s) if a: print('Yes') else: print('No')
[ 7, 17, 12, 13, 15, 13, 15, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 18, 13, 13, 13, 0, 13, 18, 4, 13, 39, 17, 14, 2, 4, 18, 13, 13, 17, 13, 17, 4, 13, 17, 29, 4, 13, 17, 29, 4, 13, 10, 12, 13 ]
[ [ 10, 9 ], [ 17, 16 ], [ 24, 23 ], [ 31, 30 ], [ 9, 33 ], [ 30, 43 ], [ 57, 54 ] ]
[ "'''\nCreated on 2020/08/20\n\n@author: harurun\n'''\ndef main():\n import re\n import sys\n pin=sys.stdin.readline\n pout=sys.stdout.write\n perr=sys.stderr.write\n\n s=pin()[:-1]\n if re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)==None:\n print(\"No\")\n return\n print(\"Yes\")\n return\n\nmain()", "'''\nCreated on 2020/08/20\n\n@author: harurun\n'''", "def main():\n import re\n import sys\n pin=sys.stdin.readline\n pout=sys.stdout.write\n perr=sys.stderr.write\n\n s=pin()[:-1]\n if re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)==None:\n print(\"No\")\n return\n print(\"Yes\")\n return", "main", "import re", "re", "import sys", "sys", "pin=sys.stdin.readline", "pin", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "pout=sys.stdout.write", "pout", "sys.stdout.write", "sys.stdout", "sys", "stdout", "write", "perr=sys.stderr.write", "perr", "sys.stderr.write", "sys.stderr", "sys", "stderr", "write", "s=pin()[:-1]", "s", "pin()[:-1]", "()", "pin", ":-1", "-1", "if re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)==None:\n print(\"No\")\n return\n ", "re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)==None", "re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)", "re.fullmatch", "re", "fullmatch", "r\"[A-Z]*C+[A-Z]*F+[A-Z]*\"", "s", "None", "print(\"No\")", "print", "\"No\"", "return", "print(\"Yes\")", "print", "\"Yes\"", "return", "main()", "main", "def main():\n import re\n import sys\n pin=sys.stdin.readline\n pout=sys.stdout.write\n perr=sys.stderr.write\n\n s=pin()[:-1]\n if re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)==None:\n print(\"No\")\n return\n print(\"Yes\")\n return", "def main():\n import re\n import sys\n pin=sys.stdin.readline\n pout=sys.stdout.write\n perr=sys.stderr.write\n\n s=pin()[:-1]\n if re.fullmatch(r\"[A-Z]*C+[A-Z]*F+[A-Z]*\", s)==None:\n print(\"No\")\n return\n print(\"Yes\")\n return", "main" ]
''' Created on 2020/08/20 @author: harurun ''' def main(): import re import sys pin=sys.stdin.readline pout=sys.stdout.write perr=sys.stderr.write s=pin()[:-1] if re.fullmatch(r"[A-Z]*C+[A-Z]*F+[A-Z]*", s)==None: print("No") return print("Yes") return main()
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 13, 17, 0, 13, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 2, 13, 17, 14, 2, 2, 40, 13, 17, 40, 13, 17, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 2, 13, 10, 4, 13, 10, 2, 13, 10, 4, 13 ]
[ [ 81, 2 ], [ 75, 6 ], [ 82, 9 ], [ 69, 11 ], [ 66, 14 ], [ 18, 17 ], [ 76, 20 ], [ 82, 25 ], [ 17, 26 ], [ 70, 29 ], [ 79, 29 ], [ 78, 32 ], [ 17, 34 ], [ 82, 39 ], [ 17, 40 ], [ 72, 43 ], [ 17, 45 ], [ 79, 51 ], [ 70, 51 ], [ 73, 54 ], [ 67, 54 ], [ 79, 57 ], [ 70, 57 ], [ 73, 58 ], [ 67, 58 ], [ 66, 67 ], [ 69, 70 ], [ 72, 73 ], [ 75, 76 ], [ 78, 79 ], [ 81, 82 ] ]
[ "#CF\ns = input()\nn = len(s)\nc = 0\nf = 0\nfor i in range(n):\n if s[i] == 'C' and c == 0:\n c = i+1\n if s[i] == 'F':\n f = i+1\nif c != 0 and f != 0 and c < f:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "c = 0", "c", "0", "f = 0", "f", "0", "for i in range(n):\n if s[i] == 'C' and c == 0:\n c = i+1\n if s[i] == 'F':\n f = i+1", "i", "range(n)", "range", "n", "if s[i] == 'C' and c == 0:\n c = i+1\n ", "s[i] == 'C' and c == 0", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "c == 0", "c", "0", "c = i+1", "c", "i+1", "i", "1", "if s[i] == 'F':\n f = i+1", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "f = i+1", "f", "i+1", "i", "1", "if c != 0 and f != 0 and c < f:\n print(\"Yes\")\nelse:\n print(\"No\")", "c != 0 and f != 0 and c < f", "c != 0 and f != 0", "c != 0", "c", "0", "f != 0", "f", "0", "c < f", "c", "f", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "f = 0", "0", "f", "c = 0", "0", "c", "f = i+1", "i+1", "f", "n = len(s)", "len(s)", "n", "c = i+1", "i+1", "c", "s = input()", "input()", "s" ]
#CF s = input() n = len(s) c = 0 f = 0 for i in range(n): if s[i] == 'C' and c == 0: c = i+1 if s[i] == 'F': f = i+1 if c != 0 and f != 0 and c < f: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 4, 13, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 4, 13, 13, 13, 4, 13, 8, 2, 13, 13, 17, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 59, 2 ], [ 65, 6 ], [ 60, 9 ], [ 53, 11 ], [ 15, 14 ], [ 60, 19 ], [ 60, 23 ], [ 14, 24 ], [ 56, 27 ], [ 66, 30 ], [ 57, 30 ], [ 14, 31 ], [ 60, 35 ], [ 14, 36 ], [ 62, 39 ], [ 54, 42 ], [ 63, 42 ], [ 14, 43 ], [ 57, 48 ], [ 66, 48 ], [ 63, 49 ], [ 54, 49 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ] ]
[ "s = input()\n\nc_idx = len(s)\nf_idx = -1\nfor i in range(len(s)):\n if s[i] == 'C':\n c_idx = min(c_idx, i)\n if s[i] == 'F':\n f_idx = max(f_idx, i)\nprint('Yes' if c_idx < f_idx else 'No')", "s = input()", "s", "input()", "input", "c_idx = len(s)", "c_idx", "len(s)", "len", "s", "f_idx = -1", "f_idx", "-1", "for i in range(len(s)):\n if s[i] == 'C':\n c_idx = min(c_idx, i)\n if s[i] == 'F':\n f_idx = max(f_idx, i)", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == 'C':\n c_idx = min(c_idx, i)\n ", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "c_idx = min(c_idx, i)", "c_idx", "min(c_idx, i)", "min", "c_idx", "i", "if s[i] == 'F':\n f_idx = max(f_idx, i)", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "f_idx = max(f_idx, i)", "f_idx", "max(f_idx, i)", "max", "f_idx", "i", "print('Yes' if c_idx < f_idx else 'No')", "print", "'Yes' if c_idx < f_idx else 'No'", "c_idx < f_idx", "c_idx", "f_idx", "'Yes'", "'No'", "f_idx = -1", "-1", "f_idx", "c_idx = min(c_idx, i)", "min(c_idx, i)", "c_idx", "s = input()", "input()", "s", "f_idx = max(f_idx, i)", "max(f_idx, i)", "f_idx", "c_idx = len(s)", "len(s)", "c_idx" ]
s = input() c_idx = len(s) f_idx = -1 for i in range(len(s)): if s[i] == 'C': c_idx = min(c_idx, i) if s[i] == 'F': f_idx = max(f_idx, i) print('Yes' if c_idx < f_idx else 'No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 28, 13, 4, 13, 4, 13, 13, 14, 2, 17, 18, 13, 13, 0, 13, 18, 13, 39, 2, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 17, 18, 13, 13, 0, 13, 17, 4, 13, 8, 2, 13, 17, 17, 17, 10, 17, 13, 10, 4, 13, 10, 18, 13, 10, 4, 13 ]
[ [ 64, 2 ], [ 58, 6 ], [ 11, 10 ], [ 65, 15 ], [ 65, 20 ], [ 10, 21 ], [ 61, 23 ], [ 65, 25 ], [ 10, 28 ], [ 32, 31 ], [ 62, 36 ], [ 62, 41 ], [ 31, 42 ], [ 55, 44 ], [ 56, 50 ], [ 59, 50 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ], [ 64, 65 ] ]
[ "a=input()\nans=int()\nfor i in range(len(a)):\n if 'C' in a[i]:\n b=a[i+1:]\n for j in range(len(b)):\n if 'F' in b[j]:\n ans+=1\nprint('Yes' if ans>0 else 'No')", "a=input()", "a", "input()", "input", "ans=int()", "ans", "int()", "int", "for i in range(len(a)):\n if 'C' in a[i]:\n b=a[i+1:]\n for j in range(len(b)):\n if 'F' in b[j]:\n ans+=1", "i", "range(len(a))", "range", "len(a)", "len", "a", "if 'C' in a[i]:\n b=a[i+1:]\n for j in range(len(b)):\n if 'F' in b[j]:\n ans+=1", "'C' in a[i]", "'C'", "a[i]", "a", "i", "b=a[i+1:]", "b", "a[i+1:]", "a", "i+1:", "i+1", "i", "1", "for j in range(len(b)):\n if 'F' in b[j]:\n ans+=1", "j", "range(len(b))", "range", "len(b)", "len", "b", "if 'F' in b[j]:\n ans+=1", "'F' in b[j]", "'F'", "b[j]", "b", "j", "ans+=1", "ans", "1", "print('Yes' if ans>0 else 'No')", "print", "'Yes' if ans>0 else 'No'", "ans>0", "ans", "0", "'Yes'", "'No'", "ans+=1", "1", "ans", "ans=int()", "int()", "ans", "b=a[i+1:]", "a[i+1:]", "b", "a=input()", "input()", "a" ]
a=input() ans=int() for i in range(len(a)): if 'C' in a[i]: b=a[i+1:] for j in range(len(b)): if 'F' in b[j]: ans+=1 print('Yes' if ans>0 else 'No')
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 39, 17, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 18, 13, 13, 0, 13, 17, 14, 2, 13, 17, 3, 4, 13, 8, 2, 13, 17, 17, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 39, 13 ]
[ [ 47, 2 ], [ 50, 8 ], [ 41, 13 ], [ 17, 16 ], [ 48, 16 ], [ 16, 20 ], [ 51, 22 ], [ 42, 23 ], [ 45, 23 ], [ 44, 25 ], [ 45, 29 ], [ 42, 29 ], [ 45, 36 ], [ 42, 36 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "s = list(input())\ncf = [\"C\", \"F\"]\ni = 0\nfor t in s:\n if t == cf[i]:\n i += 1\n if i == 2:\n break\nprint(\"Yes\" if i == 2 else \"No\")", "s = list(input())", "s", "list(input())", "list", "input()", "input", "cf = [\"C\", \"F\"]", "cf", "[\"C\", \"F\"]", "\"C\"", "\"F\"", "i = 0", "i", "0", "for t in s:\n if t == cf[i]:\n i += 1\n if i == 2:\n break", "t", "s", "if t == cf[i]:\n i += 1\n ", "t == cf[i]", "t", "cf[i]", "cf", "i", "i += 1", "i", "1", "if i == 2:\n break", "i == 2", "i", "2", "break", "print(\"Yes\" if i == 2 else \"No\")", "print", "\"Yes\" if i == 2 else \"No\"", "i == 2", "i", "2", "\"Yes\"", "\"No\"", "i = 0", "0", "i", "i += 1", "1", "i", "s = list(input())", "list(input())", "s", "cf = [\"C\", \"F\"]", "[\"C\", \"F\"]", "cf" ]
s = list(input()) cf = ["C", "F"] i = 0 for t in s: if t == cf[i]: i += 1 if i == 2: break print("Yes" if i == 2 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, 0, 13, 17, 14, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 45, 2 ], [ 39, 6 ], [ 42, 9 ], [ 13, 12 ], [ 46, 12 ], [ 12, 16 ], [ 51, 19 ], [ 52, 23 ], [ 40, 23 ], [ 12, 25 ], [ 48, 28 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "# Problem A - CF\n\n# input process\nS = input()\n\n# initialization\nis_ok_1 = False\nis_ok_2 = False\n\n# str count process\nfor s in S:\n if s==\"C\":\n is_ok_1 = True\n\n if is_ok_1 and s==\"F\":\n is_ok_2 = True\n\n# output process\nif is_ok_2:\n print(\"Yes\")\nelse:\n print(\"No\")", "S = input()", "S", "input()", "input", "is_ok_1 = False", "is_ok_1", "False", "is_ok_2 = False", "is_ok_2", "False", "for s in S:\n if s==\"C\":\n is_ok_1 = True\n\n if is_ok_1 and s==\"F\":\n is_ok_2 = True\n\n# output process", "s", "S", "if s==\"C\":\n is_ok_1 = True\n\n ", "s==\"C\"", "s", "\"C\"", "is_ok_1 = True", "is_ok_1", "True", "if is_ok_1 and s==\"F\":\n is_ok_2 = True\n\n# output process", "is_ok_1 and s==\"F\"", "is_ok_1", "s==\"F\"", "s", "\"F\"", "is_ok_2 = True", "is_ok_2", "True", "if is_ok_2:\n print(\"Yes\")\nelse:\n print(\"No\")", "is_ok_2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "is_ok_1 = False", "False", "is_ok_1", "is_ok_2 = False", "False", "is_ok_2", "S = input()", "input()", "S", "is_ok_2 = True", "True", "is_ok_2", "is_ok_1 = True", "True", "is_ok_1" ]
# Problem A - CF # input process S = input() # initialization is_ok_1 = False is_ok_2 = False # str count process for s in S: if s=="C": is_ok_1 = True if is_ok_1 and s=="F": is_ok_2 = True # output process if is_ok_2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 2, 13, 17, 14, 2, 18, 13, 13, 17, 14, 2, 17, 18, 13, 39, 2, 13, 17, 0, 13, 17, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 42, 2 ], [ 51, 6 ], [ 43, 9 ], [ 48, 11 ], [ 15, 14 ], [ 52, 18 ], [ 43, 23 ], [ 14, 24 ], [ 43, 30 ], [ 14, 33 ], [ 45, 36 ], [ 46, 40 ], [ 49, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "s=input()\ns_len=len(s)\nans=\"No\"\nfor i in range(s_len-1):\n if s[i]==\"C\":\n if \"F\" in s[i+1:]:\n ans=\"Yes\"\nprint(ans)", "s=input()", "s", "input()", "input", "s_len=len(s)", "s_len", "len(s)", "len", "s", "ans=\"No\"", "ans", "\"No\"", "for i in range(s_len-1):\n if s[i]==\"C\":\n if \"F\" in s[i+1:]:\n ans=\"Yes\"", "i", "range(s_len-1)", "range", "s_len-1", "s_len", "1", "if s[i]==\"C\":\n if \"F\" in s[i+1:]:\n ans=\"Yes\"", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "if \"F\" in s[i+1:]:\n ans=\"Yes\"", "\"F\" in s[i+1:]", "\"F\"", "s[i+1:]", "s", "i+1:", "i+1", "i", "1", "ans=\"Yes\"", "ans", "\"Yes\"", "print(ans)", "print", "ans", "s=input()", "input()", "s", "ans=\"Yes\"", "\"Yes\"", "ans", "ans=\"No\"", "\"No\"", "ans", "s_len=len(s)", "len(s)", "s_len" ]
s=input() s_len=len(s) ans="No" for i in range(s_len-1): if s[i]=="C": if "F" in s[i+1:]: ans="Yes" print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 17, 18, 13, 13, 0, 13, 18, 13, 39, 2, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 17, 18, 13, 13, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 18, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 65, 2 ], [ 62, 6 ], [ 71, 9 ], [ 13, 12 ], [ 66, 17 ], [ 66, 22 ], [ 12, 23 ], [ 59, 25 ], [ 66, 27 ], [ 12, 30 ], [ 34, 33 ], [ 60, 38 ], [ 63, 38 ], [ 60, 43 ], [ 63, 43 ], [ 33, 44 ], [ 68, 46 ], [ 69, 50 ], [ 72, 50 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ] ]
[ "s = input()\nsc = ''\nc = 0\n\nfor i in range(len(s)):\n if 'C' == s[i]:\n sc = s[i+1:]\n for j in range(len(sc)):\n if 'F' == sc[j]:\n c += 1\n\nif c > 0:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "sc = ''", "sc", "''", "c = 0", "c", "0", "for i in range(len(s)):\n if 'C' == s[i]:\n sc = s[i+1:]\n for j in range(len(sc)):\n if 'F' == sc[j]:\n c += 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if 'C' == s[i]:\n sc = s[i+1:]\n for j in range(len(sc)):\n if 'F' == sc[j]:\n c += 1", "'C' == s[i]", "'C'", "s[i]", "s", "i", "sc = s[i+1:]", "sc", "s[i+1:]", "s", "i+1:", "i+1", "i", "1", "for j in range(len(sc)):\n if 'F' == sc[j]:\n c += 1", "j", "range(len(sc))", "range", "len(sc)", "len", "sc", "if 'F' == sc[j]:\n c += 1", "'F' == sc[j]", "'F'", "sc[j]", "sc", "j", "c += 1", "c", "1", "if c > 0:\n print('Yes')\nelse:\n print('No')", "c > 0", "c", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "sc = s[i+1:]", "s[i+1:]", "sc", "sc = ''", "''", "sc", "s = input()", "input()", "s", "c += 1", "1", "c", "c = 0", "0", "c" ]
s = input() sc = '' c = 0 for i in range(len(s)): if 'C' == s[i]: sc = s[i+1:] for j in range(len(sc)): if 'F' == sc[j]: c += 1 if c > 0: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 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, 40, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 62, 2 ], [ 68, 6 ], [ 63, 9 ], [ 59, 11 ], [ 15, 14 ], [ 69, 17 ], [ 60, 21 ], [ 66, 21 ], [ 57, 21 ], [ 63, 25 ], [ 14, 26 ], [ 56, 29 ], [ 60, 34 ], [ 66, 34 ], [ 57, 34 ], [ 63, 38 ], [ 14, 39 ], [ 65, 42 ], [ 66, 47 ], [ 57, 47 ], [ 60, 47 ], [ 56, 57 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ] ]
[ "s = input()\nn = len(s)\ncnt = 0\nfor i in range(n):\n if cnt == 0 and s[i] == 'C':\n cnt += 1\n elif cnt == 1 and s[i] == 'F':\n cnt += 1\n break\nif cnt >= 2:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "cnt = 0", "cnt", "0", "for i in range(n):\n if cnt == 0 and s[i] == 'C':\n cnt += 1\n elif cnt == 1 and s[i] == 'F':\n cnt += 1\n break", "i", "range(n)", "range", "n", "if cnt == 0 and s[i] == 'C':\n cnt += 1\n elif cnt == 1 and s[i] == 'F':\n cnt += 1\n break", "cnt == 0 and s[i] == 'C'", "cnt == 0", "cnt", "0", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "cnt += 1", "cnt", "1", "elif cnt == 1 and s[i] == 'F':\n cnt += 1\n break", "cnt == 1 and s[i] == 'F'", "cnt == 1", "cnt", "1", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "cnt += 1", "cnt", "1", "break", "if cnt >= 2:\n print('Yes')\nelse:\n print('No')", "cnt >= 2", "cnt", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "cnt += 1", "1", "cnt", "cnt = 0", "0", "cnt", "s = input()", "input()", "s", "cnt += 1", "1", "cnt", "n = len(s)", "len(s)", "n" ]
s = input() n = len(s) cnt = 0 for i in range(n): if cnt == 0 and s[i] == 'C': cnt += 1 elif cnt == 1 and s[i] == 'F': cnt += 1 break if cnt >= 2: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 41, 28, 13, 13, 4, 13, 13, 2, 13, 17, 4, 13, 0, 13, 13, 41, 28, 13, 13, 4, 13, 13, 2, 13, 17, 4, 13, 0, 13, 13, 14, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 13, 13, 4, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 13, 13, 10, 13, 13 ]
[ [ 60, 2 ], [ 61, 13 ], [ 66, 20 ], [ 61, 28 ], [ 63, 35 ], [ 61, 42 ], [ 61, 45 ], [ 67, 49 ], [ 64, 52 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ] ]
[ "n=list(input())\ncindex=[i for i,j in enumerate(n) if j==\"C\"]\nfindex=[i for i,j in enumerate(n) if j==\"F\"]\nif (\"C\" in n and \"F\" in n) and (min(cindex)<max(findex)):\n print(\"Yes\")\nelse:\n print(\"No\")", "n=list(input())", "n", "list(input())", "list", "input()", "input", "i for i,j in enumerate(n) if j==\"C\"", "for i,j in enumerate(n) if j==\"C\"", "i", "j", "enumerate(n)", "enumerate", "n", "j==\"C\"", "j", "\"C\"", "if j==\"C\"", "i", "cindex=[i for i,j in enumerate(n) if j==\"C\"]", "cindex", "[i for i,j in enumerate(n) if j==\"C\"]", "i for i,j in enumerate(n) if j==\"F\"", "for i,j in enumerate(n) if j==\"F\"", "i", "j", "enumerate(n)", "enumerate", "n", "j==\"F\"", "j", "\"F\"", "if j==\"F\"", "i", "findex=[i for i,j in enumerate(n) if j==\"F\"]", "findex", "[i for i,j in enumerate(n) if j==\"F\"]", "if (\"C\" in n and \"F\" in n) and (min(cindex)<max(findex)):\n print(\"Yes\")\nelse:\n print(\"No\")", "(\"C\" in n and \"F\" in n) and (min(cindex)<max(findex))", "\"C\" in n and \"F\" in n", "\"C\" in n", "\"C\"", "n", "\"F\" in n", "\"F\"", "n", "min(cindex)<max(findex)", "min(cindex)", "min", "cindex", "max(findex)", "max", "findex", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "n=list(input())", "list(input())", "n", "findex=[i for i,j in enumerate(n) if j==\"F\"]", "[i for i,j in enumerate(n) if j==\"F\"]", "findex", "cindex=[i for i,j in enumerate(n) if j==\"C\"]", "[i for i,j in enumerate(n) if j==\"C\"]", "cindex" ]
n=list(input()) cindex=[i for i,j in enumerate(n) if j=="C"] findex=[i for i,j in enumerate(n) if j=="F"] if ("C" in n and "F" in n) and (min(cindex)<max(findex)): print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 28, 13, 4, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 2, 2, 13, 13, 17, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 55, 2 ], [ 58, 8 ], [ 56, 11 ], [ 61, 13 ], [ 17, 16 ], [ 59, 19 ], [ 56, 23 ], [ 16, 24 ], [ 28, 27 ], [ 59, 32 ], [ 16, 33 ], [ 56, 38 ], [ 16, 41 ], [ 27, 42 ], [ 52, 46 ], [ 53, 50 ], [ 62, 50 ], [ 52, 53 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "s=list(input())\nn=len(s)\nans=\"No\"\nfor i in range(n):\n if(s[i]==\"C\"):\n for j in range(n-i-1):\n if(s[i+j+1]==\"F\"):\n ans=\"Yes\"\nprint(ans)", "s=list(input())", "s", "list(input())", "list", "input()", "input", "n=len(s)", "n", "len(s)", "len", "s", "ans=\"No\"", "ans", "\"No\"", "for i in range(n):\n if(s[i]==\"C\"):\n for j in range(n-i-1):\n if(s[i+j+1]==\"F\"):\n ans=\"Yes\"", "i", "range(n)", "range", "n", "if(s[i]==\"C\"):\n for j in range(n-i-1):\n if(s[i+j+1]==\"F\"):\n ans=\"Yes\"", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "for j in range(n-i-1):\n if(s[i+j+1]==\"F\"):\n ans=\"Yes\"", "j", "range(n-i-1)", "range", "n-i-1", "n-i", "n", "i", "1", "if(s[i+j+1]==\"F\"):\n ans=\"Yes\"", "s[i+j+1]==\"F\"", "s[i+j+1]", "s", "i+j+1", "i+j", "i", "j", "1", "\"F\"", "ans=\"Yes\"", "ans", "\"Yes\"", "print(ans)", "print", "ans", "ans=\"Yes\"", "\"Yes\"", "ans", "s=list(input())", "list(input())", "s", "n=len(s)", "len(s)", "n", "ans=\"No\"", "\"No\"", "ans" ]
s=list(input()) n=len(s) ans="No" for i in range(n): if(s[i]=="C"): for j in range(n-i-1): if(s[i+j+1]=="F"): ans="Yes" print(ans)
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 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, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 64, 2 ], [ 55, 8 ], [ 65, 11 ], [ 67, 13 ], [ 17, 16 ], [ 56, 21 ], [ 65, 21 ], [ 56, 25 ], [ 65, 25 ], [ 16, 26 ], [ 58, 29 ], [ 59, 34 ], [ 68, 34 ], [ 62, 34 ], [ 56, 38 ], [ 65, 38 ], [ 16, 39 ], [ 61, 42 ], [ 62, 46 ], [ 59, 46 ], [ 68, 46 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ], [ 64, 65 ], [ 67, 68 ] ]
[ "s=str(input())\ns=list(s)\ntemp=0\nfor i in range(len(s)):\n if s[i]==\"C\":\n temp=1\n if temp==1 and s[i]==\"F\":\n temp=2\nif temp==2:\n print(\"Yes\")\nelse:\n print(\"No\")", "s=str(input())", "s", "str(input())", "str", "input()", "input", "s=list(s)", "s", "list(s)", "list", "s", "temp=0", "temp", "0", "for i in range(len(s)):\n if s[i]==\"C\":\n temp=1\n if temp==1 and s[i]==\"F\":\n temp=2", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i]==\"C\":\n temp=1\n ", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "temp=1", "temp", "1", "if temp==1 and s[i]==\"F\":\n temp=2", "temp==1 and s[i]==\"F\"", "temp==1", "temp", "1", "s[i]==\"F\"", "s[i]", "s", "i", "\"F\"", "temp=2", "temp", "2", "if temp==2:\n print(\"Yes\")\nelse:\n print(\"No\")", "temp==2", "temp", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s=list(s)", "list(s)", "s", "temp=1", "1", "temp", "temp=2", "2", "temp", "s=str(input())", "str(input())", "s", "temp=0", "0", "temp" ]
s=str(input()) s=list(s) temp=0 for i in range(len(s)): if s[i]=="C": temp=1 if temp==1 and s[i]=="F": temp=2 if temp==2: print("Yes") else: 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, 2, 13, 17, 13, 0, 13, 17, 4, 13, 8, 2, 13, 13, 17, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 45, 2 ], [ 39, 6 ], [ 51, 9 ], [ 13, 12 ], [ 46, 12 ], [ 12, 16 ], [ 42, 19 ], [ 12, 24 ], [ 40, 26 ], [ 43, 26 ], [ 48, 28 ], [ 43, 34 ], [ 40, 34 ], [ 49, 35 ], [ 52, 35 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "s =input()\nc = False\nf = False\nfor i in s:\n\tif i == \"C\":\n\t\tc = True\n\telif i == \"F\" and c:\n\t\tf = True\nprint(\"Yes\" if c and f else \"No\")", "s =input()", "s", "input()", "input", "c = False", "c", "False", "f = False", "f", "False", "for i in s:\n\tif i == \"C\":\n\t\tc = True\n\telif i == \"F\" and c:\n\t\tf = True", "i", "s", "if i == \"C\":\n\t\tc = True\n\telif i == \"F\" and c:\n\t\tf = True", "i == \"C\"", "i", "\"C\"", "c = True", "c", "True", "elif i == \"F\" and c:\n\t\tf = True", "i == \"F\" and c", "i == \"F\"", "i", "\"F\"", "c", "f = True", "f", "True", "print(\"Yes\" if c and f else \"No\")", "print", "\"Yes\" if c and f else \"No\"", "c and f", "c", "f", "\"Yes\"", "\"No\"", "c = False", "False", "c", "c = True", "True", "c", "s =input()", "input()", "s", "f = True", "True", "f", "f = False", "False", "f" ]
s =input() c = False f = False for i in s: if i == "C": c = True elif i == "F" and c: f = True print("Yes" if c and f else "No")
[ 7, 0, 13, 4, 13, 14, 2, 2, 40, 4, 18, 13, 13, 17, 17, 40, 4, 18, 13, 13, 17, 17, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 40, 2 ], [ 41, 11 ], [ 41, 18 ], [ 41, 25 ], [ 41, 30 ], [ 40, 41 ] ]
[ "s = input()\n\nif (s.find(\"C\") != -1 ) and (s.rfind(\"F\") !=-1) and(s.find(\"C\") < s.rfind(\"F\")):\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "if (s.find(\"C\") != -1 ) and (s.rfind(\"F\") !=-1) and(s.find(\"C\") < s.rfind(\"F\")):\n print(\"Yes\")\nelse:\n print(\"No\")", "(s.find(\"C\") != -1 ) and (s.rfind(\"F\") !=-1) and(s.find(\"C\") < s.rfind(\"F\"))", "(s.find(\"C\") != -1 ) and (s.rfind(\"F\") !=-1)", "s.find(\"C\") != -1", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "-1", "s.rfind(\"F\") !=-1", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "-1", "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 (s.find("C") != -1 ) and (s.rfind("F") !=-1) and(s.find("C") < s.rfind("F")): 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, 13, 13, 17, 2, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 47, 2 ], [ 50, 6 ], [ 48, 9 ], [ 51, 14 ], [ 44, 22 ], [ 48, 25 ], [ 51, 29 ], [ 45, 33 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "s = input()\nc = s.find(\"C\")\nif c == -1:\n print(\"No\")\n exit()\nf = s.find(\"F\", c+1)\nif f == -1:\n print(\"No\")\n exit()\nprint(\"Yes\")", "s = input()", "s", "input()", "input", "c = s.find(\"C\")", "c", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "if c == -1:\n print(\"No\")\n exit()", "c == -1", "c", "-1", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "f = s.find(\"F\", c+1)", "f", "s.find(\"F\", c+1)", "s.find", "s", "find", "\"F\"", "c+1", "c", "1", "if f == -1:\n print(\"No\")\n exit()", "f == -1", "f", "-1", "print(\"No\")", "print", "\"No\"", "exit()", "exit", "print(\"Yes\")", "print", "\"Yes\"", "f = s.find(\"F\", c+1)", "s.find(\"F\", c+1)", "f", "s = input()", "input()", "s", "c = s.find(\"C\")", "s.find(\"C\")", "c" ]
s = input() c = s.find("C") if c == -1: print("No") exit() f = s.find("F", c+1) if f == -1: print("No") exit() print("Yes")
[ 7, 0, 13, 4, 13, 14, 2, 40, 4, 18, 13, 13, 17, 17, 40, 4, 18, 13, 13, 17, 17, 14, 2, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 2, 4, 18, 13, 13, 17, 2, 4, 13, 13, 2, 17, 4, 18, 18, 13, 39, 17, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 64, 2 ], [ 65, 10 ], [ 65, 17 ], [ 65, 26 ], [ 65, 31 ], [ 65, 37 ], [ 65, 43 ], [ 65, 49 ], [ 64, 65 ] ]
[ "s = input()\nif s.count(\"C\")>=1 and s.count(\"F\")>=1:\n if s.index(\"C\")<s.index(\"F\") or s.index(\"C\")<len(s)-(1+s[::-1].index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "if s.count(\"C\")>=1 and s.count(\"F\")>=1:\n if s.index(\"C\")<s.index(\"F\") or s.index(\"C\")<len(s)-(1+s[::-1].index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "s.count(\"C\")>=1 and s.count(\"F\")>=1", "s.count(\"C\")>=1", "s.count(\"C\")", "s.count", "s", "count", "\"C\"", "1", "s.count(\"F\")>=1", "s.count(\"F\")", "s.count", "s", "count", "\"F\"", "1", "if s.index(\"C\")<s.index(\"F\") or s.index(\"C\")<len(s)-(1+s[::-1].index(\"F\")):\n print(\"Yes\")\n else:\n print(\"No\")", "s.index(\"C\")<s.index(\"F\") or s.index(\"C\")<len(s)-(1+s[::-1].index(\"F\"))", "s.index(\"C\")<s.index(\"F\")", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "s.index(\"F\")", "s.index", "s", "index", "\"F\"", "s.index(\"C\")<len(s)-(1+s[::-1].index(\"F\"))", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "len(s)-(1+s[::-1].index(\"F\"))", "len(s)", "len", "s", "1+s[::-1].index(\"F\")", "1", "s[::-1].index(\"F\")", "[::-1].index", "[::-1]", "s", "::-1", "-1", "index", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
s = input() if s.count("C")>=1 and s.count("F")>=1: if s.index("C")<s.index("F") or s.index("C")<len(s)-(1+s[::-1].index("F")): print("Yes") else: print("No") else: print("No")
[ 7, 0, 13, 4, 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, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 55, 2 ], [ 58, 8 ], [ 12, 11 ], [ 56, 16 ], [ 59, 20 ], [ 62, 20 ], [ 53, 20 ], [ 56, 24 ], [ 11, 25 ], [ 52, 28 ], [ 59, 33 ], [ 62, 33 ], [ 53, 33 ], [ 56, 37 ], [ 11, 38 ], [ 61, 41 ], [ 52, 53 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "s=str(input())\ncount=0\nfor i in range(len(s)):\n if count==0 and s[i]=='C':\n count+=1\n elif count==1 and s[i]=='F':\n count+=1\n print('Yes');exit()\n \nprint('No')", "s=str(input())", "s", "str(input())", "str", "input()", "input", "count=0", "count", "0", "for i in range(len(s)):\n if count==0 and s[i]=='C':\n count+=1\n elif count==1 and s[i]=='F':\n count+=1\n print('Yes');exit()\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if count==0 and s[i]=='C':\n count+=1\n elif count==1 and s[i]=='F':\n count+=1\n print('Yes');exit()\n ", "count==0 and s[i]=='C'", "count==0", "count", "0", "s[i]=='C'", "s[i]", "s", "i", "'C'", "count+=1", "count", "1", "elif count==1 and s[i]=='F':\n count+=1\n print('Yes');exit()\n ", "count==1 and s[i]=='F'", "count==1", "count", "1", "s[i]=='F'", "s[i]", "s", "i", "'F'", "count+=1", "count", "1", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "count+=1", "1", "count", "s=str(input())", "str(input())", "s", "count=0", "0", "count", "count+=1", "1", "count" ]
s=str(input()) count=0 for i in range(len(s)): if count==0 and s[i]=='C': count+=1 elif count==1 and s[i]=='F': count+=1 print('Yes');exit() print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 13, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 41, 2 ], [ 44, 6 ], [ 10, 9 ], [ 42, 14 ], [ 45, 17 ], [ 48, 17 ], [ 42, 20 ], [ 9, 21 ], [ 42, 31 ], [ 9, 32 ], [ 47, 35 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "#!/usr/bin/env python3\ns = input()\nc_bit = 0\nfor i in range(len(s)):\n if c_bit and s[i] == \"F\":\n print(\"Yes\")\n exit()\n if s[i] == \"C\":\n c_bit = 1\nprint(\"No\")", "s = input()", "s", "input()", "input", "c_bit = 0", "c_bit", "0", "for i in range(len(s)):\n if c_bit and s[i] == \"F\":\n print(\"Yes\")\n exit()\n if s[i] == \"C\":\n c_bit = 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if c_bit and s[i] == \"F\":\n print(\"Yes\")\n exit()\n ", "c_bit and s[i] == \"F\"", "c_bit", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "if s[i] == \"C\":\n c_bit = 1", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "c_bit = 1", "c_bit", "1", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "c_bit = 0", "0", "c_bit", "c_bit = 1", "1", "c_bit" ]
#!/usr/bin/env python3 s = input() c_bit = 0 for i in range(len(s)): if c_bit and s[i] == "F": print("Yes") exit() if s[i] == "C": c_bit = 1 print("No")
[ 7, 0, 13, 17, 0, 13, 4, 13, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 13, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 36, 5 ], [ 37, 13 ], [ 42, 19 ], [ 40, 26 ], [ 43, 26 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "c = 0\ns = input()\nfor i,si in enumerate(s):\n if si == \"C\":\n c = 1\n elif si == \"F\" and c:\n print(\"Yes\")\n exit()\nprint(\"No\")", "c = 0", "c", "0", "s = input()", "s", "input()", "input", "for i,si in enumerate(s):\n if si == \"C\":\n c = 1\n elif si == \"F\" and c:\n print(\"Yes\")\n exit()", "i", "si", "enumerate(s)", "enumerate", "s", "if si == \"C\":\n c = 1\n elif si == \"F\" and c:\n print(\"Yes\")\n exit()", "si == \"C\"", "si", "\"C\"", "c = 1", "c", "1", "elif si == \"F\" and c:\n print(\"Yes\")\n exit()", "si == \"F\" and c", "si == \"F\"", "si", "\"F\"", "c", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "c = 0", "0", "c", "c = 1", "1", "c" ]
c = 0 s = input() for i,si in enumerate(s): if si == "C": c = 1 elif si == "F" and c: print("Yes") exit() 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, 4, 13, 17, 4, 13, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 53, 2 ], [ 47, 6 ], [ 10, 9 ], [ 54, 14 ], [ 48, 18 ], [ 51, 18 ], [ 54, 22 ], [ 9, 23 ], [ 50, 26 ], [ 48, 31 ], [ 51, 31 ], [ 54, 35 ], [ 9, 36 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "s=input()\n\nc=False\n\nfor i in range(len(s)):\n if c==False and s[i]==\"C\":\n c=True\n elif c==True and s[i]==\"F\":\n print(\"Yes\")\n exit()\nprint(\"No\")", "s=input()", "s", "input()", "input", "c=False", "c", "False", "for i in range(len(s)):\n if c==False and s[i]==\"C\":\n c=True\n elif c==True and s[i]==\"F\":\n print(\"Yes\")\n exit()", "i", "range(len(s))", "range", "len(s)", "len", "s", "if c==False and s[i]==\"C\":\n c=True\n elif c==True and s[i]==\"F\":\n print(\"Yes\")\n exit()", "c==False and s[i]==\"C\"", "c==False", "c", "False", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "c=True", "c", "True", "elif c==True and s[i]==\"F\":\n print(\"Yes\")\n exit()", "c==True and s[i]==\"F\"", "c==True", "c", "True", "s[i]==\"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "c=False", "False", "c", "c=True", "True", "c", "s=input()", "input()", "s" ]
s=input() c=False for i in range(len(s)): if c==False and s[i]=="C": c=True elif c==True and s[i]=="F": print("Yes") exit() print("No")
[ 7, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 13, 15, 15, 15, 12, 13, 29, 2, 2, 13, 13, 4, 18, 13, 13, 13, 13, 23, 13, 23, 13, 14, 2, 13, 17, 0, 13, 4, 13, 14, 2, 2, 2, 17, 13, 2, 17, 13, 2, 17, 18, 13, 39, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 12, 13 ]
[ [ 30, 21 ], [ 32, 22 ], [ 30, 27 ], [ 32, 28 ], [ 30, 30 ], [ 32, 32 ], [ 67, 38 ], [ 68, 46 ], [ 68, 49 ], [ 68, 53 ], [ 68, 57 ], [ 67, 68 ] ]
[ "import sys\nimport copy\nimport math\nimport bisect\nimport pprint\nimport bisect\nfrom functools import reduce\nfrom copy import deepcopy\nfrom collections import deque\n\ndef lcm(x, y):\n return (x * y) // math.gcd(x, y)\n\nif __name__ == '__main__':\n s =input()\n\n\n if \"C\" in s and \"F\" in s and \"F\" in s[s.index(\"C\"):] :\n print(\"Yes\")\n else:\n print(\"No\")\n", "import sys", "sys", "import copy", "copy", "import math", "math", "import bisect", "bisect", "import pprint", "pprint", "import bisect", "bisect", "from functools import reduce", "from copy import deepcopy", "from collections import deque", "def lcm(x, y):\n return (x * y) // math.gcd(x, y)", "lcm", "return (x * y) // math.gcd(x, y)", "(x * y) // math.gcd(x, y)", "x * y", "x", "y", "math.gcd(x, y)", "math.gcd", "math", "gcd", "x", "y", "x", "x", "y", "y", "if __name__ == '__main__':\n s =input()\n\n\n if \"C\" in s and \"F\" in s and \"F\" in s[s.index(\"C\"):] :\n print(\"Yes\")\n else:\n print(\"No\")", "__name__ == '__main__'", "__name__", "'__main__'", "s =input()", "s", "input()", "input", "if \"C\" in s and \"F\" in s and \"F\" in s[s.index(\"C\"):] :\n print(\"Yes\")\n else:\n print(\"No\")", "\"C\" in s and \"F\" in s and \"F\" in s[s.index(\"C\"):]", "\"C\" in s and \"F\" in s", "\"C\" in s", "\"C\"", "s", "\"F\" in s", "\"F\"", "s", "\"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", "def lcm(x, y):\n return (x * y) // math.gcd(x, y)", "def lcm(x, y):\n return (x * y) // math.gcd(x, y)", "lcm" ]
import sys import copy import math import bisect import pprint import bisect from functools import reduce from copy import deepcopy from collections import deque def lcm(x, y): return (x * y) // math.gcd(x, y) if __name__ == '__main__': s =input() if "C" in s and "F" in s and "F" in s[s.index("C"):] : print("Yes") else: print("No")
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 2, 40, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 8, 13, 17, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 4, 14 ], [ 4, 19 ], [ 8, 25 ], [ 36, 33 ] ]
[ "# code-festival-2016-qualc\ndef main():\n S = input()\n flg = 0 <= S.find(\"C\") < S.rfind(\"F\")\n print(\"Yes\" if flg else \"No\")\n\n\nif __name__ == \"__main__\":\n main()", "def main():\n S = input()\n flg = 0 <= S.find(\"C\") < S.rfind(\"F\")\n print(\"Yes\" if flg else \"No\")", "main", "S = input()", "S", "input()", "input", "flg = 0 <= S.find(\"C\") < S.rfind(\"F\")", "flg", "0 <= S.find(\"C\") < S.rfind(\"F\")", "0 <= S.find(\"C\")", "0", "S.find(\"C\")", "S.find", "S", "find", "\"C\"", "S.rfind(\"F\")", "S.rfind", "S", "rfind", "\"F\"", "print(\"Yes\" if flg else \"No\")", "print", "\"Yes\" if flg else \"No\"", "flg", "\"Yes\"", "\"No\"", "if __name__ == \"__main__\":\n main()", "__name__ == \"__main__\"", "__name__", "\"__main__\"", "main()", "main", "def main():\n S = input()\n flg = 0 <= S.find(\"C\") < S.rfind(\"F\")\n print(\"Yes\" if flg else \"No\")", "def main():\n S = input()\n flg = 0 <= S.find(\"C\") < S.rfind(\"F\")\n print(\"Yes\" if flg else \"No\")", "main" ]
# code-festival-2016-qualc def main(): S = input() flg = 0 <= S.find("C") < S.rfind("F") print("Yes" if flg else "No") if __name__ == "__main__": main()
[ 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, 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 ]
[ [ 60, 2 ], [ 57, 6 ], [ 63, 9 ], [ 13, 12 ], [ 61, 17 ], [ 61, 21 ], [ 12, 22 ], [ 51, 25 ], [ 52, 30 ], [ 58, 30 ], [ 61, 34 ], [ 12, 35 ], [ 54, 38 ], [ 52, 42 ], [ 58, 42 ], [ 55, 43 ], [ 64, 43 ], [ 51, 52 ], [ 54, 55 ], [ 57, 58 ], [ 60, 61 ], [ 63, 64 ] ]
[ "s = input()\nc = False\nf = False\nfor i in range(len(s)):\n if s[i] == 'C':\n c = True\n if c == True and s[i] == 'F':\n f = True\n\nif c and f:\n print(\"Yes\")\nelse :\n print(\"No\")", "s = input()", "s", "input()", "input", "c = False", "c", "False", "f = False", "f", "False", "for i in range(len(s)):\n if s[i] == 'C':\n c = True\n if c == True and s[i] == 'F':\n f = True", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == 'C':\n c = True\n ", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "c = True", "c", "True", "if c == True and s[i] == 'F':\n f = True", "c == True and s[i] == 'F'", "c == True", "c", "True", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "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 = True", "True", "c", "f = True", "True", "f", "c = False", "False", "c", "s = input()", "input()", "s", "f = False", "False", "f" ]
s = input() c = False f = False for i in range(len(s)): if s[i] == 'C': c = True if c == True and s[i] == 'F': f = True if c and f: print("Yes") else : print("No")
[ 7, 12, 13, 15, 13, 0, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 2, 17, 17, 15, 15, 15, 15, 15, 0, 13, 4, 18, 4, 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, 0, 13, 17, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 26, 25 ], [ 6, 29 ], [ 33, 32 ], [ 36, 35 ], [ 25, 35 ], [ 35, 40 ], [ 32, 43 ], [ 57, 43 ], [ 46, 43 ], [ 47, 46 ], [ 35, 51 ], [ 46, 54 ], [ 32, 54 ], [ 57, 54 ], [ 58, 57 ], [ 57, 61 ], [ 46, 61 ], [ 32, 61 ], [ 77, 74 ] ]
[ "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n s = input().rstrip()\n res = 0\n for i in s:\n if i=='C' and res==0:\n res += 1\n if i=='F' and res==1:\n res += 1\n if res==2:\n print('Yes')\n else:\n print('No')\n\nif __name__ == '__main__':\n main()", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n s = input().rstrip()\n res = 0\n for i in s:\n if i=='C' and res==0:\n res += 1\n if i=='F' and res==1:\n res += 1\n if res==2:\n print('Yes')\n else:\n print('No')", "main", "import sys", "sys", "input = sys.stdin.readline", "input", "sys.stdin.readline", "sys.stdin", "sys", "stdin", "readline", "sys.setrecursionlimit(10**7)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10**7", "10", "7", "from collections import Counter, deque", "from itertools import combinations, permutations, accumulate, groupby, product", "from bisect import bisect_left,bisect_right", "from heapq import heapify, heappop, heappush", "from math import floor, ceil", "s = input().rstrip()", "s", "input().rstrip()", "().rstrip", "()", "input", "rstrip", "res = 0", "res", "0", "for i in s:\n if i=='C' and res==0:\n res += 1\n if i=='F' and res==1:\n res += 1\n ", "i", "s", "if i=='C' and res==0:\n res += 1\n ", "i=='C' and res==0", "i=='C'", "i", "'C'", "res==0", "res", "0", "res += 1", "res", "1", "if i=='F' and res==1:\n res += 1\n ", "i=='F' and res==1", "i=='F'", "i", "'F'", "res==1", "res", "1", "res += 1", "res", "1", "if res==2:\n print('Yes')\n else:\n print('No')", "res==2", "res", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n s = input().rstrip()\n res = 0\n for i in s:\n if i=='C' and res==0:\n res += 1\n if i=='F' and res==1:\n res += 1\n if res==2:\n print('Yes')\n else:\n print('No')", "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n s = input().rstrip()\n res = 0\n for i in s:\n if i=='C' and res==0:\n res += 1\n if i=='F' and res==1:\n res += 1\n if res==2:\n print('Yes')\n else:\n print('No')", "main" ]
def main(): import sys input = sys.stdin.readline sys.setrecursionlimit(10**7) from collections import Counter, deque #from collections import defaultdict from itertools import combinations, permutations, accumulate, groupby, product from bisect import bisect_left,bisect_right from heapq import heapify, heappop, heappush from math import floor, ceil #from operator import itemgetter #inf = 10**17 #mod = 10**9 + 7 s = input().rstrip() res = 0 for i in s: if i=='C' and res==0: res += 1 if i=='F' and res==1: res += 1 if res==2: print('Yes') else: print('No') if __name__ == '__main__': main()
[ 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, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 55, 2 ], [ 49, 6 ], [ 10, 9 ], [ 56, 14 ], [ 56, 18 ], [ 9, 19 ], [ 23, 22 ], [ 9, 25 ], [ 56, 28 ], [ 56, 32 ], [ 22, 33 ], [ 52, 36 ], [ 53, 40 ], [ 50, 40 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ] ]
[ "s = input()\nflg = 0\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 flg = 1\nif flg == 1:\n print(\"Yes\")\nelse:\n print(\"No\") ", "s = input()", "s", "input()", "input", "flg = 0", "flg", "0", "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 flg = 1", "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 flg = 1", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "for j in range(i,len(s)):\n if s[j] == \"F\":\n flg = 1", "j", "range(i,len(s))", "range", "i", "len(s)", "len", "s", "if s[j] == \"F\":\n flg = 1", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "flg = 1", "flg", "1", "if flg == 1:\n print(\"Yes\")\nelse:\n print(\"No\") ", "flg == 1", "flg", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "flg = 0", "0", "flg", "flg = 1", "1", "flg", "s = input()", "input()", "s" ]
s = input() flg = 0 for i in range(len(s)): if s[i] == "C": for j in range(i,len(s)): if s[j] == "F": flg = 1 if flg == 1: 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, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 49, 2 ], [ 46, 6 ], [ 10, 9 ], [ 50, 14 ], [ 50, 18 ], [ 9, 19 ], [ 23, 22 ], [ 9, 26 ], [ 50, 30 ], [ 50, 34 ], [ 22, 35 ], [ 47, 44 ], [ 46, 47 ], [ 49, 50 ] ]
[ "s=input()\n\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 print(\"Yes\")\n exit()\nelse:\n print(ans)", "s=input()", "s", "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 print(\"Yes\")\n exit()\nelse:\n print(ans)", "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 print(\"Yes\")\n exit()", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "for j in range(i+1,len(s)):\n if s[j]==\"F\":\n print(\"Yes\")\n exit()", "j", "range(i+1,len(s))", "range", "i+1", "i", "1", "len(s)", "len", "s", "if s[j]==\"F\":\n print(\"Yes\")\n exit()", "s[j]==\"F\"", "s[j]", "s", "j", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(ans)", "print", "ans", "ans=\"No\"", "\"No\"", "ans", "s=input()", "input()", "s" ]
s=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": print("Yes") exit() else: print(ans)
[ 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, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 49, 2 ], [ 46, 6 ], [ 52, 9 ], [ 13, 12 ], [ 50, 12 ], [ 12, 16 ], [ 40, 19 ], [ 41, 23 ], [ 47, 23 ], [ 12, 25 ], [ 43, 28 ], [ 40, 41 ], [ 43, 44 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ] ]
[ "S = input()\nCFlag = False\nFFlag = False\nfor T in S:\n if T=='C':\n CFlag = True\n if CFlag and T=='F':\n FFlag = True\n break\nif FFlag:\n print('Yes')\nelse:\n print('No')", "S = input()", "S", "input()", "input", "CFlag = False", "CFlag", "False", "FFlag = False", "FFlag", "False", "for T in S:\n if T=='C':\n CFlag = True\n if CFlag and T=='F':\n FFlag = True\n break", "T", "S", "if T=='C':\n CFlag = True\n ", "T=='C'", "T", "'C'", "CFlag = True", "CFlag", "True", "if CFlag and T=='F':\n FFlag = True\n break", "CFlag and T=='F'", "CFlag", "T=='F'", "T", "'F'", "FFlag = True", "FFlag", "True", "break", "if FFlag:\n print('Yes')\nelse:\n print('No')", "FFlag", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "CFlag = True", "True", "CFlag", "FFlag = True", "True", "FFlag", "CFlag = False", "False", "CFlag", "S = input()", "input()", "S", "FFlag = False", "False", "FFlag" ]
S = input() CFlag = False FFlag = False for T in S: if T=='C': CFlag = True if CFlag and T=='F': FFlag = True break if FFlag: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 14, 2, 2, 17, 13, 2, 17, 18, 13, 39, 2, 4, 18, 13, 13, 17, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 31, 2 ], [ 32, 9 ], [ 32, 13 ], [ 32, 18 ], [ 31, 32 ] ]
[ "s = input()\nif 'C' in s and 'F' in s[s.index('C')+1:]:\n print('Yes')\n exit()\nelse:\n print('No')", "s = input()", "s", "input()", "input", "if 'C' in s and 'F' in s[s.index('C')+1:]:\n print('Yes')\n exit()\nelse:\n print('No')", "'C' in s and 'F' in s[s.index('C')+1:]", "'C' in s", "'C'", "s", "'F' in s[s.index('C')+1:]", "'F'", "s[s.index('C')+1:]", "s", "s.index('C')+1:", "s.index('C')+1", "s.index('C')", "s.index", "s", "index", "'C'", "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[s.index('C')+1:]: print('Yes') exit() else: print('No')
[ 7, 15, 13, 13, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 12, 13, 12, 13, 12, 13, 12, 13, 41, 28, 13, 4, 13, 13, 4, 4, 13, 12, 13, 23, 13, 4, 18, 13, 13, 2, 17, 17, 0, 13, 4, 13, 17, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 4, 13, 8, 4, 18, 13, 13, 17, 13, 17, 17, 10, 12, 13, 10, 4, 13, 10, 12, 13, 10, 12, 13, 10, 2, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13 ]
[ [ 25, 24 ], [ 80, 30 ], [ 34, 34 ], [ 88, 43 ], [ 82, 48 ], [ 73, 55 ], [ 86, 57 ], [ 74, 66 ], [ 73, 74 ], [ 82, 83 ], [ 88, 89 ] ]
[ "import sys, re\nfrom collections import deque, defaultdict, Counter\nfrom math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians\nfrom itertools import accumulate, permutations, combinations, product, groupby\nfrom operator import itemgetter, mul\nfrom copy import deepcopy\nfrom string import ascii_lowercase, ascii_uppercase, digits\nfrom bisect import bisect, bisect_left\nfrom fractions import gcd\nfrom heapq import heappush, heappop\nfrom functools import reduce\ndef input(): return sys.stdin.readline().strip()\ndef INT(): return int(input())\ndef MAP(): return map(int, input().split())\ndef LIST(): return list(map(int, input().split()))\ndef ZIP(n): return zip(*(MAP() for _ in range(n)))\nsys.setrecursionlimit(10 ** 9)\nINF = float('inf')\nmod = 10 ** 9 + 7\n\ns = input()\nprint(\"Yes\" if re.search('C.*F', s) else \"No\")", "import sys, re", "sys", "re", "from collections import deque, defaultdict, Counter", "from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians", "from itertools import accumulate, permutations, combinations, product, groupby", "from operator import itemgetter, mul", "from copy import deepcopy", "from string import ascii_lowercase, ascii_uppercase, digits", "from bisect import bisect, bisect_left", "from fractions import gcd", "from heapq import heappush, heappop", "from functools import reduce", "def input(): return sys.stdin.readline().strip()", "input", "def INT(): return int(input())", "INT", "def MAP(): return map(int, input().split())", "MAP", "def LIST(): return list(map(int, input().split()))", "LIST", "MAP() for _ in range(n)", "for _ in range(n)", "_", "range(n)", "range", "n", "for _ in range(n)", "MAP()", "MAP", "def ZIP(n): return zip(*(MAP() for _ in range(n)))", "ZIP", "n", "n", "sys.setrecursionlimit(10 ** 9)", "sys.setrecursionlimit", "sys", "setrecursionlimit", "10 ** 9", "10", "9", "INF = float('inf')", "INF", "float('inf')", "float", "'inf'", "mod = 10 ** 9 + 7", "mod", "10 ** 9 + 7", "10 ** 9", "10", "9", "7", "s = input()", "s", "input()", "input", "print(\"Yes\" if re.search('C.*F', s) else \"No\")", "print", "\"Yes\" if re.search('C.*F', s) else \"No\"", "re.search('C.*F', s)", "re.search", "re", "search", "'C.*F'", "s", "\"Yes\"", "\"No\"", "def LIST(): return list(map(int, input().split()))", "def LIST(): return list(map(int, input().split()))", "LIST", "s = input()", "input()", "s", "def ZIP(n): return zip(*(MAP() for _ in range(n)))", "def ZIP(n): return zip(*(MAP() for _ in range(n)))", "ZIP", "def MAP(): return map(int, input().split())", "def MAP(): return map(int, input().split())", "MAP", "mod = 10 ** 9 + 7", "10 ** 9 + 7", "mod", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input", "INF = float('inf')", "float('inf')", "INF", "def INT(): return int(input())", "def INT(): return int(input())", "INT" ]
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product, groupby from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left from fractions import gcd from heapq import heappush, heappop from functools import reduce def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10 ** 9 + 7 s = input() print("Yes" if re.search('C.*F', s) else "No")
[ 7, 0, 13, 4, 13, 14, 2, 17, 13, 14, 2, 17, 18, 13, 39, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 30, 2 ], [ 31, 8 ], [ 31, 13 ], [ 31, 17 ], [ 30, 31 ] ]
[ "s=input()\nif 'C' in s:\n\tif 'F' in s[s.index('C'):]:\n\t\tprint('Yes')\n\telse:\n\t\tprint('No')\nelse:\n\tprint('No')", "s=input()", "s", "input()", "input", "if 'C' in s:\n\tif 'F' in s[s.index('C'):]:\n\t\tprint('Yes')\n\telse:\n\t\tprint('No')\nelse:\n\tprint('No')", "'C' in s", "'C'", "s", "if 'F' in s[s.index('C'):]:\n\t\tprint('Yes')\n\telse:\n\t\tprint('No')", "'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'", "print('No')", "print", "'No'", "s=input()", "input()", "s" ]
s=input() if 'C' in s: if 'F' in s[s.index('C'):]: print('Yes') else: print('No') else: print('No')
[ 7, 0, 13, 4, 13, 4, 13, 8, 2, 2, 2, 17, 13, 2, 17, 13, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 30, 2 ], [ 31, 12 ], [ 31, 15 ], [ 31, 19 ], [ 31, 24 ], [ 30, 31 ] ]
[ "s = input()\nprint(\"Yes\" if 'C' in s and 'F' in s and s.find('C') < s.rfind('F') else \"No\")", "s = input()", "s", "input()", "input", "print(\"Yes\" if 'C' in s and 'F' in s and s.find('C') < s.rfind('F') else \"No\")", "print", "\"Yes\" if 'C' in s and 'F' in s and s.find('C') < s.rfind('F') else \"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'", "\"Yes\"", "\"No\"", "s = input()", "input()", "s" ]
s = input() print("Yes" if 'C' in s and 'F' in s and s.find('C') < s.rfind('F') else "No")
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 40, 13, 14, 2, 13, 17, 14, 2, 13, 2, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13 ]
[ [ 36, 2 ], [ 39, 8 ], [ 12, 11 ], [ 37, 11 ], [ 40, 15 ], [ 11, 18 ], [ 40, 22 ], [ 11, 24 ], [ 36, 37 ], [ 39, 40 ] ]
[ "s=list(input())\nc=False\nfor x in s:\n if not c:\n if x==\"C\":c=True\n if c and x==\"F\":\n print(\"Yes\")\n exit(0)\nprint(\"No\")", "s=list(input())", "s", "list(input())", "list", "input()", "input", "c=False", "c", "False", "for x in s:\n if not c:\n if x==\"C\":c=True\n if c and x==\"F\":\n print(\"Yes\")\n exit(0)", "x", "s", "if not c:\n if x==\"C\":c=True\n ", "not c", "c", "if x==\"C\":c=True\n ", "x==\"C\"", "x", "\"C\"", "if c and x==\"F\":\n print(\"Yes\")\n exit(0)", "c and x==\"F\"", "c", "x==\"F\"", "x", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit(0)", "exit", "0", "print(\"No\")", "print", "\"No\"", "s=list(input())", "list(input())", "s", "c=False", "False", "c" ]
s=list(input()) c=False for x in s: if not c: if x=="C":c=True if c and x=="F": print("Yes") exit(0) print("No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 4, 13, 8, 2, 2, 4, 18, 13, 13, 17, 13, 40, 13, 17, 17, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 32, 2 ], [ 29, 6 ], [ 33, 9 ], [ 33, 19 ], [ 30, 22 ], [ 30, 24 ], [ 29, 30 ], [ 32, 33 ] ]
[ "s = input()\nc = s.find('C')\nprint('Yes' if s.rfind('F') > c and c != -1 else 'No')", "s = input()", "s", "input()", "input", "c = s.find('C')", "c", "s.find('C')", "s.find", "s", "find", "'C'", "print('Yes' if s.rfind('F') > c and c != -1 else 'No')", "print", "'Yes' if s.rfind('F') > c and c != -1 else 'No'", "s.rfind('F') > c and c != -1", "s.rfind('F') > c", "s.rfind('F')", "s.rfind", "s", "rfind", "'F'", "c", "c != -1", "c", "-1", "'Yes'", "'No'", "c = s.find('C')", "s.find('C')", "c", "s = input()", "input()", "s" ]
s = input() c = s.find('C') print('Yes' if s.rfind('F') > c and c != -1 else 'No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 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, 0, 13, 17, 14, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 50, 2 ], [ 59, 6 ], [ 51, 9 ], [ 53, 11 ], [ 15, 14 ], [ 60, 17 ], [ 20, 19 ], [ 14, 23 ], [ 60, 25 ], [ 51, 30 ], [ 14, 31 ], [ 51, 35 ], [ 19, 36 ], [ 56, 39 ], [ 50, 51 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ] ]
[ "s = input()\nn = len(s)\nyes = False\nfor i in range(n):\n for j in range(i + 1, n):\n if s[i] == \"C\" and s[j] == \"F\":\n yes = True\nif yes:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "yes = False", "yes", "False", "for i in range(n):\n for j in range(i + 1, n):\n if s[i] == \"C\" and s[j] == \"F\":\n yes = True", "i", "range(n)", "range", "n", "for j in range(i + 1, n):\n if s[i] == \"C\" and s[j] == \"F\":\n yes = True", "j", "range(i + 1, n)", "range", "i + 1", "i", "1", "n", "if s[i] == \"C\" and s[j] == \"F\":\n yes = True", "s[i] == \"C\" and s[j] == \"F\"", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "yes = True", "yes", "True", "if yes:\n print(\"Yes\")\nelse:\n print(\"No\")", "yes", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "yes = False", "False", "yes", "yes = True", "True", "yes", "n = len(s)", "len(s)", "n" ]
s = input() n = len(s) yes = False for i in range(n): for j in range(i + 1, n): if s[i] == "C" and s[j] == "F": yes = True if yes: print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 4, 13, 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, 4, 13, 17, 4, 18, 13, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 47, 4 ], [ 9, 8 ], [ 48, 13 ], [ 48, 17 ], [ 8, 18 ], [ 22, 21 ], [ 8, 25 ], [ 48, 29 ], [ 48, 33 ], [ 21, 34 ], [ 47, 48 ] ]
[ "import sys\ns=input()\nfor k in range(len(s)):\n if s[k]=='C':\n for l in range(k+1,len(s)):\n if s[l]=='F':\n print('Yes')\n sys.exit()\nelse:\n print('No')", "import sys", "sys", "s=input()", "s", "input()", "input", "for k in range(len(s)):\n if s[k]=='C':\n for l in range(k+1,len(s)):\n if s[l]=='F':\n print('Yes')\n sys.exit()\nelse:\n print('No')", "k", "range(len(s))", "range", "len(s)", "len", "s", "if s[k]=='C':\n for l in range(k+1,len(s)):\n if s[l]=='F':\n print('Yes')\n sys.exit()", "s[k]=='C'", "s[k]", "s", "k", "'C'", "for l in range(k+1,len(s)):\n if s[l]=='F':\n print('Yes')\n sys.exit()", "l", "range(k+1,len(s))", "range", "k+1", "k", "1", "len(s)", "len", "s", "if s[l]=='F':\n print('Yes')\n sys.exit()", "s[l]=='F'", "s[l]", "s", "l", "'F'", "print('Yes')", "print", "'Yes'", "sys.exit()", "sys.exit", "sys", "exit", "print('No')", "print", "'No'", "s=input()", "input()", "s" ]
import sys s=input() for k in range(len(s)): if s[k]=='C': for l in range(k+1,len(s)): if s[l]=='F': print('Yes') sys.exit() else: print('No')
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 13, 14, 2, 13, 17, 0, 13, 17, 3, 14, 2, 13, 17, 0, 13, 17, 4, 13, 13, 29, 15, 13, 13, 13, 13, 13, 13, 15, 15, 12, 13, 12, 13, 12, 13, 12, 13, 12, 13, 0, 13, 2, 2, 17, 17, 17, 0, 13, 4, 13, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 4, 13, 10, 12, 13, 10, 12, 13, 10, 12, 13, 10, 2, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 15, 14 ], [ 4, 14 ], [ 14, 20 ], [ 24, 23 ], [ 14, 28 ], [ 32, 31 ], [ 23, 35 ], [ 8, 35 ], [ 96, 57 ], [ 84, 64 ], [ 76, 73 ], [ 84, 85 ], [ 96, 97 ] ]
[ "def examA():\n S = SI()\n ans = \"No\"\n flag = False\n for s in S:\n if flag:\n if s==\"F\":\n ans = \"Yes\"\n break\n else:\n if s==\"C\":\n flag = True\n print(ans)\n return\n\nimport sys,copy,bisect,itertools,heapq,math\nfrom heapq import heappop,heappush,heapify\nfrom collections import Counter,defaultdict,deque\ndef I(): return int(sys.stdin.readline())\ndef LI(): return list(map(int,sys.stdin.readline().split()))\ndef LSI(): return list(map(str,sys.stdin.readline().split()))\ndef LS(): return sys.stdin.readline().split()\ndef SI(): return sys.stdin.readline().strip()\nmod = 10**9 + 7\ninf = float('inf')\n\nif __name__ == '__main__':\n examA()", "def examA():\n S = SI()\n ans = \"No\"\n flag = False\n for s in S:\n if flag:\n if s==\"F\":\n ans = \"Yes\"\n break\n else:\n if s==\"C\":\n flag = True\n print(ans)\n return", "examA", "S = SI()", "S", "SI()", "SI", "ans = \"No\"", "ans", "\"No\"", "flag = False", "flag", "False", "for s in S:\n if flag:\n if s==\"F\":\n ans = \"Yes\"\n break\n else:\n if s==\"C\":\n flag = True\n ", "s", "S", "if flag:\n if s==\"F\":\n ans = \"Yes\"\n break\n else:\n if s==\"C\":\n flag = True\n ", "flag", "if s==\"F\":\n ans = \"Yes\"\n break\n ", "s==\"F\"", "s", "\"F\"", "ans = \"Yes\"", "ans", "\"Yes\"", "break", "if s==\"C\":\n flag = True\n ", "s==\"C\"", "s", "\"C\"", "flag = True", "flag", "True", "print(ans)", "print", "ans", "return", "import sys,copy,bisect,itertools,heapq,math", "sys", "copy", "bisect", "itertools", "heapq", "math", "from heapq import heappop,heappush,heapify", "from collections import Counter,defaultdict,deque", "def I(): return int(sys.stdin.readline())", "I", "def LI(): return list(map(int,sys.stdin.readline().split()))", "LI", "def LSI(): return list(map(str,sys.stdin.readline().split()))", "LSI", "def LS(): return sys.stdin.readline().split()", "LS", "def SI(): return sys.stdin.readline().strip()", "SI", "mod = 10**9 + 7", "mod", "10**9 + 7", "10**9", "10", "9", "7", "inf = float('inf')", "inf", "float('inf')", "float", "'inf'", "if __name__ == '__main__':\n examA()", "__name__ == '__main__'", "__name__", "'__main__'", "examA()", "examA", "def examA():\n S = SI()\n ans = \"No\"\n flag = False\n for s in S:\n if flag:\n if s==\"F\":\n ans = \"Yes\"\n break\n else:\n if s==\"C\":\n flag = True\n print(ans)\n return", "def examA():\n S = SI()\n ans = \"No\"\n flag = False\n for s in S:\n if flag:\n if s==\"F\":\n ans = \"Yes\"\n break\n else:\n if s==\"C\":\n flag = True\n print(ans)\n return", "examA", "def I(): return int(sys.stdin.readline())", "def I(): return int(sys.stdin.readline())", "I", "def LI(): return list(map(int,sys.stdin.readline().split()))", "def LI(): return list(map(int,sys.stdin.readline().split()))", "LI", "inf = float('inf')", "float('inf')", "inf", "def LSI(): return list(map(str,sys.stdin.readline().split()))", "def LSI(): return list(map(str,sys.stdin.readline().split()))", "LSI", "def SI(): return sys.stdin.readline().strip()", "def SI(): return sys.stdin.readline().strip()", "SI", "def LS(): return sys.stdin.readline().split()", "def LS(): return sys.stdin.readline().split()", "LS", "mod = 10**9 + 7", "10**9 + 7", "mod" ]
def examA(): S = SI() ans = "No" flag = False for s in S: if flag: if s=="F": ans = "Yes" break else: if s=="C": flag = True print(ans) return import sys,copy,bisect,itertools,heapq,math from heapq import heappop,heappush,heapify from collections import Counter,defaultdict,deque def I(): return int(sys.stdin.readline()) def LI(): return list(map(int,sys.stdin.readline().split())) def LSI(): return list(map(str,sys.stdin.readline().split())) def LS(): return sys.stdin.readline().split() def SI(): return sys.stdin.readline().strip() mod = 10**9 + 7 inf = float('inf') if __name__ == '__main__': examA()
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 2, 4, 13, 13, 17, 28, 13, 4, 13, 2, 13, 17, 4, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 13, 3, 14, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 61, 2 ], [ 58, 6 ], [ 10, 9 ], [ 62, 15 ], [ 19, 18 ], [ 9, 22 ], [ 62, 26 ], [ 62, 31 ], [ 9, 32 ], [ 62, 36 ], [ 18, 37 ], [ 55, 40 ], [ 55, 56 ], [ 58, 59 ], [ 61, 62 ] ]
[ "s = input()\nyes = False\nfor i in range(len(s) - 1):\n for j in range(i + 1, len(s)):\n if s[i] == \"C\" and s[j] == \"F\":\n yes = True\n break\n if yes:\n break\n \nif yes:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "yes = False", "yes", "False", "for i in range(len(s) - 1):\n for j in range(i + 1, len(s)):\n if s[i] == \"C\" and s[j] == \"F\":\n yes = True\n break\n if yes:\n break\n ", "i", "range(len(s) - 1)", "range", "len(s) - 1", "len(s)", "len", "s", "1", "for j in range(i + 1, len(s)):\n if s[i] == \"C\" and s[j] == \"F\":\n yes = True\n break\n ", "j", "range(i + 1, len(s))", "range", "i + 1", "i", "1", "len(s)", "len", "s", "if s[i] == \"C\" and s[j] == \"F\":\n yes = True\n break\n ", "s[i] == \"C\" and s[j] == \"F\"", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "yes = True", "yes", "True", "break", "if yes:\n break\n ", "yes", "break", "if yes:\n print(\"Yes\")\nelse:\n print(\"No\")", "yes", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "yes = True", "True", "yes", "yes = False", "False", "yes", "s = input()", "input()", "s" ]
s = input() yes = False for i in range(len(s) - 1): for j in range(i + 1, len(s)): if s[i] == "C" and s[j] == "F": yes = True break if yes: break if yes: print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 4, 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, 18, 13, 13, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 44, 4 ], [ 41, 10 ], [ 14, 13 ], [ 45, 13 ], [ 13, 17 ], [ 47, 20 ], [ 13, 25 ], [ 48, 28 ], [ 42, 28 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "import sys\ns=str(input())\nc=0\nfor i in s:\n if i=='C':\n c=1\n if i=='F' and c==1:\n print('Yes')\n sys.exit()\n\nprint('No')", "import sys", "sys", "s=str(input())", "s", "str(input())", "str", "input()", "input", "c=0", "c", "0", "for i in s:\n if i=='C':\n c=1\n if i=='F' and c==1:\n print('Yes')\n sys.exit()", "i", "s", "if i=='C':\n c=1\n ", "i=='C'", "i", "'C'", "c=1", "c", "1", "if i=='F' and c==1:\n print('Yes')\n sys.exit()", "i=='F' and c==1", "i=='F'", "i", "'F'", "c==1", "c", "1", "print('Yes')", "print", "'Yes'", "sys.exit()", "sys.exit", "sys", "exit", "print('No')", "print", "'No'", "c=0", "0", "c", "s=str(input())", "str(input())", "s", "c=1", "1", "c" ]
import sys s=str(input()) c=0 for i in s: if i=='C': c=1 if i=='F' and c==1: print('Yes') sys.exit() print('No')
[ 7, 15, 13, 12, 13, 12, 13, 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, 4, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 9, 8 ], [ 41, 10 ], [ 8, 16 ], [ 8, 19 ], [ 8, 23 ], [ 8, 28 ], [ 44, 38 ] ]
[ "\nimport sys\ndef input(): return sys.stdin.readline().strip()\n\ndef resolve():\n s=input()\n if 'C' in s and 'F' in s and s.find('C')<s.rfind('F'):\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 if 'C' in s and 'F' in s and s.find('C')<s.rfind('F'):\n print('Yes')\n else:\n print('No')", "resolve", "s=input()", "s", "input()", "input", "if 'C' in s and 'F' in s and s.find('C')<s.rfind('F'):\n print('Yes')\n else:\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'", "resolve()", "resolve", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input", "def resolve():\n s=input()\n if 'C' in s and 'F' in s and s.find('C')<s.rfind('F'):\n print('Yes')\n else:\n print('No')", "def resolve():\n s=input()\n if 'C' in s and 'F' in s and s.find('C')<s.rfind('F'):\n print('Yes')\n else:\n print('No')", "resolve" ]
import sys def input(): return sys.stdin.readline().strip() def resolve(): s=input() if 'C' in s and 'F' in s and s.find('C')<s.rfind('F'): 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, 2, 13, 17, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 17, 3, 14, 13, 3, 14, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 59, 2 ], [ 53, 6 ], [ 10, 9 ], [ 60, 14 ], [ 60, 18 ], [ 9, 19 ], [ 23, 22 ], [ 9, 26 ], [ 60, 30 ], [ 60, 34 ], [ 22, 35 ], [ 56, 38 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ] ]
[ "s = input()\nflag = False\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 flag = True\n break\n if flag:\n break\nif flag:\n print(\"Yes\")\nelse:\n print(\"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+1,len(s)):\n if s[j] == 'F':\n flag = True\n break\n if flag:\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 flag = True\n break\n if flag:\n break", "s[i]=='C'", "s[i]", "s", "i", "'C'", "for j in range(i+1,len(s)):\n if s[j] == 'F':\n flag = True\n break\n ", "j", "range(i+1,len(s))", "range", "i+1", "i", "1", "len(s)", "len", "s", "if s[j] == 'F':\n flag = True\n break\n ", "s[j] == 'F'", "s[j]", "s", "j", "'F'", "flag = True", "flag", "True", "break", "if flag:\n break", "flag", "break", "if flag:\n print(\"Yes\")\nelse:\n print(\"No\")", "flag", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "flag = False", "False", "flag", "flag = True", "True", "flag", "s = input()", "input()", "s" ]
s = input() flag = False for i in range(len(s)): if s[i]=='C': for j in range(i+1,len(s)): if s[j] == 'F': flag = True break if flag: break if flag: print("Yes") else: print("No")
[ 7, 15, 13, 0, 13, 4, 18, 13, 13, 17, 4, 13, 4, 13, 8, 13, 17, 17, 10, 4, 13 ]
[ [ 19, 4 ], [ 20, 15 ], [ 19, 20 ] ]
[ "import re\nans = re.match('.*C.*F.*', input())\nprint(\"Yes\" if ans else \"No\")", "import re", "re", "ans = re.match('.*C.*F.*', input())", "ans", "re.match('.*C.*F.*', input())", "re.match", "re", "match", "'.*C.*F.*'", "input()", "input", "print(\"Yes\" if ans else \"No\")", "print", "\"Yes\" if ans else \"No\"", "ans", "\"Yes\"", "\"No\"", "ans = re.match('.*C.*F.*', input())", "re.match('.*C.*F.*', input())", "ans" ]
import re ans = re.match('.*C.*F.*', input()) print("Yes" if ans else "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, 14, 2, 40, 13, 17, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 45, 2 ], [ 51, 8 ], [ 12, 11 ], [ 46, 16 ], [ 46, 20 ], [ 11, 21 ], [ 48, 24 ], [ 49, 29 ], [ 52, 29 ], [ 46, 33 ], [ 11, 34 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ] ]
[ "s = str(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 = str(input())", "s", "str(input())", "str", "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\"", "s = str(input())", "str(input())", "s", "cnt += 1", "1", "cnt", "cnt = 0", "0", "cnt" ]
s = str(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, 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, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 32, 2 ], [ 38, 6 ], [ 10, 9 ], [ 33, 9 ], [ 9, 13 ], [ 35, 16 ], [ 9, 21 ], [ 36, 23 ], [ 39, 23 ], [ 32, 33 ], [ 35, 36 ], [ 38, 39 ] ]
[ "s = input()\nflg = False\nfor ss in s:\n if ss == \"C\":\n flg = True\n if ss == \"F\" and flg:\n print(\"Yes\")\n break\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "flg = False", "flg", "False", "for ss in s:\n if ss == \"C\":\n flg = True\n if ss == \"F\" and flg:\n print(\"Yes\")\n break\nelse:\n print(\"No\")", "ss", "s", "if ss == \"C\":\n flg = True\n ", "ss == \"C\"", "ss", "\"C\"", "flg = True", "flg", "True", "if ss == \"F\" and flg:\n print(\"Yes\")\n break", "ss == \"F\" and flg", "ss == \"F\"", "ss", "\"F\"", "flg", "print(\"Yes\")", "print", "\"Yes\"", "break", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "flg = True", "True", "flg", "flg = False", "False", "flg" ]
s = input() flg = False for ss in s: if ss == "C": flg = True if ss == "F" and flg: 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, 18, 13, 13, 17, 0, 13, 17, 14, 2, 2, 18, 13, 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, 10, 17, 13 ]
[ [ 54, 2 ], [ 63, 6 ], [ 51, 9 ], [ 13, 12 ], [ 55, 17 ], [ 55, 21 ], [ 12, 22 ], [ 60, 25 ], [ 55, 31 ], [ 12, 32 ], [ 61, 35 ], [ 64, 35 ], [ 57, 38 ], [ 58, 42 ], [ 52, 42 ], [ 51, 52 ], [ 54, 55 ], [ 57, 58 ], [ 60, 61 ], [ 63, 64 ] ]
[ "s = input()\n\na = 0\nb = 0\nfor i in range(len(s)):\n if s[i] == \"C\":\n a = 1\n if s[i] == \"F\" and a == 1:\n b = 1\n\nif b == 1:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "a = 0", "a", "0", "b = 0", "b", "0", "for i in range(len(s)):\n if s[i] == \"C\":\n a = 1\n if s[i] == \"F\" and a == 1:\n b = 1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n a = 1\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "a = 1", "a", "1", "if s[i] == \"F\" and a == 1:\n b = 1", "s[i] == \"F\" and a == 1", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "a == 1", "a", "1", "b = 1", "b", "1", "if b == 1:\n print(\"Yes\")\nelse:\n print(\"No\")", "b == 1", "b", "1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "b = 0", "0", "b", "s = input()", "input()", "s", "b = 1", "1", "b", "a = 1", "1", "a", "a = 0", "0", "a" ]
s = input() a = 0 b = 0 for i in range(len(s)): if s[i] == "C": a = 1 if s[i] == "F" and a == 1: b = 1 if b == 1: print("Yes") else: 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, 2, 13, 17, 13, 0, 13, 17, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 41, 2 ], [ 44, 6 ], [ 50, 9 ], [ 13, 12 ], [ 42, 12 ], [ 12, 16 ], [ 53, 19 ], [ 12, 24 ], [ 45, 26 ], [ 54, 26 ], [ 47, 28 ], [ 54, 32 ], [ 45, 32 ], [ 48, 33 ], [ 51, 33 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "s = input()\nC = False\nF = False\n\nfor i in s:\n if i == 'C':\n C = True\n elif i == 'F' and C:\n F = True\n\nif C and F:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "C = False", "C", "False", "F = False", "F", "False", "for i in s:\n if i == 'C':\n C = True\n elif i == 'F' and C:\n F = True", "i", "s", "if i == 'C':\n C = True\n elif i == 'F' and C:\n F = True", "i == 'C'", "i", "'C'", "C = True", "C", "True", "elif i == 'F' and C:\n F = True", "i == 'F' and C", "i == 'F'", "i", "'F'", "C", "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'", "s = input()", "input()", "s", "C = False", "False", "C", "F = True", "True", "F", "F = False", "False", "F", "C = True", "True", "C" ]
s = input() C = False F = False for i in s: if i == 'C': C = True elif i == 'F' and C: F = True if C and F: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 0, 13, 17, 4, 13, 8, 2, 13, 13, 17, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 38, 2 ], [ 41, 6 ], [ 50, 8 ], [ 12, 11 ], [ 39, 11 ], [ 11, 15 ], [ 44, 18 ], [ 42, 22 ], [ 45, 22 ], [ 11, 24 ], [ 47, 27 ], [ 45, 33 ], [ 42, 33 ], [ 48, 34 ], [ 51, 34 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ] ]
[ "s = input()\nc, f = False, False\nfor i in s:\n if i == 'C':\n c = True\n elif c and i == 'F':\n f = True\nprint(\"Yes\" if c and f else \"No\")", "s = input()", "s", "input()", "input", "c, f = False, False", "c", "False", "f", "False", "for i in s:\n if i == 'C':\n c = True\n elif c and i == 'F':\n f = True", "i", "s", "if i == 'C':\n c = True\n elif c and i == 'F':\n f = True", "i == 'C'", "i", "'C'", "c = True", "c", "True", "elif c and i == 'F':\n f = True", "c and i == 'F'", "c", "i == 'F'", "i", "'F'", "f = True", "f", "True", "print(\"Yes\" if c and f else \"No\")", "print", "\"Yes\" if c and f else \"No\"", "c and f", "c", "f", "\"Yes\"", "\"No\"", "s = input()", "input()", "s", "c, f = False, False", "False", "c", "c = True", "True", "c", "f = True", "True", "f", "f = False, False", "False", "f" ]
s = input() c, f = False, False for i in s: if i == 'C': c = True elif c and i == 'F': f = True print("Yes" if c and f else "No")
[ 7, 0, 31, 13, 4, 13, 0, 13, 39, 28, 13, 13, 14, 2, 13, 17, 4, 18, 13, 13, 13, 14, 2, 13, 17, 4, 18, 13, 13, 13, 4, 13, 8, 2, 17, 4, 18, 17, 13, 13, 17, 17, 10, 39, 13 ]
[ [ 4, 2 ], [ 43, 7 ], [ 11, 10 ], [ 10, 14 ], [ 44, 18 ], [ 10, 20 ], [ 10, 23 ], [ 44, 27 ], [ 10, 29 ], [ 44, 39 ], [ 43, 44 ] ]
[ "*S, = input()\nans = []\n\nfor s in S:\n if s == 'C':\n ans.append(s)\n if s == 'F':\n ans.append(s)\n\nprint('Yes' if 'CF' in ''.join(ans) else 'No')", "*S, = input()", "*S", "S", "input()", "input", "ans = []", "ans", "[]", "for s in S:\n if s == 'C':\n ans.append(s)\n if s == 'F':\n ans.append(s)", "s", "S", "if s == 'C':\n ans.append(s)\n ", "s == 'C'", "s", "'C'", "ans.append(s)", "ans.append", "ans", "append", "s", "if s == 'F':\n ans.append(s)", "s == 'F'", "s", "'F'", "ans.append(s)", "ans.append", "ans", "append", "s", "print('Yes' if 'CF' in ''.join(ans) else 'No')", "print", "'Yes' if 'CF' in ''.join(ans) else 'No'", "'CF' in ''.join(ans)", "'CF'", "''.join(ans)", "''.join", "''", "join", "ans", "'Yes'", "'No'", "ans = []", "[]", "ans" ]
*S, = input() ans = [] for s in S: if s == 'C': ans.append(s) if s == 'F': ans.append(s) print('Yes' if 'CF' in ''.join(ans) else 'No')
[ 7, 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, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 4, 13 ]
[ [ 39, 2 ], [ 36, 6 ], [ 40, 11 ], [ 42, 13 ], [ 40, 16 ], [ 40, 23 ], [ 36, 37 ], [ 39, 40 ], [ 42, 43 ] ]
[ "S = input()\nid = -1\nif 'C' in S:\n id = S.index('C')\n if 'F' in S[id:]:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "S = input()", "S", "input()", "input", "id = -1", "id", "-1", "if 'C' in S:\n id = S.index('C')\n if 'F' in S[id:]:\n print(\"Yes\")\n else:\n print(\"No\")\nelse:\n print(\"No\")", "'C' in S", "'C'", "S", "id = S.index('C')", "id", "S.index('C')", "S.index", "S", "index", "'C'", "if 'F' in S[id:]:\n print(\"Yes\")\n else:\n print(\"No\")", "'F' in S[id:]", "'F'", "S[id:]", "S", "id:", "id", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "print(\"No\")", "print", "\"No\"", "id = -1", "-1", "id", "S = input()", "input()", "S", "id = S.index('C')", "S.index('C')", "id" ]
S = input() id = -1 if 'C' in S: id = S.index('C') if 'F' in S[id:]: print("Yes") else: print("No") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 8, 2, 40, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 24, 2 ], [ 25, 13 ], [ 25, 18 ], [ 24, 25 ] ]
[ "s=input()\nprint(\"Yes\" if 0<=s.find(\"C\")<s.rfind(\"F\") else \"No\")", "s=input()", "s", "input()", "input", "print(\"Yes\" if 0<=s.find(\"C\")<s.rfind(\"F\") else \"No\")", "print", "\"Yes\" if 0<=s.find(\"C\")<s.rfind(\"F\") else \"No\"", "0<=s.find(\"C\")<s.rfind(\"F\")", "0<=s.find(\"C\")", "0", "s.find(\"C\")", "s.find", "s", "find", "\"C\"", "s.rfind(\"F\")", "s.rfind", "s", "rfind", "\"F\"", "\"Yes\"", "\"No\"", "s=input()", "input()", "s" ]
s=input() print("Yes" if 0<=s.find("C")<s.rfind("F") else "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, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 39, 2 ], [ 45, 6 ], [ 10, 9 ], [ 40, 9 ], [ 46, 14 ], [ 43, 14 ], [ 9, 17 ], [ 42, 20 ], [ 43, 25 ], [ 46, 25 ], [ 9, 28 ], [ 39, 40 ], [ 42, 43 ], [ 45, 46 ] ]
[ "S = input()\na = 0\nfor s in S:\n if a == 0 and s == 'C':\n a += 1\n if a == 1 and s == 'F':\n print('Yes')\n exit()\nprint('No')", "S = input()", "S", "input()", "input", "a = 0", "a", "0", "for s in S:\n if a == 0 and s == 'C':\n a += 1\n if a == 1 and s == 'F':\n print('Yes')\n exit()", "s", "S", "if a == 0 and s == 'C':\n a += 1\n ", "a == 0 and s == 'C'", "a == 0", "a", "0", "s == 'C'", "s", "'C'", "a += 1", "a", "1", "if a == 1 and s == 'F':\n print('Yes')\n exit()", "a == 1 and s == 'F'", "a == 1", "a", "1", "s == 'F'", "s", "'F'", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "S = input()", "input()", "S", "a += 1", "1", "a", "a = 0", "0", "a" ]
S = input() a = 0 for s in S: if a == 0 and s == 'C': a += 1 if a == 1 and s == 'F': print('Yes') exit() 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, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 54, 2 ], [ 48, 6 ], [ 10, 9 ], [ 55, 9 ], [ 9, 14 ], [ 49, 17 ], [ 52, 17 ], [ 46, 17 ], [ 45, 20 ], [ 9, 25 ], [ 49, 28 ], [ 52, 28 ], [ 46, 28 ], [ 51, 31 ], [ 52, 36 ], [ 46, 36 ], [ 49, 36 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ] ]
[ "s=input()\nt=0\nfor i in s:\n if i == 'C' and t == 0:\n t = 1\n elif i == 'F' and t == 1:\n t = 2\n break\nif t == 2:\n print('Yes')\nelse:\n print('No')", "s=input()", "s", "input()", "input", "t=0", "t", "0", "for i in s:\n if i == 'C' and t == 0:\n t = 1\n elif i == 'F' and t == 1:\n t = 2\n break", "i", "s", "if i == 'C' and t == 0:\n t = 1\n elif i == 'F' and t == 1:\n t = 2\n break", "i == 'C' and t == 0", "i == 'C'", "i", "'C'", "t == 0", "t", "0", "t = 1", "t", "1", "elif i == 'F' and t == 1:\n t = 2\n break", "i == 'F' and t == 1", "i == 'F'", "i", "'F'", "t == 1", "t", "1", "t = 2", "t", "2", "break", "if t == 2:\n print('Yes')\nelse:\n print('No')", "t == 2", "t", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "t = 1", "1", "t", "t=0", "0", "t", "t = 2", "2", "t", "s=input()", "input()", "s" ]
s=input() t=0 for i in s: if i == 'C' and t == 0: t = 1 elif i == 'F' and t == 1: t = 2 break if t == 2: print('Yes') else: print('No')
[ 7, 41, 28, 13, 18, 4, 18, 4, 13, 13, 17, 39, 17, 4, 2, 17, 13, 4, 13, 18, 17, 39, 2, 17, 4, 13, 13, 17 ]
[ [ 4, 3 ], [ 3, 16 ] ]
[ "print('YNeos'[1-any(['F' in i for i in input().split('C')[1:]])::2])", "'F' in i for i in input().split('C')[1:]", "for i in input().split('C')[1:]", "i", "input().split('C')[1:]", "().split('C')", "().split", "()", "input", "split", "'C'", "1:", "1", "for i in input().split('C')[1:]", "'F' in i", "'F'", "i", "print('YNeos'[1-any(['F' in i for i in input().split('C')[1:]])::2])", "print", "'YNeos'[1-any(['F' in i for i in input().split('C')[1:]])::2]", "'YNeos'", "1-any(['F' in i for i in input().split('C')[1:]])::2", "1-any(['F' in i for i in input().split('C')[1:]])", "1", "any(['F' in i for i in input().split('C')[1:]])", "any", "['F' in i for i in input().split('C')[1:]]", "2" ]
print('YNeos'[1-any(['F' in i for i in input().split('C')[1:]])::2])
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 13, 0, 13, 17, 28, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 28, 13, 4, 13, 2, 13, 17, 17, 17, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 13, 13, 10, 13, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 73, 2 ], [ 64, 6 ], [ 74, 9 ], [ 67, 11 ], [ 65, 12 ], [ 61, 14 ], [ 18, 17 ], [ 65, 20 ], [ 74, 24 ], [ 17, 25 ], [ 76, 28 ], [ 17, 29 ], [ 33, 32 ], [ 65, 36 ], [ 74, 43 ], [ 32, 44 ], [ 70, 47 ], [ 32, 48 ], [ 71, 52 ], [ 62, 52 ], [ 77, 53 ], [ 68, 53 ], [ 61, 62 ], [ 64, 65 ], [ 65, 67 ], [ 67, 68 ], [ 32, 70 ], [ 70, 71 ], [ 73, 74 ], [ 17, 76 ], [ 76, 77 ] ]
[ "# li = list(map(int, input().split()))\ns = input()\nn = len(s)\na = n; b = -1;\nfor i in range(n):\n\tif s[i] == 'C':\n\t\ta = i\n\t\tbreak\nfor i in range(n-1, -1, -1):\n\tif s[i] == 'F':\n\t\tb = i\n\t\tbreak\nif b < a:\n\tprint('No')\nelse:\n\tprint(\"Yes\")", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "a = n", "a", "n", "b = -1", "b", "-1", "for i in range(n):\n\tif s[i] == 'C':\n\t\ta = i\n\t\tbreak", "i", "range(n)", "range", "n", "if s[i] == 'C':\n\t\ta = i\n\t\tbreak", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "a = i", "a", "i", "break", "for i in range(n-1, -1, -1):\n\tif s[i] == 'F':\n\t\tb = i\n\t\tbreak", "i", "range(n-1, -1, -1)", "range", "n-1", "n", "1", "-1", "-1", "if s[i] == 'F':\n\t\tb = i\n\t\tbreak", "s[i] == 'F'", "s[i]", "s", "i", "'F'", "b = i", "b", "i", "break", "if b < a:\n\tprint('No')\nelse:\n\tprint(\"Yes\")", "b < a", "b", "a", "print('No')", "print", "'No'", "print(\"Yes\")", "print", "\"Yes\"", "b = -1", "-1", "b", "n = len(s)", "len(s)", "n", "a = n", "n", "a", "b = i", "i", "b", "s = input()", "input()", "s", "a = i", "i", "a" ]
# li = list(map(int, input().split())) s = input() n = len(s) a = n; b = -1; for i in range(n): if s[i] == 'C': a = i break for i in range(n-1, -1, -1): if s[i] == 'F': b = i break if b < a: print('No') else: print("Yes")
[ 7, 0, 13, 4, 13, 14, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 17, 18, 13, 39, 13, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 35, 2 ], [ 36, 8 ], [ 32, 10 ], [ 36, 13 ], [ 36, 20 ], [ 32, 33 ], [ 35, 36 ] ]
[ "s = input()\nif 'C' in s:\n c = s.index(\"C\")\n if \"F\" in s[c:]:\n print('Yes')\n exit()\nprint('No')", "s = input()", "s", "input()", "input", "if 'C' in s:\n c = s.index(\"C\")\n if \"F\" in s[c:]:\n print('Yes')\n exit()", "'C' in s", "'C'", "s", "c = s.index(\"C\")", "c", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "if \"F\" in s[c:]:\n print('Yes')\n exit()", "\"F\" in s[c:]", "\"F\"", "s[c:]", "s", "c:", "c", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "c = s.index(\"C\")", "s.index(\"C\")", "c", "s = input()", "input()", "s" ]
s = input() if 'C' in s: c = s.index("C") if "F" in s[c:]: print('Yes') 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, 14, 2, 17, 18, 13, 39, 13, 0, 13, 17, 4, 13, 8, 40, 13, 17, 17, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 48, 2 ], [ 42, 8 ], [ 12, 11 ], [ 49, 16 ], [ 49, 20 ], [ 11, 21 ], [ 49, 27 ], [ 45, 31 ], [ 46, 37 ], [ 43, 37 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "s = list(input())\ncnt =0\nfor i in range(len(s)):\n if s[i] =='C':\n if 'F' in s[i:]:\n cnt +=1\nprint('Yes' if cnt >=1 else 'No')", "s = list(input())", "s", "list(input())", "list", "input()", "input", "cnt =0", "cnt", "0", "for i in range(len(s)):\n if s[i] =='C':\n if 'F' in s[i:]:\n cnt +=1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] =='C':\n if 'F' in s[i:]:\n cnt +=1", "s[i] =='C'", "s[i]", "s", "i", "'C'", "if 'F' in s[i:]:\n cnt +=1", "'F' in s[i:]", "'F'", "s[i:]", "s", "i:", "i", "cnt +=1", "cnt", "1", "print('Yes' if cnt >=1 else 'No')", "print", "'Yes' if cnt >=1 else 'No'", "cnt >=1", "cnt", "1", "'Yes'", "'No'", "cnt =0", "0", "cnt", "cnt +=1", "1", "cnt", "s = list(input())", "list(input())", "s" ]
s = list(input()) cnt =0 for i in range(len(s)): if s[i] =='C': if 'F' in s[i:]: cnt +=1 print('Yes' if cnt >=1 else 'No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 17, 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, 2, 13, 17, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 65, 2 ], [ 68, 6 ], [ 62, 9 ], [ 13, 12 ], [ 66, 18 ], [ 66, 22 ], [ 12, 23 ], [ 74, 26 ], [ 31, 30 ], [ 66, 36 ], [ 66, 40 ], [ 30, 41 ], [ 71, 44 ], [ 75, 50 ], [ 69, 50 ], [ 72, 53 ], [ 63, 53 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ], [ 74, 75 ] ]
[ "s = input()\nn = 0\nm = 0\nfor i in range(0, len(s)):\n if s[i] == 'C':\n n = 1\n break\nfor j in range (i, len(s)):\n if s[j] == 'F':\n m = 1\n break\nif n == 1 and m == 1:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "n = 0", "n", "0", "m = 0", "m", "0", "for i in range(0, len(s)):\n if s[i] == 'C':\n n = 1\n break", "i", "range(0, len(s))", "range", "0", "len(s)", "len", "s", "if s[i] == 'C':\n n = 1\n break", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "n = 1", "n", "1", "break", "for j in range (i, len(s)):\n if s[j] == 'F':\n m = 1\n break", "j", "range (i, len(s))", "range", "i", "len(s)", "len", "s", "if s[j] == 'F':\n m = 1\n break", "s[j] == 'F'", "s[j]", "s", "j", "'F'", "m = 1", "m", "1", "break", "if n == 1 and m == 1:\n print('Yes')\nelse:\n print('No')", "n == 1 and m == 1", "n == 1", "n", "1", "m == 1", "m", "1", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "m = 0", "0", "m", "s = input()", "input()", "s", "n = 0", "0", "n", "m = 1", "1", "m", "n = 1", "1", "n" ]
s = input() n = 0 m = 0 for i in range(0, len(s)): if s[i] == 'C': n = 1 break for j in range (i, len(s)): if s[j] == 'F': m = 1 break if n == 1 and m == 1: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 39, 17, 17, 28, 13, 13, 14, 2, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 17, 17, 0, 18, 13, 17, 17, 4, 13, 8, 2, 4, 13, 13, 17, 17, 17, 10, 39, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 43, 6 ], [ 12, 11 ], [ 47, 11 ], [ 11, 15 ], [ 11, 20 ], [ 44, 24 ], [ 31, 28 ], [ 44, 29 ], [ 44, 38 ], [ 43, 44 ], [ 46, 47 ] ]
[ "s = input()\nans = [0,0]\nfor v in s:\n if v == \"C\": ans[0] = 1\n elif v ==\"F\" and ans[0] == 1:\n ans[1] = 1\nprint(\"Yes\" if sum(ans)==2 else \"No\")", "s = input()", "s", "input()", "input", "ans = [0,0]", "ans", "[0,0]", "0", "0", "for v in s:\n if v == \"C\": ans[0] = 1\n elif v ==\"F\" and ans[0] == 1:\n ans[1] = 1", "v", "s", "if v == \"C\": ans[0] = 1\n elif v ==\"F\" and ans[0] == 1:\n ans[1] = 1", "v == \"C\"", "v", "\"C\"", "elif v ==\"F\" and ans[0] == 1:\n ans[1] = 1", "v ==\"F\" and ans[0] == 1", "v ==\"F\"", "v", "\"F\"", "ans[0] == 1", "ans[0]", "ans", "0", "1", "ans[1] = 1", "ans[1]", "ans", "1", "1", "print(\"Yes\" if sum(ans)==2 else \"No\")", "print", "\"Yes\" if sum(ans)==2 else \"No\"", "sum(ans)==2", "sum(ans)", "sum", "ans", "2", "\"Yes\"", "\"No\"", "ans = [0,0]", "[0,0]", "ans", "s = input()", "input()", "s" ]
s = input() ans = [0,0] for v in s: if v == "C": ans[0] = 1 elif v =="F" and ans[0] == 1: ans[1] = 1 print("Yes" if sum(ans)==2 else "No")
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 40, 13, 17, 40, 4, 18, 18, 13, 39, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 34, 2 ], [ 37, 6 ], [ 35, 9 ], [ 38, 15 ], [ 35, 21 ], [ 34, 35 ], [ 37, 38 ] ]
[ "s = input()\n\npos_c = s.find('C')\nif pos_c >= 0 and s[pos_c:].find('F') >= 0:\n print('Yes')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "pos_c = s.find('C')", "pos_c", "s.find('C')", "s.find", "s", "find", "'C'", "if pos_c >= 0 and s[pos_c:].find('F') >= 0:\n print('Yes')\nelse:\n print('No')", "pos_c >= 0 and s[pos_c:].find('F') >= 0", "pos_c >= 0", "pos_c", "0", "s[pos_c:].find('F') >= 0", "s[pos_c:].find('F')", "[pos_c:].find", "[pos_c:]", "s", "pos_c:", "pos_c", "find", "'F'", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input()", "input()", "s", "pos_c = s.find('C')", "s.find('C')", "pos_c" ]
s = input() pos_c = s.find('C') if pos_c >= 0 and s[pos_c:].find('F') >= 0: print('Yes') else: print('No')
[ 7, 15, 13, 12, 13, 12, 13, 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, 4, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 9, 8 ], [ 56, 10 ], [ 13, 12 ], [ 16, 15 ], [ 8, 15 ], [ 15, 20 ], [ 12, 23 ], [ 37, 23 ], [ 26, 23 ], [ 27, 26 ], [ 15, 31 ], [ 26, 34 ], [ 12, 34 ], [ 37, 34 ], [ 38, 37 ], [ 37, 41 ], [ 26, 41 ], [ 12, 41 ], [ 53, 50 ] ]
[ "import sys\ndef input(): return sys.stdin.readline().strip()\n\ndef resolve():\n s=input()\n num=0\n for i in s:\n #'C'がまだ見つかっていない状態:num=0\n #'C'が見つかって'F'がまだ見つかっていない状態:num=1\n #'C'が見つかってから'F'が見つかった状態:num=2\n #num==0のときに'C'が見つかったらnumを1にする\n #num==1のときに'F'が見つかったらnumを2にする\n if i=='C' and num==0:\n num+=1\n if i=='F' and num==1:\n num+=1\n if num==2:\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 num=0\n for i in s:\n #'C'がまだ見つかっていない状態:num=0\n #'C'が見つかって'F'がまだ見つかっていない状態:num=1\n #'C'が見つかってから'F'が見つかった状態:num=2\n #num==0のときに'C'が見つかったらnumを1にする\n #num==1のときに'F'が見つかったらnumを2にする\n if i=='C' and num==0:\n num+=1\n if i=='F' and num==1:\n num+=1\n if num==2:\n print('Yes')\n else:\n print('No')", "resolve", "s=input()", "s", "input()", "input", "num=0", "num", "0", "for i in s:\n #'C'がまだ見つかっていない状態:num=0\n #'C'が見つかって'F'がまだ見つかっていない状態:num=1\n #'C'が見つかってから'F'が見つかった状態:num=2\n #num==0のときに'C'が見つかったらnumを1にする\n #num==1のときに'F'が見つかったらnumを2にする\n if i=='C' and num==0:\n num+=1\n if i=='F' and num==1:\n num+=1\n ", "i", "s", "if i=='C' and num==0:\n num+=1\n ", "i=='C' and num==0", "i=='C'", "i", "'C'", "num==0", "num", "0", "num+=1", "num", "1", "if i=='F' and num==1:\n num+=1\n ", "i=='F' and num==1", "i=='F'", "i", "'F'", "num==1", "num", "1", "num+=1", "num", "1", "if num==2:\n print('Yes')\n else:\n print('No')", "num==2", "num", "2", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "resolve()", "resolve", "def resolve():\n s=input()\n num=0\n for i in s:\n #'C'がまだ見つかっていない状態:num=0\n #'C'が見つかって'F'がまだ見つかっていない状態:num=1\n #'C'が見つかってから'F'が見つかった状態:num=2\n #num==0のときに'C'が見つかったらnumを1にする\n #num==1のときに'F'が見つかったらnumを2にする\n if i=='C' and num==0:\n num+=1\n if i=='F' and num==1:\n num+=1\n if num==2:\n print('Yes')\n else:\n print('No')", "def resolve():\n s=input()\n num=0\n for i in s:\n #'C'がまだ見つかっていない状態:num=0\n #'C'が見つかって'F'がまだ見つかっていない状態:num=1\n #'C'が見つかってから'F'が見つかった状態:num=2\n #num==0のときに'C'が見つかったらnumを1にする\n #num==1のときに'F'が見つかったらnumを2にする\n if i=='C' and num==0:\n num+=1\n if i=='F' and num==1:\n num+=1\n if num==2:\n print('Yes')\n else:\n print('No')", "resolve", "def input(): return sys.stdin.readline().strip()", "def input(): return sys.stdin.readline().strip()", "input" ]
import sys def input(): return sys.stdin.readline().strip() def resolve(): s=input() num=0 for i in s: #'C'がまだ見つかっていない状態:num=0 #'C'が見つかって'F'がまだ見つかっていない状態:num=1 #'C'が見つかってから'F'が見つかった状態:num=2 #num==0のときに'C'が見つかったらnumを1にする #num==1のときに'F'が見つかったらnumを2にする if i=='C' and num==0: num+=1 if i=='F' and num==1: num+=1 if num==2: print('Yes') else: print('No') resolve()
[ 7, 15, 13, 0, 13, 4, 13, 4, 13, 0, 13, 4, 13, 13, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 28, 13, 4, 13, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 13, 17, 4, 18, 13, 13, 4, 13, 17, 10, 4, 13, 10, 4, 13, 10, 13, 13 ]
[ [ 59, 4 ], [ 56, 10 ], [ 60, 13 ], [ 16, 15 ], [ 60, 20 ], [ 60, 24 ], [ 15, 25 ], [ 62, 28 ], [ 15, 29 ], [ 33, 32 ], [ 63, 35 ], [ 57, 35 ], [ 60, 38 ], [ 60, 42 ], [ 32, 43 ], [ 56, 57 ], [ 59, 60 ], [ 15, 62 ], [ 62, 63 ] ]
[ "import sys\ns = list(input())\nt = len(s)\nfor i in range(len(s)):\n if s[i] == \"C\":\n t = i\n break\nfor i in range(t,len(s)):\n if s[i] == \"F\":\n print(\"Yes\")\n sys.exit()\nprint(\"No\")", "import sys", "sys", "s = list(input())", "s", "list(input())", "list", "input()", "input", "t = len(s)", "t", "len(s)", "len", "s", "for i in range(len(s)):\n if s[i] == \"C\":\n t = i\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n t = i\n break", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "t = i", "t", "i", "break", "for i in range(t,len(s)):\n if s[i] == \"F\":\n print(\"Yes\")\n sys.exit()", "i", "range(t,len(s))", "range", "t", "len(s)", "len", "s", "if s[i] == \"F\":\n print(\"Yes\")\n sys.exit()", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "sys.exit()", "sys.exit", "sys", "exit", "print(\"No\")", "print", "\"No\"", "t = len(s)", "len(s)", "t", "s = list(input())", "list(input())", "s", "t = i", "i", "t" ]
import sys s = list(input()) t = len(s) for i in range(len(s)): if s[i] == "C": t = i break for i in range(t,len(s)): if s[i] == "F": print("Yes") sys.exit() print("No")
[ 7, 15, 13, 0, 13, 4, 13, 0, 13, 17, 0, 13, 4, 18, 13, 13, 13, 13, 14, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 4, 13 ]
[ [ 27, 4 ], [ 30, 8 ], [ 33, 11 ], [ 31, 16 ], [ 28, 17 ], [ 27, 28 ], [ 30, 31 ], [ 33, 34 ] ]
[ "import re\ns = input()\nreg = '[A-Z]*C[A-Z]*F[A-Z]*'\nres = re.fullmatch(reg, s)\nif res:\n print('Yes')\nelse:\n print('No')", "import re", "re", "s = input()", "s", "input()", "input", "reg = '[A-Z]*C[A-Z]*F[A-Z]*'", "reg", "'[A-Z]*C[A-Z]*F[A-Z]*'", "res = re.fullmatch(reg, s)", "res", "re.fullmatch(reg, s)", "re.fullmatch", "re", "fullmatch", "reg", "s", "if res:\n print('Yes')\nelse:\n print('No')", "res", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "s = input()", "input()", "s", "reg = '[A-Z]*C[A-Z]*F[A-Z]*'", "'[A-Z]*C[A-Z]*F[A-Z]*'", "reg", "res = re.fullmatch(reg, s)", "re.fullmatch(reg, s)", "res" ]
import re s = input() reg = '[A-Z]*C[A-Z]*F[A-Z]*' res = re.fullmatch(reg, s) if res: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 14, 40, 17, 13, 14, 2, 4, 18, 13, 13, 17, 17, 4, 18, 13, 13, 17, 2, 4, 18, 13, 13, 17, 17, 17, 10, 4, 13 ]
[ [ 31, 2 ], [ 32, 8 ], [ 32, 13 ], [ 32, 19 ], [ 32, 25 ], [ 31, 32 ] ]
[ "s=input()\nif \"C\"not in s:print(\"No\")\nelif s.find(\"C\",0)<s.find(\"F\",s.find(\"C\",0)+1):print(\"Yes\")\nelse:print(\"No\")", "s=input()", "s", "input()", "input", "if \"C\"not in s:print(\"No\")\nelif s.find(\"C\",0)<s.find(\"F\",s.find(\"C\",0)+1):print(\"Yes\")\nelse:print(\"No\")", "\"C\"not in s", "\"C\"", "s", "elif s.find(\"C\",0)<s.find(\"F\",s.find(\"C\",0)+1):print(\"Yes\")", "s.find(\"C\",0)<s.find(\"F\",s.find(\"C\",0)+1)", "s.find(\"C\",0)", "s.find", "s", "find", "\"C\"", "0", "s.find(\"F\",s.find(\"C\",0)+1)", "s.find", "s", "find", "\"F\"", "s.find(\"C\",0)+1", "s.find(\"C\",0)", "s.find", "s", "find", "\"C\"", "0", "1", "s=input()", "input()", "s" ]
s=input() if "C"not in s:print("No") elif s.find("C",0)<s.find("F",s.find("C",0)+1):print("Yes") else:print("No")
[ 7, 0, 13, 4, 13, 0, 13, 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, 8, 13, 17, 17, 10, 2, 13, 10, 4, 13 ]
[ [ 45, 2 ], [ 42, 6 ], [ 46, 11 ], [ 46, 14 ], [ 46, 18 ], [ 46, 25 ], [ 46, 30 ], [ 43, 38 ], [ 42, 43 ], [ 45, 46 ] ]
[ "s=input()\nf='C' in s and 'F' in s and s.index('C')<len(s)-1-s[::-1].index('F')\nprint('Yes' if f else 'No')", "s=input()", "s", "input()", "input", "f='C' in s and 'F' in s and s.index('C')<len(s)-1-s[::-1].index('F')", "f", "'C' in s and 'F' in s and s.index('C')<len(s)-1-s[::-1].index('F')", "'C' in s and 'F' in s", "'C' in s", "'C'", "s", "'F' in s", "'F'", "s", "s.index('C')<len(s)-1-s[::-1].index('F')", "s.index('C')", "s.index", "s", "index", "'C'", "len(s)-1-s[::-1].index('F')", "len(s)-1", "len(s)", "len", "s", "1", "s[::-1].index('F')", "[::-1].index", "[::-1]", "s", "::-1", "-1", "index", "'F'", "print('Yes' if f else 'No')", "print", "'Yes' if f else 'No'", "f", "'Yes'", "'No'", "f='C' in s and 'F' in s and s.index('C')<len(s)-1-s[::-1].index('F')", "'C' in s and 'F' in s and s.index('C')<len(s)-1-s[::-1].index('F')", "f", "s=input()", "input()", "s" ]
s=input() f='C' in s and 'F' in s and s.index('C')<len(s)-1-s[::-1].index('F') print('Yes' if f else 'No')
[ 7, 15, 13, 0, 13, 8, 4, 18, 13, 13, 17, 4, 13, 17, 17, 4, 13, 13, 10, 8, 13 ]
[ [ 19, 4 ], [ 20, 17 ], [ 19, 20 ] ]
[ "import re; r = 'Yes' if re.search('C.*F', input()) else 'No'; print(r)", "import re", "re", "r = 'Yes' if re.search('C.*F', input()) else 'No'", "r", "'Yes' if re.search('C.*F', input()) else 'No'", "re.search('C.*F', input())", "re.search", "re", "search", "'C.*F'", "input()", "input", "'Yes'", "'No'", "print(r)", "print", "r", "r = 'Yes' if re.search('C.*F', input()) else 'No'", "'Yes' if re.search('C.*F', input()) else 'No'", "r" ]
import re; r = 'Yes' if re.search('C.*F', input()) else 'No'; print(r)
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 40, 13, 14, 2, 17, 13, 0, 13, 17, 14, 2, 17, 13, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 34, 2 ], [ 40, 6 ], [ 10, 9 ], [ 35, 9 ], [ 41, 13 ], [ 38, 13 ], [ 9, 17 ], [ 37, 19 ], [ 9, 24 ], [ 34, 35 ], [ 37, 38 ], [ 40, 41 ] ]
[ "s = input()\n\nin_c = False\n\nfor c in s:\n if not in_c:\n if 'C' == c:\n in_c = True\n else:\n if 'F' == c:\n print('Yes')\n exit()\n\nprint('No')", "s = input()", "s", "input()", "input", "in_c = False", "in_c", "False", "for c in s:\n if not in_c:\n if 'C' == c:\n in_c = True\n else:\n if 'F' == c:\n print('Yes')\n exit()", "c", "s", "if not in_c:\n if 'C' == c:\n in_c = True\n else:\n if 'F' == c:\n print('Yes')\n exit()", "not in_c", "in_c", "if 'C' == c:\n in_c = True\n ", "'C' == c", "'C'", "c", "in_c = True", "in_c", "True", "if 'F' == c:\n print('Yes')\n exit()", "'F' == c", "'F'", "c", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "s = input()", "input()", "s", "in_c = True", "True", "in_c", "in_c = False", "False", "in_c" ]
s = input() in_c = False for c in s: if not in_c: if 'C' == c: in_c = True else: if 'F' == c: print('Yes') exit() print('No')
[ 7, 12, 13, 0, 13, 4, 13, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 3, 14, 2, 13, 17, 29, 17, 28, 13, 4, 13, 2, 13, 17, 4, 13, 13, 14, 2, 18, 13, 13, 17, 29, 17, 29, 17, 14, 2, 13, 17, 4, 13, 4, 13, 10, 12, 13 ]
[ [ 5, 4 ], [ 9, 8 ], [ 12, 11 ], [ 4, 16 ], [ 4, 20 ], [ 11, 21 ], [ 25, 24 ], [ 11, 25 ], [ 24, 29 ], [ 8, 29 ], [ 35, 34 ], [ 24, 38 ], [ 8, 38 ], [ 4, 42 ], [ 4, 46 ], [ 34, 47 ], [ 63, 60 ] ]
[ "def main():\n\n s = input()\n Cidx = -1\n for i in range(len(s)):\n if s[i] == \"C\":\n Cidx = i\n break\n if Cidx == -1:\n return \"No\"\n\n for i in range(Cidx+1, len(s)):\n if s[i] == \"F\":\n return \"Yes\"\n return \"No\"\n\nif __name__ == '__main__':\n print(main())", "def main():\n\n s = input()\n Cidx = -1\n for i in range(len(s)):\n if s[i] == \"C\":\n Cidx = i\n break\n if Cidx == -1:\n return \"No\"\n\n for i in range(Cidx+1, len(s)):\n if s[i] == \"F\":\n return \"Yes\"\n return \"No\"", "main", "s = input()", "s", "input()", "input", "Cidx = -1", "Cidx", "-1", "for i in range(len(s)):\n if s[i] == \"C\":\n Cidx = i\n break\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n Cidx = i\n break\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "Cidx = i", "Cidx", "i", "break", "if Cidx == -1:\n return \"No\"\n\n ", "Cidx == -1", "Cidx", "-1", "return \"No\"", "\"No\"", "for i in range(Cidx+1, len(s)):\n if s[i] == \"F\":\n return \"Yes\"\n ", "i", "range(Cidx+1, len(s))", "range", "Cidx+1", "Cidx", "1", "len(s)", "len", "s", "if s[i] == \"F\":\n return \"Yes\"\n ", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "return \"Yes\"", "\"Yes\"", "return \"No\"", "\"No\"", "if __name__ == '__main__':\n print(main())", "__name__ == '__main__'", "__name__", "'__main__'", "print(main())", "print", "main()", "main", "def main():\n\n s = input()\n Cidx = -1\n for i in range(len(s)):\n if s[i] == \"C\":\n Cidx = i\n break\n if Cidx == -1:\n return \"No\"\n\n for i in range(Cidx+1, len(s)):\n if s[i] == \"F\":\n return \"Yes\"\n return \"No\"", "def main():\n\n s = input()\n Cidx = -1\n for i in range(len(s)):\n if s[i] == \"C\":\n Cidx = i\n break\n if Cidx == -1:\n return \"No\"\n\n for i in range(Cidx+1, len(s)):\n if s[i] == \"F\":\n return \"Yes\"\n return \"No\"", "main" ]
def main(): s = input() Cidx = -1 for i in range(len(s)): if s[i] == "C": Cidx = i break if Cidx == -1: return "No" for i in range(Cidx+1, len(s)): if s[i] == "F": return "Yes" return "No" if __name__ == '__main__': print(main())
[ 7, 0, 13, 4, 13, 14, 2, 40, 4, 18, 13, 13, 17, 17, 40, 4, 18, 13, 13, 17, 17, 14, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13 ]
[ [ 43, 2 ], [ 44, 10 ], [ 44, 17 ], [ 44, 25 ], [ 44, 30 ], [ 43, 44 ] ]
[ "s = input()\nif s.find('C') >= 0 and s.find('F') >= 0:\n if s.index('C') < s.rindex('F'):\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", "s = input()", "s", "input()", "input", "if s.find('C') >= 0 and s.find('F') >= 0:\n if s.index('C') < s.rindex('F'):\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", "s.find('C') >= 0 and s.find('F') >= 0", "s.find('C') >= 0", "s.find('C')", "s.find", "s", "find", "'C'", "0", "s.find('F') >= 0", "s.find('F')", "s.find", "s", "find", "'F'", "0", "if s.index('C') < s.rindex('F'):\n print('Yes')\n else:\n print('No')", "s.index('C') < s.rindex('F')", "s.index('C')", "s.index", "s", "index", "'C'", "s.rindex('F')", "s.rindex", "s", "rindex", "'F'", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "s = input()", "input()", "s" ]
s = input() if s.find('C') >= 0 and s.find('F') >= 0: if s.index('C') < s.rindex('F'): print('Yes') else: print('No') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 39, 28, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 13, 13, 13, 0, 13, 4, 18, 17, 13, 13, 14, 2, 4, 18, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 39, 13, 10, 4, 13 ]
[ [ 46, 2 ], [ 49, 6 ], [ 10, 9 ], [ 47, 9 ], [ 9, 14 ], [ 9, 17 ], [ 50, 21 ], [ 9, 23 ], [ 52, 25 ], [ 50, 30 ], [ 53, 35 ], [ 50, 35 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ] ]
[ "s = input()\n\na = []\n\nfor i in s:\n if i == \"C\" or i == \"F\":\n a.append(i)\na = \"\".join(a)\nif a.count(\"CF\") > 0:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "a = []", "a", "[]", "for i in s:\n if i == \"C\" or i == \"F\":\n a.append(i)", "i", "s", "if i == \"C\" or i == \"F\":\n a.append(i)", "i == \"C\" or i == \"F\"", "i == \"C\"", "i", "\"C\"", "i == \"F\"", "i", "\"F\"", "a.append(i)", "a.append", "a", "append", "i", "a = \"\".join(a)", "a", "\"\".join(a)", "\"\".join", "\"\"", "join", "a", "if a.count(\"CF\") > 0:\n print(\"Yes\")\nelse:\n print(\"No\")", "a.count(\"CF\") > 0", "a.count(\"CF\")", "a.count", "a", "count", "\"CF\"", "0", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "a = []", "[]", "a", "a = \"\".join(a)", "\"\".join(a)", "a" ]
s = input() a = [] for i in s: if i == "C" or i == "F": a.append(i) a = "".join(a) if a.count("CF") > 0: print("Yes") else: print("No")
[ 7, 15, 12, 13, 29, 4, 18, 4, 18, 13, 13, 13, 12, 13, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 13, 17, 4, 13, 17, 29, 0, 13, 4, 18, 18, 13, 39, 13, 13, 17, 14, 40, 13, 17, 4, 13, 17, 4, 13, 17, 4, 13, 10, 12, 13, 10, 12, 13 ]
[ [ 16, 15 ], [ 60, 17 ], [ 20, 19 ], [ 15, 22 ], [ 19, 27 ], [ 35, 34 ], [ 15, 38 ], [ 34, 45 ], [ 19, 45 ], [ 57, 54 ] ]
[ "from sys import stdin\n\ndef readString() :\n return stdin.readline().rstrip()\n\ndef solve() :\n S = readString()\n pos = S.find('C')\n if(pos ==-1):\n print(\"No\")\n return\n pos = S[pos:].find('F')\n if(pos !=-1):\n print(\"Yes\")\n else :\n print(\"No\")\n\nsolve()", "from sys import stdin", "def readString() :\n return stdin.readline().rstrip()", "readString", "return stdin.readline().rstrip()", "stdin.readline().rstrip()", "stdin.readline().rstrip", "stdin.readline()", "stdin.readline", "stdin", "readline", "rstrip", "def solve() :\n S = readString()\n pos = S.find('C')\n if(pos ==-1):\n print(\"No\")\n return\n pos = S[pos:].find('F')\n if(pos !=-1):\n print(\"Yes\")\n else :\n print(\"No\")", "solve", "S = readString()", "S", "readString()", "readString", "pos = S.find('C')", "pos", "S.find('C')", "S.find", "S", "find", "'C'", "if(pos ==-1):\n print(\"No\")\n return\n ", "pos ==-1", "pos", "-1", "print(\"No\")", "print", "\"No\"", "return", "pos = S[pos:].find('F')", "pos", "S[pos:].find('F')", "[pos:].find", "[pos:]", "S", "pos:", "pos", "find", "'F'", "if(pos !=-1):\n print(\"Yes\")\n else :\n print(\"No\")", "pos !=-1", "pos", "-1", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "solve()", "solve", "def solve() :\n S = readString()\n pos = S.find('C')\n if(pos ==-1):\n print(\"No\")\n return\n pos = S[pos:].find('F')\n if(pos !=-1):\n print(\"Yes\")\n else :\n print(\"No\")", "def solve() :\n S = readString()\n pos = S.find('C')\n if(pos ==-1):\n print(\"No\")\n return\n pos = S[pos:].find('F')\n if(pos !=-1):\n print(\"Yes\")\n else :\n print(\"No\")", "solve", "def readString() :\n return stdin.readline().rstrip()", "def readString() :\n return stdin.readline().rstrip()", "readString" ]
from sys import stdin def readString() : return stdin.readline().rstrip() def solve() : S = readString() pos = S.find('C') if(pos ==-1): print("No") return pos = S[pos:].find('F') if(pos !=-1): print("Yes") else : print("No") solve()
[ 7, 15, 13, 12, 13, 0, 13, 4, 13, 4, 13, 14, 2, 2, 4, 18, 13, 13, 17, 17, 2, 4, 18, 13, 13, 17, 17, 4, 13, 17, 29, 0, 13, 17, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 13, 4, 13, 8, 2, 13, 13, 17, 17, 14, 2, 13, 17, 4, 13, 10, 12, 13 ]
[ [ 7, 6 ], [ 6, 16 ], [ 6, 23 ], [ 33, 32 ], [ 35, 34 ], [ 38, 37 ], [ 6, 42 ], [ 32, 45 ], [ 54, 45 ], [ 6, 50 ], [ 37, 51 ], [ 55, 54 ], [ 37, 55 ], [ 6, 59 ], [ 37, 60 ], [ 64, 63 ], [ 37, 64 ], [ 63, 69 ], [ 34, 69 ], [ 54, 70 ], [ 32, 70 ], [ 81, 78 ] ]
[ "import collections\n\n\ndef main():\n s = list(input())\n if s.count(\"C\") == 0 or s.count(\"F\") == 0:\n print(\"No\")\n return\n\n clen, flen = 0, 0\n for i in range(len(s)):\n if clen == 0:\n if s[i] == \"C\":\n clen = i\n if s[i] == \"F\":\n flen = i\n print(\"Yes\" if flen > clen else \"No\")\n\n\nif __name__ == '__main__':\n main()", "import collections", "collections", "def main():\n s = list(input())\n if s.count(\"C\") == 0 or s.count(\"F\") == 0:\n print(\"No\")\n return\n\n clen, flen = 0, 0\n for i in range(len(s)):\n if clen == 0:\n if s[i] == \"C\":\n clen = i\n if s[i] == \"F\":\n flen = i\n print(\"Yes\" if flen > clen else \"No\")", "main", "s = list(input())", "s", "list(input())", "list", "input()", "input", "if s.count(\"C\") == 0 or s.count(\"F\") == 0:\n print(\"No\")\n return\n\n ", "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", "print(\"No\")", "print", "\"No\"", "return", "clen, flen = 0, 0", "clen", "0", "flen", "0", "for i in range(len(s)):\n if clen == 0:\n if s[i] == \"C\":\n clen = i\n if s[i] == \"F\":\n flen = i\n ", "i", "range(len(s))", "range", "len(s)", "len", "s", "if clen == 0:\n if s[i] == \"C\":\n clen = i\n ", "clen == 0", "clen", "0", "if s[i] == \"C\":\n clen = i\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "clen = i", "clen", "i", "if s[i] == \"F\":\n flen = i\n ", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "flen = i", "flen", "i", "print(\"Yes\" if flen > clen else \"No\")", "print", "\"Yes\" if flen > clen else \"No\"", "flen > clen", "flen", "clen", "\"Yes\"", "\"No\"", "if __name__ == '__main__':\n main()", "__name__ == '__main__'", "__name__", "'__main__'", "main()", "main", "def main():\n s = list(input())\n if s.count(\"C\") == 0 or s.count(\"F\") == 0:\n print(\"No\")\n return\n\n clen, flen = 0, 0\n for i in range(len(s)):\n if clen == 0:\n if s[i] == \"C\":\n clen = i\n if s[i] == \"F\":\n flen = i\n print(\"Yes\" if flen > clen else \"No\")", "def main():\n s = list(input())\n if s.count(\"C\") == 0 or s.count(\"F\") == 0:\n print(\"No\")\n return\n\n clen, flen = 0, 0\n for i in range(len(s)):\n if clen == 0:\n if s[i] == \"C\":\n clen = i\n if s[i] == \"F\":\n flen = i\n print(\"Yes\" if flen > clen else \"No\")", "main" ]
import collections def main(): s = list(input()) if s.count("C") == 0 or s.count("F") == 0: print("No") return clen, flen = 0, 0 for i in range(len(s)): if clen == 0: if s[i] == "C": clen = i if s[i] == "F": flen = i print("Yes" if flen > clen else "No") if __name__ == '__main__': main()
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 13, 0, 13, 17, 3, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 38, 2 ], [ 44, 6 ], [ 35, 9 ], [ 13, 12 ], [ 39, 12 ], [ 12, 16 ], [ 41, 19 ], [ 12, 24 ], [ 42, 26 ], [ 45, 26 ], [ 47, 28 ], [ 48, 33 ], [ 36, 33 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "s = input()\nC = False\n\nans = 'No'\nfor i in s:\n if i == 'C':\n C = True\n\n if i == 'F' and C:\n ans = 'Yes'\n break\nprint(ans)", "s = input()", "s", "input()", "input", "C = False", "C", "False", "ans = 'No'", "ans", "'No'", "for i in s:\n if i == 'C':\n C = True\n\n if i == 'F' and C:\n ans = 'Yes'\n break", "i", "s", "if i == 'C':\n C = True\n\n ", "i == 'C'", "i", "'C'", "C = True", "C", "True", "if i == 'F' and C:\n ans = 'Yes'\n break", "i == 'F' and C", "i == 'F'", "i", "'F'", "C", "ans = 'Yes'", "ans", "'Yes'", "break", "print(ans)", "print", "ans", "ans = 'No'", "'No'", "ans", "s = input()", "input()", "s", "C = True", "True", "C", "C = False", "False", "C", "ans = 'Yes'", "'Yes'", "ans" ]
s = input() C = False ans = 'No' for i in s: if i == 'C': C = True if i == 'F' and C: ans = 'Yes' break print(ans)
[ 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, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 50, 2 ], [ 44, 6 ], [ 10, 9 ], [ 51, 9 ], [ 9, 14 ], [ 45, 17 ], [ 48, 17 ], [ 54, 17 ], [ 53, 20 ], [ 9, 25 ], [ 54, 28 ], [ 45, 28 ], [ 48, 28 ], [ 47, 31 ], [ 48, 35 ], [ 54, 35 ], [ 45, 35 ], [ 44, 45 ], [ 47, 48 ], [ 50, 51 ], [ 53, 54 ] ]
[ "s = input()\ncount = 0\nfor i in s:\n if i == 'C' and count == 0:\n count+=1\n if i == 'F' and count == 1:\n count+=1\nif count == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "count = 0", "count", "0", "for i in s:\n if i == 'C' and count == 0:\n count+=1\n if i == 'F' and count == 1:\n count+=1", "i", "s", "if i == 'C' and count == 0:\n count+=1\n ", "i == 'C' and count == 0", "i == 'C'", "i", "'C'", "count == 0", "count", "0", "count+=1", "count", "1", "if i == 'F' and count == 1:\n count+=1", "i == 'F' and count == 1", "i == 'F'", "i", "'F'", "count == 1", "count", "1", "count+=1", "count", "1", "if count == 2:\n print(\"Yes\")\nelse:\n print(\"No\")", "count == 2", "count", "2", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "count = 0", "0", "count", "count+=1", "1", "count", "s = input()", "input()", "s", "count+=1", "1", "count" ]
s = input() count = 0 for i in s: if i == 'C' and count == 0: count+=1 if i == 'F' and count == 1: count+=1 if count == 2: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 28, 13, 13, 4, 13, 13, 28, 13, 4, 13, 2, 4, 13, 13, 13, 14, 2, 2, 18, 13, 13, 18, 13, 2, 13, 13, 17, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 41, 2 ], [ 42, 10 ], [ 13, 12 ], [ 42, 18 ], [ 42, 24 ], [ 42, 27 ], [ 12, 29 ], [ 41, 42 ] ]
[ "s = input()\nfor i,c in enumerate(s):\n\tfor j in range(len(s)-i):\n\t\tif s[i]+s[j+i] == 'CF':\n\t\t\tprint('Yes')\n\t\t\texit()\nprint('No')", "s = input()", "s", "input()", "input", "for i,c in enumerate(s):\n\tfor j in range(len(s)-i):\n\t\tif s[i]+s[j+i] == 'CF':\n\t\t\tprint('Yes')\n\t\t\texit()", "i", "c", "enumerate(s)", "enumerate", "s", "for j in range(len(s)-i):\n\t\tif s[i]+s[j+i] == 'CF':\n\t\t\tprint('Yes')\n\t\t\texit()", "j", "range(len(s)-i)", "range", "len(s)-i", "len(s)", "len", "s", "i", "if s[i]+s[j+i] == 'CF':\n\t\t\tprint('Yes')\n\t\t\texit()", "s[i]+s[j+i] == 'CF'", "s[i]+s[j+i]", "s[i]", "s", "i", "s[j+i]", "s", "j+i", "j", "i", "'CF'", "print('Yes')", "print", "'Yes'", "exit()", "exit", "print('No')", "print", "'No'", "s = input()", "input()", "s" ]
s = input() for i,c in enumerate(s): for j in range(len(s)-i): if s[i]+s[j+i] == 'CF': print('Yes') exit() print('No')
[ 7, 15, 13, 0, 13, 4, 13, 4, 13, 8, 4, 18, 13, 13, 17, 13, 17, 17, 10, 4, 13 ]
[ [ 19, 4 ], [ 20, 15 ], [ 19, 20 ] ]
[ "import re\ns=input()\nprint(\"Yes\" if re.match(\".*C.*F\",s) else \"No\")", "import re", "re", "s=input()", "s", "input()", "input", "print(\"Yes\" if re.match(\".*C.*F\",s) else \"No\")", "print", "\"Yes\" if re.match(\".*C.*F\",s) else \"No\"", "re.match(\".*C.*F\",s)", "re.match", "re", "match", "\".*C.*F\"", "s", "\"Yes\"", "\"No\"", "s=input()", "input()", "s" ]
import re s=input() print("Yes" if re.match(".*C.*F",s) else "No")
[ 7, 15, 13, 15, 13, 15, 13, 15, 13, 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, 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 ]
[ [ 59, 10 ], [ 53, 16 ], [ 20, 19 ], [ 60, 24 ], [ 60, 28 ], [ 19, 29 ], [ 56, 32 ], [ 57, 37 ], [ 54, 37 ], [ 60, 41 ], [ 19, 42 ], [ 53, 54 ], [ 56, 57 ], [ 59, 60 ] ]
[ "# -*- coding: utf-8 -*-\n \nimport math\nimport itertools\nimport sys\nimport copy\n \n# 入力\n#A, B, C, D = map(int, input().split())\n#L = list(map(int, input().split()))\n#S = list(str(input()))\n#N = int(input())\ns = str(input())\n\ncflag = False\nfor i in range(len(s)) :\n if s[i] == \"C\" :\n cflag = True\n if cflag == True and s[i] == \"F\" :\n print (\"Yes\")\n exit()\nprint (\"No\")", "import math", "math", "import itertools", "itertools", "import sys", "sys", "import copy", "copy", "s = str(input())", "s", "str(input())", "str", "input()", "input", "cflag = False", "cflag", "False", "for i in range(len(s)) :\n if s[i] == \"C\" :\n cflag = True\n if cflag == True and s[i] == \"F\" :\n print (\"Yes\")\n exit()", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\" :\n cflag = True\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "cflag = True", "cflag", "True", "if cflag == True and s[i] == \"F\" :\n print (\"Yes\")\n exit()", "cflag == True and s[i] == \"F\"", "cflag == True", "cflag", "True", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "print (\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print (\"No\")", "print", "\"No\"", "cflag = False", "False", "cflag", "cflag = True", "True", "cflag", "s = str(input())", "str(input())", "s" ]
# -*- coding: utf-8 -*- import math import itertools import sys import copy # 入力 #A, B, C, D = map(int, input().split()) #L = list(map(int, input().split())) #S = list(str(input())) #N = int(input()) s = str(input()) cflag = False for i in range(len(s)) : if s[i] == "C" : cflag = True if cflag == True and s[i] == "F" : print ("Yes") exit() 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, 3, 14, 2, 13, 17, 4, 13, 17, 4, 13, 17, 10, 17, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 51, 2 ], [ 45, 6 ], [ 10, 9 ], [ 52, 9 ], [ 46, 14 ], [ 55, 14 ], [ 49, 14 ], [ 9, 17 ], [ 48, 20 ], [ 46, 25 ], [ 55, 25 ], [ 49, 25 ], [ 9, 28 ], [ 54, 31 ], [ 55, 36 ], [ 49, 36 ], [ 46, 36 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ] ]
[ "s = input()\nf = 0\nfor c in s:\n if f == 0 and c == 'C':\n f = 1\n elif f == 1 and c == '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 c in s:\n if f == 0 and c == 'C':\n f = 1\n elif f == 1 and c == 'F':\n f = 2\n break", "c", "s", "if f == 0 and c == 'C':\n f = 1\n elif f == 1 and c == 'F':\n f = 2\n break", "f == 0 and c == 'C'", "f == 0", "f", "0", "c == 'C'", "c", "'C'", "f = 1", "f", "1", "elif f == 1 and c == 'F':\n f = 2\n break", "f == 1 and c == 'F'", "f == 1", "f", "1", "c == 'F'", "c", "'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 = 1", "1", "f", "s = input()", "input()", "s", "f = 2", "2", "f" ]
s = input() f = 0 for c in s: if f == 0 and c == 'C': f = 1 elif f == 1 and c == 'F': f = 2 break if f == 2: print('Yes') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 4, 18, 13, 13, 17, 2, 13, 17, 8, 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 ]
[ [ 47, 2 ], [ 44, 6 ], [ 48, 9 ], [ 41, 13 ], [ 48, 16 ], [ 45, 20 ], [ 45, 26 ], [ 42, 29 ], [ 45, 32 ], [ 42, 33 ], [ 41, 42 ], [ 44, 45 ], [ 47, 48 ] ]
[ "S = input()\na= S.find('C')\nb= S.find('F',a+1)\nprint('Yes') if a>=0 and b>=0 and a<b else print('No')", "S = input()", "S", "input()", "input", "a= S.find('C')", "a", "S.find('C')", "S.find", "S", "find", "'C'", "b= S.find('F',a+1)", "b", "S.find('F',a+1)", "S.find", "S", "find", "'F'", "a+1", "a", "1", "print('Yes') if a>=0 and b>=0 and a<b else print('No')", "a>=0 and b>=0 and a<b", "a>=0 and b>=0", "a>=0", "a", "0", "b>=0", "b", "0", "a<b", "a", "b", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "b= S.find('F',a+1)", "S.find('F',a+1)", "b", "a= S.find('C')", "S.find('C')", "a", "S = input()", "input()", "S" ]
S = input() a= S.find('C') b= S.find('F',a+1) print('Yes') if a>=0 and b>=0 and a<b 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, 3, 4, 13, 13, 10, 17, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 48, 2 ], [ 45, 6 ], [ 51, 9 ], [ 13, 12 ], [ 49, 17 ], [ 49, 21 ], [ 12, 22 ], [ 57, 25 ], [ 58, 30 ], [ 46, 30 ], [ 49, 34 ], [ 12, 35 ], [ 54, 38 ], [ 55, 43 ], [ 52, 43 ], [ 45, 46 ], [ 48, 49 ], [ 51, 52 ], [ 54, 55 ], [ 57, 58 ] ]
[ "s = input()\nflag = 0\nans = \"No\"\n\nfor i in range(len(s)):\n if s[i] == \"C\":\n flag = 1\n\n if flag == 1 and s[i] == \"F\":\n ans = \"Yes\"\n break\n\nprint(ans)", "s = input()", "s", "input()", "input", "flag = 0", "flag", "0", "ans = \"No\"", "ans", "\"No\"", "for i in range(len(s)):\n if s[i] == \"C\":\n flag = 1\n\n if flag == 1 and s[i] == \"F\":\n ans = \"Yes\"\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\":\n flag = 1\n\n ", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "flag = 1", "flag", "1", "if flag == 1 and s[i] == \"F\":\n ans = \"Yes\"\n break", "flag == 1 and s[i] == \"F\"", "flag == 1", "flag", "1", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "ans = \"Yes\"", "ans", "\"Yes\"", "break", "print(ans)", "print", "ans", "flag = 0", "0", "flag", "s = input()", "input()", "s", "ans = \"No\"", "\"No\"", "ans", "ans = \"Yes\"", "\"Yes\"", "ans", "flag = 1", "1", "flag" ]
s = input() flag = 0 ans = "No" for i in range(len(s)): if s[i] == "C": flag = 1 if flag == 1 and s[i] == "F": ans = "Yes" break print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 2, 18, 13, 13, 17, 2, 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, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 54, 2 ], [ 66, 6 ], [ 60, 9 ], [ 13, 12 ], [ 55, 17 ], [ 55, 22 ], [ 12, 23 ], [ 67, 26 ], [ 58, 26 ], [ 57, 29 ], [ 55, 35 ], [ 12, 36 ], [ 67, 39 ], [ 58, 39 ], [ 63, 42 ], [ 54, 55 ], [ 57, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ] ]
[ "s = input()\n\nnum = 0\nflag = False\nfor i in range(len(s)):\n if s[i] == \"C\" and num == 0:\n num = 1\n elif s[i] == \"F\" and num == 1:\n flag = True\n break\n\nif flag:\n print(\"Yes\")\nelse:\n print(\"No\")", "s = input()", "s", "input()", "input", "num = 0", "num", "0", "flag = False", "flag", "False", "for i in range(len(s)):\n if s[i] == \"C\" and num == 0:\n num = 1\n elif s[i] == \"F\" and num == 1:\n flag = True\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i] == \"C\" and num == 0:\n num = 1\n elif s[i] == \"F\" and num == 1:\n flag = True\n break", "s[i] == \"C\" and num == 0", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "num == 0", "num", "0", "num = 1", "num", "1", "elif s[i] == \"F\" and num == 1:\n flag = True\n break", "s[i] == \"F\" and num == 1", "s[i] == \"F\"", "s[i]", "s", "i", "\"F\"", "num == 1", "num", "1", "flag = True", "flag", "True", "break", "if flag:\n print(\"Yes\")\nelse:\n print(\"No\")", "flag", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s", "num = 1", "1", "num", "flag = False", "False", "flag", "flag = True", "True", "flag", "num = 0", "0", "num" ]
s = input() num = 0 flag = False for i in range(len(s)): if s[i] == "C" and num == 0: num = 1 elif s[i] == "F" and num == 1: flag = True break if flag: print("Yes") else: print("No")
[ 7, 0, 13, 4, 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, 13, 13, 17, 17, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 4, 13 ]
[ [ 43, 2 ], [ 44, 11 ], [ 46, 16 ], [ 44, 19 ], [ 44, 27 ], [ 43, 44 ], [ 46, 47 ] ]
[ "S = str(input())\n\nif S.count('C') > 0:\n\tD = S.index('C')\n\tif S[D::].count('F') > 0:\n\t\tprint('Yes')\n\telse:\n\t\tprint('No')\nelse:\n\tprint('No')", "S = str(input())", "S", "str(input())", "str", "input()", "input", "if S.count('C') > 0:\n\tD = S.index('C')\n\tif S[D::].count('F') > 0:\n\t\tprint('Yes')\n\telse:\n\t\tprint('No')\nelse:\n\tprint('No')", "S.count('C') > 0", "S.count('C')", "S.count", "S", "count", "'C'", "0", "D = S.index('C')", "D", "S.index('C')", "S.index", "S", "index", "'C'", "if S[D::].count('F') > 0:\n\t\tprint('Yes')\n\telse:\n\t\tprint('No')", "S[D::].count('F') > 0", "S[D::].count('F')", "[D::].count", "[D::]", "S", "D::", "D", "count", "'F'", "0", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "S = str(input())", "str(input())", "S", "D = S.index('C')", "S.index('C')", "D" ]
S = str(input()) if S.count('C') > 0: D = S.index('C') if S[D::].count('F') > 0: print('Yes') else: print('No') 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 ], [ 38, 6 ], [ 10, 9 ], [ 42, 9 ], [ 9, 13 ], [ 35, 16 ], [ 36, 21 ], [ 39, 21 ], [ 9, 24 ], [ 35, 36 ], [ 38, 39 ], [ 41, 42 ] ]
[ "s = input()\nflag = \"off\"\nfor i in s:\n if i == \"C\":\n flag = \"on\"\n if flag == \"on\" and i == \"F\":\n print(\"Yes\")\n exit()\nprint(\"No\")", "s = input()", "s", "input()", "input", "flag = \"off\"", "flag", "\"off\"", "for i in s:\n if i == \"C\":\n flag = \"on\"\n if flag == \"on\" and i == \"F\":\n print(\"Yes\")\n exit()", "i", "s", "if i == \"C\":\n flag = \"on\"\n ", "i == \"C\"", "i", "\"C\"", "flag = \"on\"", "flag", "\"on\"", "if flag == \"on\" and i == \"F\":\n print(\"Yes\")\n exit()", "flag == \"on\" and i == \"F\"", "flag == \"on\"", "flag", "\"on\"", "i == \"F\"", "i", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "flag = \"on\"", "\"on\"", "flag", "flag = \"off\"", "\"off\"", "flag", "s = input()", "input()", "s" ]
s = input() flag = "off" for i in s: if i == "C": flag = "on" if flag == "on" and i == "F": print("Yes") exit() print("No")
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 4, 13, 4, 13, 13, 14, 2, 40, 13, 2, 18, 13, 13, 17, 0, 13, 17, 14, 2, 13, 2, 18, 13, 13, 17, 0, 13, 17, 3, 4, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 46, 2 ], [ 52, 6 ], [ 49, 9 ], [ 13, 12 ], [ 47, 17 ], [ 50, 21 ], [ 59, 21 ], [ 47, 24 ], [ 12, 25 ], [ 58, 28 ], [ 50, 32 ], [ 59, 32 ], [ 47, 35 ], [ 12, 36 ], [ 55, 39 ], [ 56, 44 ], [ 53, 44 ], [ 46, 47 ], [ 49, 50 ], [ 52, 53 ], [ 55, 56 ], [ 58, 59 ] ]
[ "s=input()\nans=\"No\"\nflag=False\nfor i in range(len(s)):\n if not flag and s[i]==\"C\":\n flag=True\n elif flag and s[i]==\"F\":\n ans=\"Yes\"\n break\nprint(ans)", "s=input()", "s", "input()", "input", "ans=\"No\"", "ans", "\"No\"", "flag=False", "flag", "False", "for i in range(len(s)):\n if not flag and s[i]==\"C\":\n flag=True\n elif flag and s[i]==\"F\":\n ans=\"Yes\"\n break", "i", "range(len(s))", "range", "len(s)", "len", "s", "if not flag and s[i]==\"C\":\n flag=True\n elif flag and s[i]==\"F\":\n ans=\"Yes\"\n break", "not flag and s[i]==\"C\"", "not flag", "flag", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "flag=True", "flag", "True", "elif flag and s[i]==\"F\":\n ans=\"Yes\"\n break", "flag and s[i]==\"F\"", "flag", "s[i]==\"F\"", "s[i]", "s", "i", "\"F\"", "ans=\"Yes\"", "ans", "\"Yes\"", "break", "print(ans)", "print", "ans", "s=input()", "input()", "s", "flag=False", "False", "flag", "ans=\"No\"", "\"No\"", "ans", "ans=\"Yes\"", "\"Yes\"", "ans", "flag=True", "True", "flag" ]
s=input() ans="No" flag=False for i in range(len(s)): if not flag and s[i]=="C": flag=True elif flag and s[i]=="F": ans="Yes" break print(ans)
[ 7, 0, 13, 4, 13, 0, 13, 4, 13, 13, 0, 13, 17, 14, 2, 17, 13, 0, 13, 4, 18, 13, 13, 17, 14, 2, 17, 13, 0, 13, 4, 18, 18, 13, 39, 17, 13, 17, 0, 13, 2, 2, 13, 17, 13, 14, 2, 13, 13, 0, 13, 17, 4, 13, 18, 39, 17, 17, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 2, 13 ]
[ [ 69, 2 ], [ 60, 6 ], [ 70, 9 ], [ 72, 11 ], [ 70, 16 ], [ 63, 18 ], [ 70, 21 ], [ 70, 27 ], [ 66, 29 ], [ 70, 33 ], [ 78, 39 ], [ 61, 42 ], [ 67, 44 ], [ 64, 47 ], [ 79, 48 ], [ 67, 48 ], [ 75, 50 ], [ 76, 58 ], [ 73, 58 ], [ 60, 61 ], [ 63, 64 ], [ 66, 67 ], [ 69, 70 ], [ 72, 73 ], [ 75, 76 ], [ 78, 79 ] ]
[ "s = input()\nn = len(s)\nsw = 0\nif \"C\" in s:\n a = s.index(\"C\")\n if \"F\" in s:\n b = s[::-1].index(\"F\")\n b = n-1 - b\n if a < b:\n sw = 1\n \nprint([\"No\",\"Yes\"][sw])", "s = input()", "s", "input()", "input", "n = len(s)", "n", "len(s)", "len", "s", "sw = 0", "sw", "0", "if \"C\" in s:\n a = s.index(\"C\")\n if \"F\" in s:\n b = s[::-1].index(\"F\")\n b = n-1 - b\n if a < b:\n sw = 1\n ", "\"C\" in s", "\"C\"", "s", "a = s.index(\"C\")", "a", "s.index(\"C\")", "s.index", "s", "index", "\"C\"", "if \"F\" in s:\n b = s[::-1].index(\"F\")\n b = n-1 - b\n if a < b:\n sw = 1\n ", "\"F\" in s", "\"F\"", "s", "b = s[::-1].index(\"F\")", "b", "s[::-1].index(\"F\")", "[::-1].index", "[::-1]", "s", "::-1", "-1", "index", "\"F\"", "b = n-1 - b", "b", "n-1 - b", "n-1", "n", "1", "b", "if a < b:\n sw = 1\n ", "a < b", "a", "b", "sw = 1", "sw", "1", "print([\"No\",\"Yes\"][sw])", "print", "[\"No\",\"Yes\"][sw]", "[\"No\",\"Yes\"]", "\"No\"", "\"Yes\"", "sw", "n = len(s)", "len(s)", "n", "a = s.index(\"C\")", "s.index(\"C\")", "a", "b = s[::-1].index(\"F\")", "s[::-1].index(\"F\")", "b", "s = input()", "input()", "s", "sw = 0", "0", "sw", "sw = 1", "1", "sw", "b = n-1 - b", "n-1 - b", "b" ]
s = input() n = len(s) sw = 0 if "C" in s: a = s.index("C") if "F" in s: b = s[::-1].index("F") b = n-1 - b if a < b: sw = 1 print(["No","Yes"][sw])
[ 7, 0, 13, 4, 13, 0, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 0, 13, 13, 3, 14, 40, 13, 17, 0, 13, 17, 28, 13, 13, 4, 13, 13, 14, 2, 13, 17, 0, 13, 13, 14, 2, 13, 13, 4, 13, 17, 4, 13, 17, 4, 13, 17, 10, 13, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 17, 13 ]
[ [ 65, 2 ], [ 71, 6 ], [ 74, 9 ], [ 66, 16 ], [ 59, 22 ], [ 60, 27 ], [ 72, 27 ], [ 68, 30 ], [ 66, 37 ], [ 62, 43 ], [ 63, 47 ], [ 69, 47 ], [ 60, 48 ], [ 72, 48 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ], [ 74, 75 ] ]
[ "S = input()\n\ncpos = -1\n# fpos = 0\nans = False\n\nfor i, si in enumerate(S):\n if si == 'C':\n cpos = i\n break\n\nif cpos >= 0:\n fpos = -1\n for i, si in enumerate(S):\n if si == 'F':\n fpos = i\n if fpos > cpos:\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", "S = input()", "S", "input()", "input", "cpos = -1", "cpos", "-1", "ans = False", "ans", "False", "for i, si in enumerate(S):\n if si == 'C':\n cpos = i\n break", "i", "si", "enumerate(S)", "enumerate", "S", "if si == 'C':\n cpos = i\n break", "si == 'C'", "si", "'C'", "cpos = i", "cpos", "i", "break", "if cpos >= 0:\n fpos = -1\n for i, si in enumerate(S):\n if si == 'F':\n fpos = i\n if fpos > cpos:\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", "cpos >= 0", "cpos", "0", "fpos = -1", "fpos", "-1", "for i, si in enumerate(S):\n if si == 'F':\n fpos = i\n ", "i", "si", "enumerate(S)", "enumerate", "S", "if si == 'F':\n fpos = i\n ", "si == 'F'", "si", "'F'", "fpos = i", "fpos", "i", "if fpos > cpos:\n print('Yes')\n else:\n print('No')", "fpos > cpos", "fpos", "cpos", "print('Yes')", "print", "'Yes'", "print('No')", "print", "'No'", "print('No')", "print", "'No'", "cpos = i", "i", "cpos", "fpos = i", "i", "fpos", "S = input()", "input()", "S", "fpos = -1", "-1", "fpos", "cpos = -1", "-1", "cpos", "ans = False", "False", "ans" ]
S = input() cpos = -1 # fpos = 0 ans = False for i, si in enumerate(S): if si == 'C': cpos = i break if cpos >= 0: fpos = -1 for i, si in enumerate(S): if si == 'F': fpos = i if fpos > cpos: print('Yes') else: print('No') else: print('No')
[ 7, 0, 13, 4, 13, 0, 13, 17, 28, 13, 13, 14, 2, 13, 39, 17, 17, 0, 13, 13, 14, 4, 18, 13, 13, 17, 0, 13, 17, 0, 13, 17, 4, 13, 13, 10, 17, 13, 10, 17, 13, 10, 13, 13, 10, 4, 13, 10, 17, 13 ]
[ [ 45, 2 ], [ 36, 6 ], [ 10, 9 ], [ 46, 9 ], [ 9, 13 ], [ 42, 18 ], [ 9, 19 ], [ 43, 23 ], [ 37, 23 ], [ 39, 27 ], [ 48, 30 ], [ 49, 34 ], [ 40, 34 ], [ 36, 37 ], [ 39, 40 ], [ 9, 42 ], [ 42, 43 ], [ 45, 46 ], [ 48, 49 ] ]
[ "s = input()\ncf = \"\"\nfor e in s:\n if e in [\"C\", \"F\"]:\n cf += e\n\nif cf.count(\"CF\"):\n ans = \"Yes\"\nelse:\n ans = \"No\"\n\nprint(ans)", "s = input()", "s", "input()", "input", "cf = \"\"", "cf", "\"\"", "for e in s:\n if e in [\"C\", \"F\"]:\n cf += e", "e", "s", "if e in [\"C\", \"F\"]:\n cf += e", "e in [\"C\", \"F\"]", "e", "[\"C\", \"F\"]", "\"C\"", "\"F\"", "cf += e", "cf", "e", "if cf.count(\"CF\"):\n ans = \"Yes\"\nelse:\n ans = \"No\"", "cf.count(\"CF\")", "cf.count", "cf", "count", "\"CF\"", "ans = \"Yes\"", "ans", "\"Yes\"", "ans = \"No\"", "ans", "\"No\"", "print(ans)", "print", "ans", "cf = \"\"", "\"\"", "cf", "ans = \"Yes\"", "\"Yes\"", "ans", "cf += e", "e", "cf", "s = input()", "input()", "s", "ans = \"No\"", "\"No\"", "ans" ]
s = input() cf = "" for e in s: if e in ["C", "F"]: cf += e if cf.count("CF"): ans = "Yes" else: ans = "No" print(ans)
[ 7, 0, 13, 4, 13, 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, 4, 13, 17, 4, 13, 4, 13, 17, 10, 4, 13 ]
[ [ 43, 2 ], [ 7, 6 ], [ 44, 11 ], [ 44, 15 ], [ 6, 16 ], [ 20, 19 ], [ 6, 23 ], [ 44, 27 ], [ 44, 31 ], [ 19, 32 ], [ 43, 44 ] ]
[ "s = input()\n\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 print(\"Yes\")\n exit()\nprint(\"No\")", "s = input()", "s", "input()", "input", "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 print(\"Yes\")\n exit()", "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 print(\"Yes\")\n exit()", "s[i] == \"C\"", "s[i]", "s", "i", "\"C\"", "for j in range(i+1, len(s)):\n if s[j] == \"F\":\n print(\"Yes\")\n exit()", "j", "range(i+1, len(s))", "range", "i+1", "i", "1", "len(s)", "len", "s", "if s[j] == \"F\":\n print(\"Yes\")\n exit()", "s[j] == \"F\"", "s[j]", "s", "j", "\"F\"", "print(\"Yes\")", "print", "\"Yes\"", "exit()", "exit", "print(\"No\")", "print", "\"No\"", "s = input()", "input()", "s" ]
s = input() for i in range(len(s)): if s[i] == "C": for j in range(i+1, len(s)): if s[j] == "F": print("Yes") exit() 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, 2, 13, 17, 14, 2, 18, 13, 13, 17, 0, 13, 2, 13, 17, 14, 2, 40, 13, 17, 2, 13, 13, 4, 13, 17, 4, 13, 17, 10, 4, 13, 10, 17, 13, 10, 17, 13, 10, 2, 13, 10, 2, 13 ]
[ [ 59, 2 ], [ 62, 6 ], [ 65, 9 ], [ 13, 12 ], [ 60, 17 ], [ 60, 21 ], [ 12, 22 ], [ 63, 26 ], [ 69, 26 ], [ 68, 29 ], [ 12, 31 ], [ 60, 36 ], [ 12, 37 ], [ 71, 40 ], [ 12, 42 ], [ 69, 47 ], [ 63, 47 ], [ 69, 50 ], [ 63, 50 ], [ 72, 51 ], [ 66, 51 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ] ]
[ "s=input()\nc=0\nf=0\nfor i in range(len(s)):\n if s[i]==\"C\":\n if c==0:\n c=i+1\n if s[i]==\"F\":\n f=i+1\nif c!=0 and c<f:\n print(\"Yes\")\nelse:\n print(\"No\")", "s=input()", "s", "input()", "input", "c=0", "c", "0", "f=0", "f", "0", "for i in range(len(s)):\n if s[i]==\"C\":\n if c==0:\n c=i+1\n if s[i]==\"F\":\n f=i+1", "i", "range(len(s))", "range", "len(s)", "len", "s", "if s[i]==\"C\":\n if c==0:\n c=i+1\n ", "s[i]==\"C\"", "s[i]", "s", "i", "\"C\"", "if c==0:\n c=i+1\n ", "c==0", "c", "0", "c=i+1", "c", "i+1", "i", "1", "if s[i]==\"F\":\n f=i+1", "s[i]==\"F\"", "s[i]", "s", "i", "\"F\"", "f=i+1", "f", "i+1", "i", "1", "if c!=0 and c<f:\n print(\"Yes\")\nelse:\n print(\"No\")", "c!=0 and c<f", "c!=0", "c", "0", "c<f", "c", "f", "print(\"Yes\")", "print", "\"Yes\"", "print(\"No\")", "print", "\"No\"", "s=input()", "input()", "s", "c=0", "0", "c", "f=0", "0", "f", "c=i+1", "i+1", "c", "f=i+1", "i+1", "f" ]
s=input() c=0 f=0 for i in range(len(s)): if s[i]=="C": if c==0: c=i+1 if s[i]=="F": f=i+1 if c!=0 and c<f: print("Yes") else: print("No")
[ 7, 0, 13, 4, 13, 4, 13, 0, 13, 17, 42, 2, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 0, 13, 2, 13, 17, 42, 2, 13, 4, 13, 13, 14, 2, 18, 13, 13, 17, 4, 13, 17, 4, 13, 17, 0, 13, 2, 13, 17, 0, 13, 2, 13, 17, 4, 13, 17, 10, 4, 13, 10, 2, 13, 10, 17, 13, 10, 2, 13, 10, 2, 13 ]
[ [ 59, 2 ], [ 65, 8 ], [ 66, 12 ], [ 72, 12 ], [ 60, 15 ], [ 60, 19 ], [ 66, 20 ], [ 72, 20 ], [ 62, 23 ], [ 66, 25 ], [ 72, 25 ], [ 63, 29 ], [ 69, 29 ], [ 60, 32 ], [ 60, 36 ], [ 63, 37 ], [ 69, 37 ], [ 68, 46 ], [ 63, 48 ], [ 69, 48 ], [ 71, 51 ], [ 66, 53 ], [ 72, 53 ], [ 59, 60 ], [ 62, 63 ], [ 65, 66 ], [ 68, 69 ], [ 71, 72 ] ]
[ "s = list(input())\ni = 0\nwhile i < len(s):\n if s[i] == 'C':\n j = i + 1\n while j < len(s):\n if s[j] == 'F':\n print('Yes')\n exit(0)\n j = j + 1\n i = i + 1\n\nprint('No')", "s = list(input())", "s", "list(input())", "list", "input()", "input", "i = 0", "i", "0", "while i < len(s):\n if s[i] == 'C':\n j = i + 1\n while j < len(s):\n if s[j] == 'F':\n print('Yes')\n exit(0)\n j = j + 1\n i = i + 1", "i < len(s)", "i", "len(s)", "len", "s", "if s[i] == 'C':\n j = i + 1\n while j < len(s):\n if s[j] == 'F':\n print('Yes')\n exit(0)\n j = j + 1\n ", "s[i] == 'C'", "s[i]", "s", "i", "'C'", "j = i + 1", "j", "i + 1", "i", "1", "while j < len(s):\n if s[j] == 'F':\n print('Yes')\n exit(0)\n j = j + 1\n ", "j < len(s)", "j", "len(s)", "len", "s", "if s[j] == 'F':\n print('Yes')\n exit(0)\n ", "s[j] == 'F'", "s[j]", "s", "j", "'F'", "print('Yes')", "print", "'Yes'", "exit(0)", "exit", "0", "j = j + 1", "j", "j + 1", "j", "1", "i = i + 1", "i", "i + 1", "i", "1", "print('No')", "print", "'No'", "s = list(input())", "list(input())", "s", "j = i + 1", "i + 1", "j", "i = 0", "0", "i", "j = j + 1", "j + 1", "j", "i = i + 1", "i + 1", "i" ]
s = list(input()) i = 0 while i < len(s): if s[i] == 'C': j = i + 1 while j < len(s): if s[j] == 'F': print('Yes') exit(0) j = j + 1 i = i + 1 print('No')