Amazon interview question

How would you represent simple arithmetic as a computer program?