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