You have a string made of numbers. Your task is to keep only the number '2' from the string and remove everything else, then show the new string with only '2's in the same order they appeared.
Input: '20250222'
'20250222'
Output: 22222
22222
Input: '2'
'2'
Output: 2
2