There's a group of 35 programmers. Among them, the median salary is $67,000 and the mean salary is $77,000. Calculate the mean and median in each of the following cases (individually, not consecutively).

a. The lowest paid programmer, whose salary is less than $47,000, gets a $20,000 raise. What is the new mean and new median?

b. The highest paid programmer gets a $20,000 raise. What is the new mean and median?

c. All programmers get a $20,000 raise. What is the new mean and median?

d. The two highest paid programmers each get a $40,000 raise (they threatened to leave and start their own company). What is the new mean and median?