A farmer has 3069 grapes. If he decides to put 33 grapes in each bag, he will have a certain number of bags. However, the farmer eats 13 bags of grapes and also gives away 50 bags of grapes. How many bags of grapes does the farmer have left?