def follow_card(card, deck_size, shuffles, shuffler):
    """Follow position of the card in deck of deck_size during shuffles."""
    position = card
    for shuffle, parameter in shuffles:
        shuffling = shuffler(shuffle)
        position = shuffling(deck_size, position, parameter)
    return position