Extremely small changes in IO handling... basically add $ and > signs to input and output respectively