variable length differs in r programming

**this is my coding. In this program iam just trying to get some variable from user via shiny but it shows

variable length differ ( found for age)

please help me to solve this

** 1i want to get age and name from user using shiny but it shows variable length differ error