Arrange the following three stars from hottest to coolest.

Star P = type B
Star Q = type K
Star R = type F

P, Q, R
R, Q, P
P, R, Q
Q, R, P