input: Write a function to print all elements greater than 50 from the given list of numbers. If the list is empty, print "No numbers to check". Update the function signature based on this requirement.
  
  Input:
  
  nums = [2, 60, 5, 4, 78, 32, 99]
  
  
  Output:
  
  60
  78
  99
  
output: def print_elements_greater_than_50(nums):
      if not nums:
          print("No numbers to check")
      else:
          for num in nums:
              if num > 50:
                  print(num)