Task: Program Execution
Input (English): y, 9701, 7263, 81, W, z, h, 3847, 3187, 4825, 1365
Output (English): 1, 5, 6, 7