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