Console app for Yoda problem