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