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