import java.io.IOException;
import java.io.InputStream;

class Main {
    //Stepik code: start
    public static int checkSumOfStream(InputStream inputStream) throws IOException {
        // your implementation here
        return 0;
    }
//Stepik code: end
}
