from typing import Union


def calculate_bmi(mass: Union[int, float], height: Union[int, float]) -> Union[int, float]:
    """That func calculate body mass index(bmi)
        mass in kg
        height in m
    """
    return mass / (height ** 2)