結果 : how to take binary string input in java