Woohyun takes exams. Exam is Korean.
Each exam has a maximum score of . However, Woohyun's Korean score cannot exceed .
Find the maximum total score Woohyun can receive.
The input is given from Standard Input in the following format:
For each test case, print the maximum total score Woohyun can receive on one line.
Each case is given in the following format: