Luis has 7 apples and 2 bananas. He gives 2 apples to Yuri who, in return, gives bananas to Luis. Then Luis has as many apples as bananas. How many bananas did Yuri give to Luis? Let's think step by step and output the final answer within \boxed{}.
user