There were 38 bales of hay in the barn. Dan stacked more bales in the barn today. There are now 63 bales of hay in the barn. How many bales did he store in the barn?