Work in NJ, live in NY, how to answer "Did you earn all of your wages in New Jersey?"

Work in NJ, live in NY for the whole year, how to answer "Did you earn all of your wages in New Jersey?"

 

Should it be Yes? or No and enter 0 for the amount earned in NJ?