Task: Program Execution
Input (English): u, v, 289, 429, 299, 251, 147, m, s, j, j, j
Output (English): 1, 2, 4, 5, 7, 8, 9