A total of $10,000 is distributed among 150 persons as gift, a gift is either of $50 or $100 find the number of gift of each type.​