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