Task: Program Execution
Input (English): 87, 7751, L, 4107, 9071, h, a
Output (English): 3, 6, 7