X ^ x = 27, how to solve this equation?

X ^ x = 27, how to solve this equation?

x^x=27
x^x=3^3
x=3