Simple Input And Output In Prolog