N is a positive integer. When N is divided by 3, the remainder is 2. When N is divided by 4, the remainder is 1. What is the remainder when N is divided by 12?

As follows: