12 flowers were planted in a row, and after that between each two flowers was planted one more flower. Then, the same pattern was repeated four more times. In total, how many flowers have been planted ?