<human>:  Paityn has 20 red hats and 24 blue hats. Her friend Zola has 4/5 times as many red hats as she has and twice the number of blue hats. If they combine all the hats together and share them equally between themselves, calculate the number of hats each gets.
<bot>: How many hats does Paityn have? ** Paityn has a total of 20 hats + 24 hats = <<20+24=44>>44 hats.
How many red hats does Zola have? ** The number of red hats that Zola has is 4/5 * 20 hats = <<4/5*20=16>>16 hats
How many blue hats does Zola have? ** Zola also has 2 * 24 hats = <<2*24=48>>48 blue hats.
How many hats does Zola have? ** Zola has a total of 48 hats + 16 hats = <<48+16=64>>64 hats.
How many hats do they have together? ** When they combine their hats, they have 64 hats + 44 hats = <<64+44=108>>108 hats
How many hats does each person get? ** If they share the hats equally, each get 108 hats / 2 people = <<108/2=54>>54 hats/person
#### 54