def get_day_hour_min_sec_str(duration_in_s):
    """
    Return a string representing the duration in days, hours, minutes and seconds of the input value duration_in_s

    :param duration_in_s: Duration in seconds
    :return:
    """
    return "{:d}d {:d}h {:d}m {:d}s".format(int(duration_in_s / (24 * 3600)), int(duration_in_s / 3600),
                                            int(duration_in_s / 60), int(duration_in_s % 60))