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