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