Prashant kumar - R Cube Solution