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