Sophie couldn't remember the password she had chosen for her computer. She remembered that it consisted of the letters S, M, and B, but couldn't remember the order. How many ways are there to arrange the letters S, M, and B?