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