Task: Program Execution
Input (English): [4, 13, 7, 6, 12, 8, 3, 1]
Output (English): [157248, 48384, 89856, 104832, 52416, 78624, 209664, 628992]