1. Read the infile
2. Store the even numbers
3. Create the outfile
4. Write the even numbers

Please show the code you have attempted so far.