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