Determine the number of three-digit numbers such that:
- The number formed by the first two digits is prime.
- The number formed by the last two digits is prime.

Let's think step by step and output the final answer within \boxed{}.
user