Task: Program Execution
Input (English): x, 31, 357, 155, y, 347, 13, 443, 293, 413, y, 137
Output (English): 1, 2, 3, 4, 5, 7, 9