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