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