def printTime(t):
    """
    Takes time in seconds, and print in the output in human friendly format (DD:hh:mm:ss)
    """
    t = round(t)
    if t < 60:
        return ("%d seconds" %t), (0, 0, 0, t)
    else:
        m = int(t/60)
        s = t%60
        if (m < 60) & (m > 1):
            return ("%d minutes, %d seconds" %(m, s)), (0, 0, m ,s)
        elif m == 1:
            return ("%d minute, %d seconds" %(m, s)), (0, 0, m ,s)
        else:
            h = int(m/60)
            m = m%60
            if (h < 24) & (h > 1):
                return ("%d hours, %d minutes, %d seconds" %(h, m, s)), (0, h, m ,s)
            elif h == 1:
                return ("%d hour, %d minutes, %d seconds" %(h, m, s)), (0, h, m ,s)
            else:
                d = int(h/24)
                h = h%24
                if d > 1:
                    return ("%d days, %d hours, %d minutes, %d seconds" %(d, h, m, s)), (d, h, m ,s)
                else:
                    return ("%d day, %d hour, %d minutes, %d seconds" %(d, h, m, s)), (d, h, m ,s)