You are given with a string which comprises of some numbers. Your task is to find the largest integer by converting the string to the corresponding integer.
Input Description:
First line contains n denoting number of Test Cases. The first and only Line of testcase has the string
Output Description:
Print the largest number
Code

Input:
India got independence on 15 august 1947. But they were fighting for it for last 90 years.
Expected Output:
1947
Actual Output:
90
Why I am not getting expected output?