Minimum Operations to Collect Elements