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