import aoc

DAY = 1


def fuel_to_launch_mass(module_mass: int) -> int:
    """Calculate the fuel to launch a module of the given mass."""
    return max(module_mass // 3 - 2, 0)


def fuel_to_launch_mass_and_fuel(mass: int) -> int: