mulitpication subtract and add in java