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