Power of 3

What power of 27 is needed to get the correct power of 3?

Problem



What number needs to replace the 
Image
Power of 3
 as the power of 27, so that

$3^{2016}+9^{1008}+27$
Image
Power of 3
 $=3^{2017}$?

This problem is adapted from the World Mathematics Championships