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