def atLeastGate(argumentValues,k):
  """
    Method that evaluates the ATLEAST gate
    @ In, argumentValues, list, list of values
    @ In, k, float, max number of allowed events
    @ Out, outcome, float, calculated outcome of the gate
  """
  if argumentValues.count(1) >= k:
    outcome = 1
  else:
    outcome = 0
  return outcome