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