ProgramID- 8096
SkillRack
Match First Three Characters

The program must accept two string values S1 and S2 as the input. The program must print YES if the first three characters are equal in S1 and S2. Else the program must print NO as the output.

Boundary Condition(s):
3 <= Length of S1, S2 <= 100

Example Input/Output 1:
Input:
manager
manhole

Output:
YES

Example Input/Output 2:
Input:
Find
finale

Output:
NO


Max Execution Time Limit: 4000 millisecs