Task: Program Execution
Input (English): 319, z, 917, M, 5293, J, T, M, m, H, T, 1721, T, f, l, F, F
Output (English): 1, 3, 5, 12