Use a block diagram to sketch the implementation of a function f defined for all $w_1,w_2,w_3\in \{1\}^+$ by
$f(w_1,w_2,w_3) = i,$
where $i$ is such that $|w_i| = \text{max}(|w_1|,|w_2|,|w_3|)$ if no two $w’s$ have the same length, and $i=0$ otherwise.