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