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