Let, A = {1,2,3,4,5}
B = {0,1,4,9,10,16,20,25,30}
C = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
f:A → B
f(a) = a2
g: B → C
$g(b)= \begin{cases}\sqrt{b} & \text { if } b \text { is a perfect } \\ b / 2 & \text { if } b \text { is not } a \text { square. }\end{cases}$
Find gof(a) ?