def milliseconds_to_seconds(milliseconds: int):
    """
    Function that attempts to convert the passed in milliseconds into minutes and seconds

    Parameters
    ----------
    milliseconds: int
        milliseconds for conversion

    Returns
    -------
    int, int
        first integer as minute and the second as seconds
    """
    sec = int(milliseconds / 1000)
    mini = int(sec / 60)
    sec %= 60

    return mini, sec