FrogJmp solution