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