Pupils contributed some money to help needy people. They bought twenty four 2-kg packets of flour, thirty six 1-kg packets of flour and fifty kilogram bag of sugar. The flour was packed in 500 g packets and the sugar in 250 g packets. Hominy people got both a packet of flour and a packet of sugar?

amount of sugar = 24(2) or 48 kg

number of bags filled with sugar = 48/.5 = 96

amount of flour = 36(1) or 36 kg
number of bags filled with sugar = 36/.25 = 144

So 96 will get a bag of each

To determine how many hominy people received both a packet of flour and a packet of sugar, we need to calculate the total quantity of flour and sugar packets and then find the minimum number between the two.

Let's start by calculating the total number of flour packets.

They bought twenty-four 2-kg packets of flour, and each packet is packed in 500 g packets.

So, each 2-kg packet of flour contains (2000 g / 500 g) = 4 packets of flour.

Therefore, the total number of 500 g flour packets is (24 * 4) = 96 packets.

Similarly, for the 1-kg packets of flour, they bought thirty-six of them, and each packet is packed in 500 g packets.

So, each 1-kg packet of flour contains (1000 g / 500 g) = 2 packets of flour.

Therefore, the total number of 500 g flour packets from the 1-kg packets is (36 * 2) = 72 packets.

Next, let's calculate the total number of sugar packets.

They bought a 50 kg bag of sugar, and each packet is packed in 250 g packets.

So, each 50 kg bag of sugar contains (50,000 g / 250 g) = 200 packets of sugar.

Therefore, the total number of 250 g sugar packets is 200 packets.

Now, let's find the minimum between the total number of flour packets (96 + 72 = 168 packets) and the total number of sugar packets (200 packets).

The minimum number of packets that both flour and sugar can be given is the number of sugar packets, which is 200 packets.

Thus, a maximum of 200 hominy people got both a packet of flour and a packet of sugar.