def transform_play_to_column(play):
    """Return position of the column where the play was made.

    Parameters:
    play         (int): bit board representation of a piece

    Returns:
    int : column position"""

    return [2 ** i for i in range(49)].index(play) // 7