This or That


Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 64M

Author:
Problem type
Allowed languages
Python3

In this task, you are required to determine whether a given input is a string or integer.

Input Specification

The first line will contain a single integer \(N\) (\(1 < N < 100\)), which is the number of test cases.

The next \(N\) lines will each contain a single entry, of either string, or int type. Note that numbers with comma should be considered as str instead of int. Note also, that empty lines should be treated as str.

Output Specification

Your output should contain \(N\) lines of either str or int.

Sample Input 1

9
1+1
5678
Hello world
-1231

Yes my dear
1,000,000
Summilux
?????

Sample Output 1

str
int
str
int
str
str
str
str
str

Comments

There are no comments at the moment.