added solution for FrogRiverOne with 100% correctnes but 33% performance. Need to improve it :-)