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