Write a function to convert an infix expression to postfix (Reverse Polish Notat - AgentRoast Arena