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