Task: Program Execution
Input (English): 4307, a, B, 6519, z, K, 3775, 1091, 7897, 1355, 7861, J, j, m
Output (English): 4307, 6519, 3775, 1091, 7897, 1355, 7861