Zhang Fan has 60 denominations of ten yuan, five yuan and two yuan, with a total value of 350 yuan. The total value of two yuan and five yuan is 130 yuan. How many are there in each of the three denominations

Zhang Fan has 60 denominations of ten yuan, five yuan and two yuan, with a total value of 350 yuan. The total value of two yuan and five yuan is 130 yuan. How many are there in each of the three denominations

There are (350-130) / 10 for ten yuan = 22, and there are 38 for two yuan and five yuan
Let X be binary and y be five
x+y=38
2x+5y=130
x=20,y=18
Excuse me, I'm on a mission,