I think I'm missing something
package com.codegym.task.task18.task1820;
/*
Rounding numbers
*/
import java.io.*;
public class Solution
{
public static void main(String[] args) throws IOException
{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String file_1 = reader.readLine();
String file_2 = reader.readLine();
reader.close();
FileInputStream input = new FileInputStream(file_1);
FileOutputStream output = new FileOutputStream(file_2);
byte[] bytes = new byte[input.available()];
input.read(bytes);
String s = new String(bytes);
String[] strings = s.split(" ");
for(int i = 0; i < strings.length; i++)
{
output.write((int)Math.round(Double.parseDouble(strings[i])));
output.write(32);
}
input.close();
output.close();
}
}