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