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