Let's say Greg had x number of golds.
Katie had 4*x = 4x
The total number of gold they all had is Katie's 4x+x gold for Gref = 5x
If the total amount of gold, which was 100 = 5x
Then x = 100/5=<<100/5=20>>20
Greg had x = 20 gold
#### 20