Select the sentence in which legal is used as an adjective.
1)It is legal to wear green on March 17th.
2)He did not know that jay walking was not legal.
3)It is legal to jay walk.
4)He is a legal resident of the United States.