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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/python3

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

s=sys.stdin.readline()

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

Submission status: Accepted

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

Submission status: Accepted

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

chars = str_input()


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

Submission status: Accepted

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

Submission status: Accepted

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

print('No')

Submission status: Accepted

Solution code:
S = input()

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

else :
  print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line = input().rstrip()

three = line[2]
four = line[3]

five = line[4]
six = line[5]

if three == four:
    if five == six:
        print("Yes")
    else:
        print("No")
else:
    print("No")

Submission status: Accepted

Solution code:
a,b,c,d,e,f = input()

if c == d and e == f:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
input_a = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

m3 = S[2]
m4 = S[3]
m5 = S[4]
m6 = S[5]

if m3 == m4 and m5 == m6:
  print('Yes')
  
else:
  print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# coding: utf-8
# import sys
# import pprint
# import numpy as np
# import code


if __debug__:
    debug = lambda *x: None
else:
    import logging
    logger = logging.getLogger()
    logger.setLevel(logging.DEBUG)
    ch = logging.StreamHandler()
    ch.setLevel(logging.DEBUG)
    formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
    ch.setFormatter(formatter)
    logger.addHandler(ch)
    debug = logger.debug

s = input()
debug(s[2])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
[a,b,c,d,e,f] = input()

if c == d and e == f:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()


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

Submission status: Accepted

Solution code:
S = [e for e in input()]


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

Solution code:
S = list(input())

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

else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = str(input())
flag_l =[False,False]
if n[2] == n[3]:
    flag_l[0] = True
if n[4] == n[5]:
    flag_l[1] = True
if all(flag_l):
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# S = input("文字列を記入*６文字：")
S = input()
if S[2] == S[3] and S[4] == S[5]:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:

s = input()

if len(s) < 5:
    print('No')

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

Submission status: Accepted

Solution code:
data = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
# A - Coffee
# https://atcoder.jp/contests/abc160/tasks/abc160_a

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
l = []
for i in S:
  l.append(i)
if l[2] == l[3] and l[4] == l[5]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


def quick_sort(arr):
    left = []
    right = []
    if len(arr) <= 1:
        return arr

    # データの状態に左右されないためにrandom.choice()を用いることもある。
    # ref = random.choice(arr)
    ref = arr[0]
    ref_count = 0

    for ele in arr:
        if ele < ref:
            left.append(ele)
        elif ele > ref:
            right.append(ele)
        else:
            ref_count += 1
    left = quick_sort(left)
    right = quick_sort(right)
    return left + [ref] * ref_count + right


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



      
# for i in range(10):
#     print(i)
#     if i%5==4:
#         break

Submission status: Accepted

Solution code:
S = input()
third = S[2]
fore = S[3]
five = S[4]
six = S[5]
if third==fore and five==six:
  print('Yes')
else:
  print('No')

Submission status: Accepted

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: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
b = []
for z in a:
  b.append(z)
if b[2]==b[3]:
  if b[4]==b[5]:
    print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

answer = "No"
if S[2] == S[3] and S[4] == S[5]:
  answer = "Yes"

print(answer)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
word = input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def judge(ex_str):
    if (ex_str[2] == ex_str[3]) and (ex_str[4] == ex_str[5]):
        print("Yes")
    else:
        print("No")

str_1 = input()
judge(str_1)

Submission status: Accepted

Solution code:
def coffee(word):
    ar = [char for char in word] 
    if (ar[2] == ar[3]) and (ar[4] == ar[5]):
      return 'Yes'
    else:
      return 'No'

if __name__ == '__main__':

    ar = str(input())

    result = coffee(ar)
    print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())


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

else:
  print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l=list(x for x in input())
if(l[2]==l[3] and l[4]==l[5]):
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
string = []

string = input('')

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input() # 文字列
if S[2] == S[3] and S[4]==S[5]:
    answer = "Yes"

else:
    answer = "No"

print(answer)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


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: Accepted

Solution code:
S = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()
if len(str)==6:

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

    else :
        print("No")
else:
    print("S is no 6")

Submission status: Accepted

Solution code:

S = str(input())
a= 'Yes'
b='No'
if S[3] is S[2] and S[4] is S[5]:
    print(a)
else:
    print(b)

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(map(str, input()))

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

Submission status: Accepted

Solution code:
S = input()
import sys

if S[2]==S[3]:
  if S[4]==S[5]:
    print('Yes')
    sys.exit()
print('No')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a=input()
if a[2]==a[3] and a[4] == a[5]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
list = []
for i in range(6):
  list.append(S[i])
if S[2] == S[3] and S[4] == S[5]:
  print("Yes")
else:
  print("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

s = sys.stdin.readline()
if s[2] == s[3] and s[4] == s[5]:
  sys.stdout.write("Yes")
else:
  sys.stdout.write("No")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
s = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    s = list(input())

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

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s=str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputs=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(string):
    return "Yes" if string[2] == string[3] and string[4] == string[5] else "No"


if __name__ == '__main__':
    import sys
    print(solve(sys.stdin.read().strip()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# get a integer
a = input()
# output
if len(a) == 6 and a[2] == a[3] and a[4] == a[5]:
    print('Yes')
else:
    print('No')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
string = input()

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

Submission status: Accepted

Solution code:
def solve(s):
    return "Yes" if ((s[2] == s[3]) and (s[4] == s[5])) else "No"
assert solve("sippuu") == "Yes"
assert solve("iphone") == "No"
assert solve("coffee") == "Yes"
s = input()
print(solve(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
def code():
    str=input()
    if str[2]==str[3] and str[4]==str[5]:
        print("Yes")
    else:
        print("No")
    
    

if __name__=='__main__':
    code()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
import sys

s = sys.stdin.readline().rstrip()

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

if __name__ ==  '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
st = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
resp = ""

my_string = input()


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

print(resp)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


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


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
s = input()
txt = 'No'

if s[2] == s[3] and s[4] == s[5]:
    txt = 'Yes'

print(txt)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Mon Mar 30 20:09:01 2020

@author: black
"""


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

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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