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