Task: Program Execution
Input (English): Y, 9053, 6411, 4355, 1065, H
Output (English): 4