Task: Program Execution
Input (English): S, R, c, 987, G, 1359, g, 257, 4655, H, 9167, 2011, 45, A, Y, 5385, 6857
Output (English): 4, 6, 8, 9, 11, 12, 13, 16, 17