import math


def calculate_fuel_requirement(mass):
    """Calculates the fuel requirement
    based on the given mass. (Part 1)

    Parameters:
    mass (int): mass of the module

    Returns:
    int:Fuel required

    """
    return math.floor(mass / 3) - 2