Mary must choose a new password where the first and last choices are possibly repeated lowercase letters; the second and third positions must be distinct uppercase letters; the fourth position must be a #, $, or & symbol; and the next three positions are distinct nonzero digits. In how many ways can she choose a password?