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