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