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