James ate 22 carrot sticks before dinner and 15 more after dinner. How many carrot sticks did he eat?