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