public static void main(String[] args) {
        try {
            List<Box> boxes = readStdin();

            packAndPrint(boxes);

        } catch (Exception e) {
            System.out.println("Error");
        }
    }