Task: Program Execution
Input (English): 7147, j, Q, M
Output (English): Alphabets Win