Which condition is correct for an "ideal frictionless" machine?

work output = 0
work input = 0
work input = work output
work > work output