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