Attempt this one with python code
Problem Statement: Need to process an input string, accepted from STDIN. and find only all the numeric tokens that are present in the string. Consider tokens to be sequence of printable characters separated by space(s). (In numeric tokens all characters are digits) You need to build a new string which is of the form numeric_token1 numeric_token2 print this in ascending order. (A single space is the separator) (If no numeric tokens are found you need to print NONE FOUND) Input : We need to read a line from STDIN to extract the numeric tokens only Output : The string composed of number1 number2 in ascending order . Or NONE FOUND Test Cases: Input: hello hi 123 789 45 hi Output: 45 123 789 Input: 20 abc beg 90 67 Output: 20 67 90 Input: hi hello foo bar foo Output: NONE FOUND My attempt in python language https://code.sololearn.com/c46CVAEThQzk/?ref=app