I've got this assignment to be completed. Kindly help:

A kid was asked to simplify 26/65. He simply cancelled tenchnique produced result 26/65 = 2/5 (Cancellation of 6)

Write a program to determine all fractions with two digit numertors and denominators for which the kid's technique work correctly.

Having a tough time to solve this example.