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

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

/**
 *
 * @author georgemavroidis
 */
public class dwite2 {

    public static void main(String[] args) throws IOException {
        FileReader inFile = new FileReader("DATA2.txt");
        FileWriter outFile = new FileWriter("OUT2.TXT");
        Scanner scan = new Scanner(inFile);
        for (int i = 0; i < 5; i++) {
            int num = scan.nextInt();
            int ans = num;
            for (int l = 1; l < num; l++) {
                if (l % 2 == 0) {
                    ans++;
                }
            }
            outFile.write(ans+"\n");
        }

        inFile.close();
        outFile.close();
    }
}

