import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input=new Scanner(System.in); Double result = input.nextDouble(); System.out.println((long)(result+0.5)); }}