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