START LG
   If user is not root
      PUT bad user
      EXIT
   ENDIF
   IF no args
      PUT bad input
      EXIT
   ENDIF
   FOR each argument
      IF account is not valid 
         PUT bad account
      ELSE
         READ groups
         PUT groups
      ENDIF
   END FOR
END LG
