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