Problem:


Score : 100 points

Problem Statement

A string of length 6 consisting of lowercase English letters is said to be coffee-like if and only if its 3-rd and 4-th characters are equal and its 5-th and 6-th characters are also equal.

Given a string S, determine whether it is coffee-like.

Constraints

S is a string of length 6 consisting of lowercase English letters.

Input

Input is given from Standard Input in the following format:

S

Output

If S is coffee-like, print Yes; otherwise, print No.

Sample Input 1

sippuu

Sample Output 1

Yes

In sippuu, the 3-rd and 4-th characters are equal, and the 5-th and 6-th characters are also equal.

Sample Input 2

iphone

Sample Output 2

No

Sample Input 3

coffee

Sample Output 3

Yes



Sample input:
sippuu


Sample output:
Yes

Submission status: Wrong Answer

Solution code:
s = list(input())
if s[2] == s[3]:
    if s[4] == s[5]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = str(input())
if s[2] == s[3]:
    if s[4] == s[5]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
t = 'coffee'
if s[2] == t[2] and s[3] == t[3] and s[4] == t[4] and s[5] == t[5] :
    print('Yes')
else :
    print('No')

Submission status: Wrong Answer

Solution code:
S = input()
if S[2]==S[3] and S[4]==S[5]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
word = input()
print('Yes' if word[2] == word[3] and word[4] and word[5] else 'No')

Submission status: Wrong Answer

Solution code:
S = input()
check = S[2] == S[4] and S[3] == S[5]

print("Yes" if check else "No")

Submission status: Wrong Answer

Solution code:
a= input()

if a[2] == a[3] and a[4] == a[5]:
  print("yes")

else: print("no")

Submission status: Wrong Answer

Solution code:
s = input()

if s[2] == s[3] or s[4] == s[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S = list(input())

if (S[2] == S[3]) or (S[4] == S[5]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = list(input())
if S[-1] == S[-2]:
    if S[-3] == S[-4]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input()

if s[2]==s[3] and s[4]==s[5]:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
answer = input()

count = 0
list = []
for i in answer:
    list.append(i)

if len(answer) != 6:
    print(False)
    
elif list[2] == list[3] and list[4] == list[5]:
    print(True)

else:
    print(False)

Submission status: Wrong Answer

Solution code:
s=input()
if s[2] == s[3]:
  if s[4] == s[5]:
    print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
S=input()

if S[2] == S[3]:
  if S[4] == S[5]:
    print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
n=list(input())
if n[3:4]==n[5:6]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = f"@{input()}"
print(s[3] == s[4] and s[5] == s[6])

Submission status: Wrong Answer

Solution code:
S = input()

if S[2:6] == "ffee":
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = str(input())
if len(S) == 6:
  my_result = 'Yes'
else:
  my_result = 'No'
print(my_result)

Submission status: Wrong Answer

Solution code:
a,b,c,d,e,f = input()
if c == d or e == f:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
# A Coffee

S = input()

if S[2] == S[3] and S[4] == S[5]:
  print("Yes")
else:
  print("")

Submission status: Wrong Answer

Solution code:
nums = list(str(input()))
if nums[2] == nums[3]:
    print("Yes")
elif nums[4] == nums[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input();print('NYOE S'[s[2]==s[3]and s[4]==s[5]and s[2]!=s[4]::2])

Submission status: Wrong Answer

Solution code:
s=input();print('NYOE S'[s[2]==s[3]and s[4]==s[5]::2])

Submission status: Wrong Answer

Solution code:
N=input()
for i in range(5):
  if N[i]==N[i+1]:
    print("Yes")
    exit()
print("No")

Submission status: Wrong Answer

Solution code:
N=input()
for i in range(4):
  if N[i]==N[i+1]:
    print("Yes")
    exit()
  else:
    print("No")

Submission status: Wrong Answer

Solution code:
S=input()
if S[2]==S[3] or S[4]==S[5]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s=input()
if(s[3]==s[4] and s[5]==[6]):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = input()
print('Yes') if s[2]==s[3] and s[4] == s[5] else ('No')

Submission status: Wrong Answer

Solution code:
s = input()
print('yes') if s[2]==s[3] and s[4]==s[5] else print('No')

Submission status: Wrong Answer

Solution code:
a = list(str(input('５文字を入力してください')))
if a[2] == a[3] and a[4] == a[5]:
    print('yes')

else:
    print('no')

Submission status: Wrong Answer

Solution code:
s = input()
if s[2] == s[3] or s[4] == s[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a=list(str(input()))
if a[2]==a[3] and a[4]==a[5]:
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

Solution code:
a=list(str(input()))
if a[2]==a[3] or a[4]==a[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S=input()
if S[2]==S[3] and S[4]==S[5]:
  print("yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
S = input()

if S[2] == S[3] and S[4] == S[5]:
    print('yes')
else:
    print("no")

Submission status: Wrong Answer

Solution code:
S=input()
if S[2]==S[3] and S[4]==S[5]:
    print("Yes")
else:
    print("Yes")

Submission status: Wrong Answer

Solution code:
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
S = readline().decode().rstrip()
if S[0] == S[5] and S[1] == S[4] and S[2] == S[3]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()
if len(s) <= 6:
    print('No')
    exit()
    
if s[2] == s[3] and s[4] == s[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()
if s[3:] == 'ffee':
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
a = str(input().split())
s = list(a)
print(s)
if s[4] == s[5] and s[7] == s[6]:
      print("Yes")
else :
      print("No")

Submission status: Wrong Answer

Solution code:
S = input()
if S[2] == S[3] and S[4] == S[5]:
  print("Yes")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
S=input()
if S[2]==S[3] and S[4]==S[5]:
  print("Yes")
else:
  print("No")
s="coffee"
print(s[4])

Submission status: Wrong Answer

Solution code:
S=(input())
if S[2]==S[3] and S[4]==S[5]:
  print("Yes")
else:
  print("No")
s="coffee"
print(s[4])

Submission status: Wrong Answer

Solution code:
S = input()
if S[2]==S[3] and S[4]==S[5]:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
s=input()
if s!=' ':
    print("Yes") if s[3]==s[2] else print("No")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input()
print("Yes") if s[3]==s[2] else print("No")

Submission status: Wrong Answer

Solution code:
str_in = input()
ans = "No"
if(str_in[2] == str_in[3] and str_in[2] == str_in[3]):
  ans = "Yes"
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()
print('Yes' if s[2:4] == s[4:6] else 'No')

Submission status: Wrong Answer

Solution code:


S = input()

if S[2] == S[3]  and  S[4] and S[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = str(input())
if s[2] == s[3] and s[4] and s[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()
if s[-1] == s[-2]:
  if s[-3] == s[-4]:
    print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = input()
print("Yes")

Submission status: Wrong Answer

Solution code:
s=input();print('YNeos'[s[2]!=s[3] and s[4]!=s[5]::2])

Submission status: Wrong Answer

Solution code:
s = input()

if s[2] == s[3]:
    if s[4] == s[5]:
        print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = str(input())
if s[2] == s[3] or s[4] == s[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
if s[2] == s[3] or s[4] == s[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
print('Yes' if len(set(s))==4 else 'No')

Submission status: Wrong Answer

Solution code:
s=str(input(''))
if ('s==coffee'):
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s = input()
if s[2] == s[3] or s[4] == s[5]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s = str(input())
if (s[2] == s[3]) and (s[4] == s[5]):
  print('yes')
else:
  print('no')

Submission status: Wrong Answer

Solution code:
s=input()
if s[-4]==s[-3] or s[-2]==s[-1]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s=input()

if s[2]==s[3]:
  if s[4]==s[5]:
    print("Yes")
else:
  print('No')

Submission status: Wrong Answer

Solution code:
a = str(input())
if (a[2] == a[3] or a[4] == a[5]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
##A
s = input()
if s[2] == s[3] and s[4] == s[5]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()
if s[2]==s[3] and s[4]==s[5]:
  print('Yes')

Submission status: Wrong Answer

Solution code:
S = input()
if(S[4]==S[5]):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = input()

print('Yes' if S[2] == S[3] or S[4] == S[5] else 'No')

Submission status: Wrong Answer

Solution code:
n=list(input())
#print(n)
if n[2]==n[3] and n[4]==n[5]:
    if n[2]!=n[4]:
        print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S = list(input())
if S[2] == S[3] and S[4] == S[5]:
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

Solution code:
s = input()
S = list(s)
if S[2] == S[3] and S[4] == S[5]:
    print('Yes')
else:
    print('No)')

Submission status: Wrong Answer

Solution code:
S = input()

if S[2] == S[3] and S[4] == S[4]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
n = input()

if n[2] == 'f' and n[3] == 'f' and n[4] == 'e' and n[5] == 'e':
	print("Yes")
else:
	print("No")

Submission status: Wrong Answer

Solution code:
S = input()
if(S[2] == S[3] and S[4] == S[5]):
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

Solution code:
word = list(input())

if word[2]==word[3] and word[4]==word[5]:
    print("Yes")

Submission status: Wrong Answer

Solution code:
#!usr/bin/env python3
from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations, accumulate
import sys
import math
import bisect
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007

def solve():
    s = list(input())
    if s[2]==s[3] and s[4]==s[5]:
      print("Yes")
    else:
      print("No")
    
    return

Submission status: Wrong Answer

Solution code:
a=input()
if a[3]==a[2]and a[5]==a[4]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s = input()

if s[2] == s[3] and [4] == s [5]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
S = list(input())
print(S)

if S[2] == S[3] and S[4] == S[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
S = list(input())
if S[2] == S[3] and S[4] == S[5]:
    print("Yse")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = list(input())
if S[2] == S[3]:
  if S[4] == S[5]:
    print("Yse")
  else:
    print("No")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s0 = list(input())
s1 = s0[3]
for i in range(3,6):
    s1 += s0[i]
han=False
if s1[0] == s1[1] and s1[2] == s1[3]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = list(input())

if s[2]==s[3] and s[4]==s[5]:
  print("Yes")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3

def main():
    S = input()
    if S[2]==S[3] and S[4]==S[5]:
        print("Yes")
    else:
        print("No")

if '__name__' == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
S = input()
if S[2] == S[3] and S[4] == S[5]:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
i = input()
if i[-4]==i[-3] and i[-2]==i[-1]:
    print("Yes")

Submission status: Wrong Answer

Solution code:
S = input()

if S[2]==S[3] and S[4]==S[5]:
    print('yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()
if s[2:4] == 'ff' and s[4:6] == 'ee':
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s=input();print('YNeos'[(s[2]!=s[3] and s[4]!=s[5])::2])

Submission status: Wrong Answer

Solution code:
S = input()
if S[2] == S[3] or S[4] == S[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = list(input())

if s[2] == s[3] and s[4] == s[5]:
    "Yes"
else:
    "No"

Submission status: Wrong Answer

Solution code:
s = list(input())

if s[2]== s[3] and s[4] == s[5]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()

if s[2]== s[3] and s[4] == s[5]:
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input()
print("YES" if s[2]==s[3] and s[4]==s[5] else "NO")

Submission status: Wrong Answer

Solution code:
s=input()
print("YES"if s[2]==s[3] and s[4]==[5] else "NO")

Submission status: Wrong Answer

Solution code:
s=input()
if s[2]==s[3] and s[4]==s[5]:
 print("YES")
else: print("NO")

Submission status: Wrong Answer

Solution code:
s=list(input())

if s[2]==s[3]:
    if s[4]==s[5]:
        print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import numpy as np


def solve():
    if s[2]==s[3] and s[4]==s[5]:
        print("YES")
    else:
        print("NO")
    return


s = str(input())
solve()
#a = [int(i) for i in input().split(" ")]

Submission status: Wrong Answer

Solution code:
s = input()
if s[2] == s[3] or s[4] == s[5]:
  print('yes')
else:
  print('no')

Submission status: Wrong Answer

Solution code:
a = input()
if a[2] ==a[3]:
    print ("Yes")
else:
    print ("No")

Submission status: Wrong Answer

Solution code:
S = input()

if (S[2]==S[3]) and (S[4]==S[5]):
  print("Yes")
else:
  print("Np")

Submission status: Wrong Answer

Solution code:
inp = input()
print('Yes' if inp == 'coffee' else 'No')

Submission status: Wrong Answer

Solution code:
s=input()
if s[2]==[3] and s[4]==[5]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = input()
for i in range(len(s) - 1):
    if s[i] == s[i + 1]:
        judge = 'Yes'
        break
    judge = 'No'
print(judge)

Submission status: Wrong Answer

Solution code:


S = input()

if S[2] == S[3] or S[4] == S[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
N = input()
N = str(N)
if (N[2] == N[3]) and (N[4] == N[5]):
    print(True)
else:
    print(False)

Submission status: Wrong Answer

Solution code:
s = str(input())

if s[2:3] == s[3:4] or s[4:5] == s[5:6]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
import sys

def main():

    return

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
word = input()
print("yes") if(word[2] == word[3] and word[4] == word[5]) else print("No")

Submission status: Wrong Answer

Solution code:
word = input()
print("yes" if(word[2] == word[3] and word[4] == word[5]) else "No")

Submission status: Wrong Answer

Solution code:
word = input()
print("yes" if(word[2] == word[3] and word[4] == word[5]) else "No")

Submission status: Wrong Answer

Solution code:
s = input()
if len(s) == 6 and s.islower():
    if (s[2] == s[3] and s[4] == s[5]):
        print("yes")
    else:
        print("no")

Submission status: Wrong Answer

Solution code:
s = input("enter a string : ")
if len(s) == 6 and s.islower():
    if (s[2] == s[3] and s[4] == s[5]):
        print("Yes")
    else:
        print("No")
else:
    print("input 6 character long string")

Submission status: Wrong Answer

Solution code:
def coffee(s):
  if len(s) < 6:
    return False
  if s[2] == s[3] and s[4] == s[5]:
    return True
  else:
    return False
  
string = input()
print(coffee(string))

Submission status: Wrong Answer

Solution code:
S=input()
Sbara=list(S)
if Sbara[2]==Sbara[3] and Sbara[4]==Sbara[5]:
  print("yes")
else:
  print("no")

Submission status: Wrong Answer

Solution code:
s=input()
if s[2:3]==s[3:4] and s[4:5]==s[5:6]:
  print('Yes')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
coffee = input()
print("Yes") if coffee[2] == coffee[3] else print("No")

Submission status: Wrong Answer

Solution code:

coffee = input()
print("Yes") if coffee[3] == coffee[4] else print("No")

Submission status: Wrong Answer

Solution code:
s=input()
if s[-2]==s[-3] and s[-4]==s[-5]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s = str(input())
if(s[2] == s[3] and  s[4] == s[5]):
    print("yes")

else:
    print("no")

Submission status: Wrong Answer

Solution code:
# 文字列の読み込み
s = input()
a = list(s)
if a[2] == a[3] or a[4] == a[5]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
str = input()
if str[2] == str[3] and str[4] == str[5]:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
a = input()
if a[2] == a[3] and a[4] == a[5]:
  print("Yes")

Submission status: Wrong Answer

Solution code:
s = input()

if((s[2]==s[3]) and (s[4]==s[5])):
  	print("yes")
else:
	print("no")

Submission status: Wrong Answer

Solution code:
s=input()

if (s[2]==s[3] and s[4]==s[5]):
	print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
def JudgeCoffee(string):
    if(string[2] == string[3] and string[4] == string[5]):
        return True
    else:
        return False


def Main():
    #S = input()
    S = "sippuu"
    judge = JudgeCoffee(S)
    if(judge):
        print("Yes")
    else:
        print("No")
    

Main()

Submission status: Wrong Answer

Solution code:
s=input();print("YNeos"[s[2::3]<s[3:5]::2])

Submission status: Wrong Answer

Solution code:
S = str(input().lower())
if S[2]==S[3] and S[4]==S[5]:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
S = str(input())
if S[2]==S[3] and S[4]==S[5]:
    print("Yes")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
s.lower()

if s[2] == s[3] and s[4] == s[5]:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
str = input()
if(str[2]==str[3]):
  if(str[4]==str[5]):
    print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
S = input("")
if len(S)=='S':
    print("Yes")
else:
    if ((S[2]) == (S[3])):
        if ((S[4]) == (S[5])):
            if S.islower():
                print ("Yes")
            else:
                print ("No")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
S = input("")
if len(S)<6:
    print("If S is coffee-like, print 'Yes';")
else:
    if ((S[2]) == (S[3])):
        if ((S[4]) == (S[5])):
            if S.islower():
                print ("Yes")
            else:
                print ("No")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
S = input("")
if len(S)<6:
    print("If S is coffee-like, print Yes; otherwise, print No.")
else:
    if ((S[2]) == (S[3])):
        if ((S[4]) == (S[5])):
            if S.islower():
                print ("Yes")
            else:
                print ("No")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
S = input("")
if len(S)<6:
    print("If S is coffee-like, print Yes; otherwise, print No.")
else:
    if ((S[2]) == (S[3])):
        if ((S[4]) == (S[5])):
            print ("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
S = input(":")

if ((S[2]) == (S[3])):
    if ((S[4]) == (S[5])):
        print ("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = "sippuu"

if ((S[2]) == (S[3])):
    if ((S[4]) == (S[5])):
        print ("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
import collections
import itertools as it
import math
import numpy as np

#  = input()
#  = int(input())
#  = map(int, input().split())
#  = list(map(int, input().split()))
#  = [int(input()) for i in range(N)]
#
# c = collections.Counter()

Submission status: Wrong Answer

Solution code:
S = input()
if len(S) != 6 or S.lower() != S or S[2] != S[3] or S[4] != S[5]:
  print("No")
print("Yes")

Submission status: Wrong Answer

Solution code:
def str_input():
    string = input()
    n = len(string)
    return list(string[:n])

chars = str_input()

if len(chars) < 5:
    print('No')
else:
    if chars[2] == chars[3] and chars[4] == chars[5]:
        print('Yes')

Submission status: Wrong Answer

Solution code:
#S = 'coffee'

S = input('6文字の文字列を入力してください:')

if S[2] == S[3] and S[4] == S[5] :
  print('YES')
  
else :
  print('No')

Submission status: Wrong Answer

Solution code:
def main():
  x = input()
  if(x[2] == x[3]):
    if(x[4] == x[5]):
      print("Yes")
  else:
    print("No")
    
if __name__ == "__main__":
  main()

Submission status: Wrong Answer

Solution code:
def main():
  x = input()
  if(x[2] == x[3]):
    if(x[4] == x[5]):
      print("Yes")
  else:
    print("No")
    
if __name__ == 'main':
  main()

Submission status: Wrong Answer

Solution code:
input_a = input()

if input_a[2] == input_a[3]:
    if input_a[4] == input_a[5]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = input().strip('\n')
print('Yes' if S[2]==S[3] and S[4]==S[4] else 'No')

Submission status: Wrong Answer

Solution code:
a,b,c,d,e,f,=input()
if c==d and e==f:
  print("Yes")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
str = input().lower()
char_list = list(str[0:6])
if char_list[2] == char_list[3]:
    if char_list[4] == char_list[5]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
str = input().lower()
char_list = list(str)
if char_list[2] == char_list[3]:
    if char_list[4] == char_list[5]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
str = input()
char_list = list(str)
if char_list[2] == char_list[3]:
    if char_list[4] == char_list[5]:
        print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()

if s[2] == s[3] and s[4] == s[5]:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
n = input()

if n[2] == n[3] and n[4] == n[5]:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
n=str(input())
if n[2] == n[3] and n[4] == n[5]:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
data = input()

if data[2] == data[3] and data[4]==data[5]:
  print("Yes")
else:
  print("False")

Submission status: Wrong Answer

Solution code:

import time
time.sleep(1)
print("Yes")

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
s = input()
print(s[2]==s[3] and s[4]==s[5])

Submission status: Wrong Answer

Solution code:
S=input()
if S[2]==S[3] and S[4]==S[5]:
  print('yes')
else:
  print('no')

Submission status: Wrong Answer

Solution code:
s = input()

if s[2] == s[3] and s[2] == s[3]:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s = str(input("Enter a string: "))
if s[2] == s[3] and s[4] == s[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = str(input("Enter a string: "))

if s[2] == s[3] and s[4] == s[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = list(input())
if (s[2] == s[3] and s[4] == s[5]):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = list(input())
for i in s:
  if (s[2] == s[3] and s[4] == s[5]):
    print("YES")
  else:
    print("NO")

Submission status: Wrong Answer

Solution code:
s = input()
 
if s[2] == s[3]:
  if s[4] == s[5]:
    print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s = input().lower()
 
if s[2] == s[3]:
  if s[4] == s[5]:
    print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
s = input()
 
if s[2] == s[3]:
  if s[4] == s[5]:
    print('yes')
else:
  print('no')

Submission status: Wrong Answer

Solution code:
s = input().lower()

if s[2] == s[3]:
  if s[4] == s[5]:
    print('yes')
else:
  print('no')

Submission status: Wrong Answer

Solution code:
s=input()
if s[2]==s[3] and s[4]==[5]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s=input()
if s[2]==s[3] or s[4]==[5]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
ch=input()

if ch[2]==ch[3] and ch[4]==ch[5]:
  print("Yes")
print("No")

Submission status: Wrong Answer

Solution code:
def coffee(ar):
    
    if ar[3] == ar[4] and ar[5] == ar[6]:
      return 'Yes'
    else:
      return 'No'

if __name__ == '__main__':

    ar = str(input().split())

    result = coffee(ar)
    print(result)

Submission status: Wrong Answer

Solution code:
def coffee(x):
  for i in range(len(x)):
    if x[i+2] == x[i+3] and x[i+4] == x[i+5]:
      return 'Yes'
    else:
      return 'No'

Submission status: Wrong Answer

Solution code:
string = []

string = input('')

if string[2] == string[3] and string[4] == string[5]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
a=input()
if(a[3]==a[2] and a[4]==a[5]):
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
S = input() # 文字列
if S[2:] == "ffee":
    answer = "Yes"

else:
    answer = "No"

print(answer)

Submission status: Wrong Answer

Solution code:
S = input("Max len = 6 \n").lower()
if len(S)!=6:
    print("Len Error")
elif S[2]==S[3] and S[4]==S[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s=input();print(" YNeos"[s[2::3]in s::2])

Submission status: Wrong Answer

Solution code:
s = input()
if s[2]==s[3] and s[4]==s[5]:
    print("True")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
S = input()
if S[2]==S[3] and S[4]==S[5]:
    print('True')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()
if s[2]==s[3] and s[4]==s[5]:
  print("yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:

S = input()

if S[2] == S[3] and S[4]==S[5]:
    print('True')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
s = input()

if s[2] == s[3]:
  if s[4] == s[5]:
    print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
s = input()

if s[-1] == s[-2]:
  if s[-3] == s[-4]:
    print("Yes")
  print("No")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
def coffee_like(s):
      s=list(str(s))
      for i in range(0,len(s)):
            if s[i+2] == s[i+3] and s[i+4] == s[i+5]:
                  return 'Yes'
            else:
                  return 'No'

Submission status: Wrong Answer

Solution code:
s=input()
if s[2]==s[3] and s[4]==s[5]:
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
s=input()
if s[2]==s[3] and s[4]==s[5]:
    print('YES')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
print("6文字の英字を入力してください")
S=input()
if S[2]==S[3] and S[4]==S[5]:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
s = input()

if(s[2] == s[3], s[4] == s[5]):
  print("Yes")
 
else:
  print("No")

Submission status: Wrong Answer

Solution code:
string = input()
if len(string) < 6:
  print("No")
if string[2] == string[3] and string[4] == string[4]:
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
def coffee_like(s):
      for i in range(0,len(s)):
            if s[i+2] == s[i+3] and s[i+4] == s[i+5]:
                  return 'Yes'
            else:
                  return 'No'

Submission status: Wrong Answer

Solution code:
def coffee(s):
      if len(s) == 6:
            for i in range(0,len(s)):
                  if s[i+2] == s[i+3] and s[i+4] == s[i+5]:
                        return 'Yes'
                  else:
                        return 'No'
                    
print(coffee('COFFEE'))

Submission status: Wrong Answer

Solution code:
def coffee(s):
      if len(s) == 6 and s.lower():
            for i in range(0,len(s)):
                  if s[i+2] == s[i+3] and s[i+4] == s[i+5]:
                        return 'Yes'
                  else:
                        return 'No'

Submission status: Wrong Answer

Solution code:
def coffee(s):
      if len(s) == 6 and s.islower():
            for i in range(0,len(s)):
                  if s[i+2] == s[i+3] and s[i+4] == s[i+5]:
                        return 'Yes'
                  else:
                        return 'No'

Submission status: Wrong Answer

Solution code:
def coffee(s):
      if len(s) == 6 and s.islower():
            for i in range(0,len(s)):
                  if s[i+2] == s[i+3] and s[i+4] == s[i+5]:
                        return 'Yes'
                  else:
                        return 'No'
      else:
            return ''

Submission status: Wrong Answer

Solution code:
def coffee(string):
      if len(string) == 6 and string.islower():
            for i in range(0,len(string)):
                  if string[i+2] == string[i+3] and string[i+4] == string[i+5]:
                        return 'Yes'
                  else:
                        return 'No'

Submission status: Wrong Answer

Solution code:
def coffee(string):
      if len(string) == 6 and string.islower():
            for i in range(0,len(string)):
                  if string[i+2] == string[i+3] and string[i+4] == string[i+5]:
                        return 'Yes'
                  else:
                        return 'No'
      else:
            return 'False'
                    
print(coffee('COFFEE'))

Submission status: Wrong Answer

Solution code:
def coffee(string):
      if len(string) == 6 and string.lower():
            for i in range(0,len(string)):
                  if string[i+2] == string[i+3] and string[i+4] == string[i+5]:
                        return 'Yes'
                  else:
                        return 'No'
                    
print(coffee('COFFEE'))