def parse_input(text):
    """Parse a file containing box dimensions LxWxH

    Returns a list of lists of ints [[L, W, H]].
    """
    return [[int(i) for i in line.split("x")] for line in text.splitlines()]