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