import java.io.*;
import java.util.*;

public class Main{
    public static void main(String[] args) throws Exception{
        Scanner sc = new Scanner(System.in);
       while(sc.hasNextDouble()){
            double s = sc.nextDouble();
            System.out.println(Math.round(s));
       }
    }
}