def dottedDecimaltoDegrees(coordinate):
    """
    Converts dotted Decimal coordinate to a DMS

    :param float coordinate: dd coordinate to convert.
    :return: degrees, minutes, seconds
    :rtype: int, int, int
    """
    degrees = int(coordinate)
    md = abs(coordinate - degrees) * 60
    minutes = int(md)
    seconds = (md - minutes) * 60
    return (degrees, minutes, seconds)