Picking out numbers

  • 10
  • Locked
Read 2 file names from the console.
Output to the second file all of the numbers from the first file.
Separate the numbers with a space.
Close the streams.

Example file content:
12 text var2 14 8v 1

Result:
12 14 1

You can't complete this task, because you're not signed in.