The man kept half of the 100 dollars, which is 50 dollars. He gave 1/4 of the remaining 50 dollars to someone else, which is 12.5 dollars. He then gave 1/5 of the remaining 37.5 dollars to someone else, which is 7.5 dollars. The man put the rest in savings, which is 30 dollars. Therefore, he gave away a total of 20 dollars.