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