On the first day of a museum visit, 40% of visitors were children and 3/4 of adults were women. The ratio of children to men to women was found to be 8:3:9. On the second day, the number of children increased by 20% while the number of adults and total visitors remained the same, but the portion of women among adults fell to 3/5. Given there were 336 more children than women, the total number of visitors on the second day was calculated to be 3024.