Task: Program Execution
Input (English): 7721, 1227, 6177, 7607, 459, z, 5623, N
Output (English): 2