def gainFromId(allMedia, hashtag, id):
    """
    Print XP Gain from one post
    :param allMedia: All your Instagram posts
    :param hashtag: Specific hashtag for Yum4FIT
    :param id: ID of the media
    :return: XP Gain
    """
    summary = 0
    for post in allMedia:
        if post['caption'] != None and post['id'] == id:
            if hashtag in post['caption']['text']:
                likes_count = post['like_count']
                summary += int(likes_count)
    return summary
