Gapplet

Given a permutation a, its sign is determined.

Input a 
 
 
Its sign is