prolog day 1