Task: Program Execution
Input (English): 151, m, t, v, 307, 309
Output (English): 0, 1, 3, 5, 7, 9