Console infix calculator