Simple Java Program Input Output Math