How to access input in a Runnable Thread?

a coin flip