Task: Program Execution
Input (English): [49, 378, 3973, 1390, 18, 87, 2, 19, 61, 784]
Output (English): [64, 256, 4096, 1024, 16, 64, 2, 16, 64, 1024]