Euler 16 in RB and JS