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