Given a string, the task is to extract all the integers from it.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains a string S as input.
For each test case, print all the integers with one space, if the string does not contain any integers, print "No Integers".
geeksforgeeks 12 23 practice
1: Prakhar Agrawal, 2: Manish Kumar Rai, 3: Rishabh Gupta
1 2 3