Task: Question Answering
Input (English): What is the next term in 2, 24, 64, 128, 222, 352, 524, 744?
Output (English): 1018