8, 24, 48, 120, (?)
Based on the first four integers, deduce what the next integer is.
Input
This problem contains only one test case. The input consists of four integers: 8, 24, 48, 120.
Output
Output a single line containing one integer representing the answer.
Examples
Input 1
8 24 48 120
Output 1
168