J: cin for both floats and ints