40% of the calories in a bag of chips come from fat. If 100 calories come from fat, how many calories does the whole bag of chips contain?