How do you get 30 lives in Contra?

Contra (NES) - Entering the code at the title screen (Up, Up, Down, Down, Left, Right, Left, Right, B, A, and Start) gives the player 30 lives.