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