How many $8$-character passwords contain at least one digit and at least one upper case letter? [closed]

I need to calculate the number of $8$-characters passwords which contain at least one digit and one upper case letter.

lower case letters $= 26$
upper case letters $= 26$
digits $= 10$


Hint: the total number of possible passwords without any restrictions is : $62^8$. The number of passwords that do not have upper case letter is $36^8$, the number of passwords that do not have a number is $52^8$, the number of passwords that only have lower case letters is $26^8$.