题解: 直接使用Math.round

import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        float c = sc.nextFloat();
        
             System.out.println(Math.round(c));
        
    }
}