Task: Program Execution
Input (English): B, o, M, Y, J, L, 8747, 2927
Output (English): 2, 15, 13, 25, 10, 12, 8747, 2927