Task: Program Execution
Input (English): 2, 21, ['355', '6703', 'H', 'N', '8337', '7715', '5017', 'O', 'H', '4583', '5209', '4013', 's', '3563', 'z', 'p', 'K', '5631', 'G', 'B', '8933', '6565', '4965', 'D', 'c', '6315']
Output (English): 3398BG1365Kpz3653s310490253854HO710551777338NH3076