ProgramID- 8098
SkillRack
Same Numerator or Denominator

The program must accept two fractions as the input. Then the program must print yes as the output if the numerators of two fractions are equal or the denominators of two fractions are equal. Else the program must print no as the output.

Example Input/Output:
Input:
1/2 3/2

Output:
yes


Max Execution Time Limit: 4000 millisecs