After dividing a positive integer, Y, by 3, the remainder is 2, but when Y is divided by 7, the remainder is 4. What is the least possible value of Y?