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