ok, I need help on this P6 problem. No simultaneous equations pls.

There are several red balls and white balls on the table.

If 1 red ball and 1 white ball are removed together each time until no red balls are left on the table, then the number of remaining white balls is 50.

if 1 red ball and 3 white balls are removed together each time until no white balls are left on the table, then the number of remaining red balls is also 50.

Find the total number of red balls and white balls at first.

Many thanks in advance!