Apply the Collatz function starting from `n = 27`: if `n` is even, replace it with `n // 2`; if odd, replace it with `3n + 1`. Print the number of steps required to reach 1.