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