Task: Program Execution
Input (English): r, R, S, m, 4003, 5565, k, g, e, 8021, 3629, 5521, L, 7183, 5561
Output (English): 5, 6, 10, 11, 12, 14, 15