There are 6 baskets on the table. Each basket has 14, 5, 17, 9, 18 and 0 apples. Liam chose fourth, Matt chose second, John chose third, Emma chose sixth, Olivia chose first, and Sean chose fifth. How many apples did Matt and John choose in total?