ruby challenge assigned by SGE