Active Network interview question

Given an function that return a random number from 0 to 5, implement a function returning a random number from 0 to 7.