waiting for two inputs

Use an empty while loop? You haven't really given much to go on there. Maybe it down and think for a minute. You're asking a bunch of professionals for help with something. You don't want to waste their time or they might not help. What might they need to know about what you want in order to help you?