The Image Stretched Twice as Wide
Time limit1sMemory limit512 MB
Check whether doubling every character of the first picture sideways produces the second picture.
- Level
Easy1 of 10
- Topics
- Implementation, String
- Solved
- No attempts yet
Problem

Jungwoo received two pictures, one meaning "뚊" and one meaning "돌돔" (a rock bream). Check whether the two pictures are the same picture. That is, given an image and an image, write a program that decides whether repeating every character of the first image twice in a row, which makes the image twice as wide, produces the second image.
Input
The first line contains and (). Each of the next lines contains the characters of one row of the first image. Each of the following lines contains the characters of one row of the second image. Every character is an uppercase or lowercase English letter, and an uppercase letter differs from its lowercase form.
Output
Print "Eyfa" if stretching the first image to twice its width gives the second image. Otherwise print "Not Eyfa".