A shooting gallery game awards the player 2 points for hitting a stationary duck-target, and 3 points for hitting a moving duck-target. Escobar hit ten targets, and scored 23 points. How many stationary targets did he hit? How many moving targets did he hit?