CAYLEY 2022 Problem 23

Andreas, Boyu, Callista, and Diane each randomly choose an integer from 1 to 9, inclusive. Each of their choices is independent of the other integers chosen and the same integer can be chosen by more than one person. The probability that the sum of their four integers is even is equal to \frac{N}{6561} for some positive integer N. What is the sum of the squares of the digits of N?