from typing import Tuple


def seconds_to_dhms(x: int) -> Tuple[int, int, int, int]:
    """
    Returns days, hours, minutes, seconds converted from total seconds x.
    """

    s = x % 60
    m = (x // 60) % 60
    h = (x // 3600) % 24
    d = x // 86400
    return d, h, m, s