Task: Program Execution
Input (English): Z, 4687, 803, 1571, 9115, 379
Output (English): 1