LOBO is a letter writer and he is working in shop near post office. He has to write two types of letters which are:
You are to help him to save time. Given N number of letters, print the minimum number of hours he needs to put for combination of both the letters, so that no time is wasted.
The first line will contain T denoting number of test cases. Then T test cases follow . Each test case will have an integer N.
For each test case in a new line , print the minimum number of hours LOBO needs to write the combination of both the letters. If it is NOT possible, print "−1".
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.