imagine that you are working in the cybersecurity department. There was a failure on one of the critical servers, and as a result of this, part of the data was damaged. The biggest problem & mdash; A unique numerical identifier of a secret object was spoiled. Now it is a chaotic set of letters, numbers and symbols. Fortunately, it is known that the numbers themselves have not changed and their order has been preserved.
rn
your task & mdash; Write a program that can "clean" the damaged line and restore the original numerical code. The program should take one line with damaged data and extract all the numbers from it, preserving their initial order.
rn
Requirements for implementation:
To solve only input/output, cycle & nbsp; for & nbsp; and conditional operator & nbsp; if . You do not need to open files or use complex functions for processing strings.
Input format
damaged data line containing numbers, letters and any other characters (string, string).
Output format
a restored numerical code consisting only of numbers found in the original line in the same order (line, string). If there were no numbers in the original line, the program should derive an empty line.
Hint
There will be no clue here, decide for yourself!