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