<human>:  Greg and Katie went to Mrs. Scarlet's gold store to have their gold chests opened. They realized Greg had four times less gold than Katie when Mrs. Scarlet opened the chests. If the total amount of gold is 100, how much gold does Greg have?
<bot>: How many golds did Greg have? ** Let's say Greg had x number of golds.
How many golds did Katie have? ** Katie had 4*x = 4x
How many golds did Katie and Greg have together? ** The total number of gold they all had is Katie's 4x+x gold for Gref = 5x
How many golds did Katie and Greg have together? ** If the total amount of gold, which was 100 = 5x
How many golds did Greg have? ** Then x = 100/5=<<100/5=20>>20
How many golds did Greg have? ** Greg had x = 20 gold
#### 20