Task: Program Execution
Input (English): 1687, 5047, 6157, 3077, 4133, 8143, m
Output (English): 1, 2, 3, 4, 5, 6