Task: Program Execution
Input (English): r, 6627, i, b, Z, w, w, 7317, g
Output (English): 2