Java Program On Arithmetic Operators In R