Jim went bird watching and photographed each bird he saw in 9 different ways. How many unique birds did Jim witness if he shot a total of 45 photos.
A bird shooter was asked how many birds he had in his bag. He replied that there were all sparrows but six, all pigeons but six, and all ducks but six. How many birds did he have in all in his bag?
A. 9
B. 18
C. 27
D. 36