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