def getTypeOfHourDay(x):
    """
    This function returns a string representation of the type of hour of day
    :param x: int value of hour
    :return: string representation of the type of hour of day
    """
    hour = int(x.split('.')[0])
    if hour >= 0 and hour <= 5:
        return 'Early Morning'
    elif hour >= 6 and hour <= 11:
        return 'Morning'
    elif hour >= 12 and hour <= 14:
        return 'Early Afternoon'
    elif hour >= 15 and hour <= 17:
        return 'Afternoon'
    elif hour >= 18 and hour <= 19:
        return 'Early Evening'
    elif hour >= 20 and hour <= 23:
        return 'Night'