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