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