Java Program Input And Output Definition In Algorithm For Binary