The ratio of aaa to bbb is 5:45:45:4, the ratio of ccc to ddd is 2:12:12:1, and the ratio of ddd to bbb is 1:81:81:8. What is the ratio of aaa to ccc?