Two teachers, Ms. Ames and Mr. Betancourt, each had N cookies. Ms. Ames was able to give K cookies to each one of her 24 students, with none left over. Mr. Betancourt was also able to give S cookies to each one of his 18 students, with none left over. If N > 0, what is the value of N?
(1) N < 100
(2) N > 50