John had fewer than 14 chocolate packets.Each packet had 15 pieces.He gave a few packets to friends and gave equal number of chocolate pieces to each of his 38 pupils, had 6 pieces left.What was the greatest number of chocolates he gave his friends?
valid question