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