====Input File==

12344

123 2344 Testing
Test 123455 Test1 78999 Test 897768

===Output File1 (Test) ===

12344

123 2344 Testing
Test 123455 Test 897768

===Output File1 (Test1) ===

12344

123 2344 Testing
Test1 78999