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