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