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