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