Java Program Input And Output Definition In Algorithm For 2x2