Deriving log 9 from log 27

Company: Ion Group - Hackerrank_17thjuly

Difficulty: easy