Task: Program Execution
Input (English): P, T, 6955, 7023, n, 169, 2077, H, h, d, m, 5517, 5427, M, F, g, 9673
Output (English): 3, 4, 6, 7, 12, 13, 17