/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
//package questionthree;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

/**
 *
 * @author peterharquail
 */
public class QuestionThree {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException, IOException {
        FileReader infile = new FileReader("DATA3.txt");
        FileWriter outfile = new FileWriter("OUT3.txt");
        Scanner scan = new Scanner(infile);
        
        for(int k = 0; k<5;k++){

        int num;
        num = scan.nextInt();
        num += 2;
        outfile.write("" + num + "\r\n");
        System.out.print("k");
        }
        
        
        outfile.close();
        
        
    }
}

