import java.util.; import java.io.; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String str = null; while((str = in.readLine())!= null){ Double numd = Double.parseDouble(str); System.out.println((int)(numd + 0.5)); } } }