Nina thought of a number. She called her number y. She added 14 to her number, divided the result by 6, and she got 12. What was y equal to?