Gapplet

Given a natural number m>1, determine the invertible elements of ZmZ and their inverses.

Input m