The number of chocolates bought by Alex is 14 of the number of sweets he bought. He gave 4 chocolates and 3 sweets to each of his friends, after which he had 10 chocolates and 79 sweets left. How many sweets did Alex buy?