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