A bread company makes 9 types of bread. A restaurant chain ordered 497 loaves of each kind of bread. How many loaves of bread in total did the restaurant chain order?