結果 : java using scanner to read input