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