Understanding connection of inputs and outputs of digital circuits - voltage and currents requirements
If this is an actual project you can see the maximum logic high input voltage of the component in their datasheet.

But since this is a theoretical question from a homework then i will just point you to the right direction. Look for voltage clipping and you should have your answer.