Connecting keyboard back to my iMac?

I'm currently using my iMac keyboard for my iPhone because a) I thought it would be cool and b) i needed an essay written and I wanted to sit any where I wanted. But my Imac has a password and there are no keyboards connected. I do not have a USB keyboard.Am i SOL or can it be fixed? I can't imagine I'm the only one who has this problem.

If you've got an old usb keyboard (can be from a windows pc) plug it into your imac and go from there, otherwise, you could probably find a usb keyboard from a local general Store for about $5, and then return it (as they are generally packaged in a resealable box without plastic wrapping.