Given an string in roman no format (s) your task is to convert it to integer .
The first line of each test case contains the no of test cases T. Then T test cases follow. Each test case contains a string s denoting the roman no.
For each test case in a new line print the integer representation of roman number s.
1<=roman no range<4000
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.