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