Who is Genius and Idiot- confused here?

A proud and confident genius makes a bet with an idiot.

The genius says,

“Hey idiot, I would ask you some questions. You gotta give me $5 per question if you don’t know the answer and if you ask me a question and I can’t answer I will give you $5,000.”

Idiot accepts the offer.

Genius asks,

“How many continents are there in the world?”

The idiot didn’t know the answer so he hands over $5.

“can I ask you a question” said the Idiot.

“Yes, sure”, said Genius

“what animal stands with two legs but sleeps with three?”

The genius didn’t know the answer. He gave $5000 to the Idiot and asked,

“Snap, I lost. By the way, what is the answer?”

The idiot hands over $5.