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