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