solution =. <.&%: NB. Tests solution 10 27 85 101 NB. 3 5 9 10