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