#!ruby -n $_.to_i.step(n=1,-$_.count('!')){|i|n*=i} p n