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