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