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