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