import numpy as np 

def gen_combinations( N, R ) : 
  allcombinations = [] 
  # Your code to generate all the combinations goes in here.
  return allcombinations
  

# This allows you to test your function
print( gen_combinations( 5, 3) )
