A rectangle has a length of 16 inches more than three times its height. If the perimeter of a rectangle is 504 inches, find its dimensions.
The length equals ___ inches and the height equals ___ inches.