#abc160a. [abc160_a]Coffee

[abc160_a]Coffee

Problem Statement

A string of length 66 consisting of lowercase English letters is said to be coffee-like if and only if its 33-rd and 44-th characters are equal and its 55-th and 66-th characters are also equal.
Given a string SS, determine whether it is coffee-like.

Constraints

  • SS is a string of length 66 consisting of lowercase English letters.

Input

Input is given from Standard Input in the following format:

SS

Output

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


Sample Input 1

sippuu

Sample Output 1

Yes

In sippuu, the 33-rd and 44-th characters are equal, and the 55-th and 66-th characters are also equal.


Sample Input 2

iphone

Sample Output 2

No

Sample Input 3

coffee

Sample Output 3

Yes