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