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