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