Prime Cryptarithm

Write a program that will find all solutions to the cryptarithm above
for any subset of digits from the set {1,2,3,4,5,6,7,8,9}