def last_home_loss_road_win(games):
    """
    Given a list of games, returns the most recent home loss and road win.
    """    
    try:
        last_home_loss = games.filter(t1_game_type='H', t1_result='L')[0]
    except:
        last_home_loss = None
    try:
        last_road_win = games.filter(t1_game_type='A', t1_result='W')[0]
    except:
        last_road_win = None
    return last_home_loss, last_road_win