NVIDIA Interview Question

find random number between 1 and 7