def header_case(in_string):
    """
    Return in_string with each word longer than 2 letters capitalized

    Example:
        SCOTTIES TOURNAMENT OF HEARTS -> Scotties Tournament of Hearts
        women's world cup of curling -> Women's World Cup of Curling
    """
    parts = in_string.lower().split()
    out_string = " ".join([
        p.capitalize() if len(p) > 2 else p for p in parts])
    return out_string