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