Three children: Mark, Tom, Andy ate 23 cookies altogether. Tom ate more cookies than Andy, Mark. What is the smallest possible number of cookies that Tom ate?