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