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