What are the largest and smallest 5-digit numbers that satisfy the following conditions?

A. Each digit of the number is a prime digit.

B. Each successive pair of digits forms a 2-digit number that is NOT a prime number.

C. Each of the prime digits must appear at least once in the 5-digit number.