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