N is a 3-digit number which when divided by 3, 4, 5 successively leaves remainders 2, 1 and 3. How many values can N take?