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