import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); String a = sc.next(); HashMap set = new HashMap<>(); BigInteger ans = new BigInteger("1"); for(int i=1;i<=a.length();i++){ ans=ans.multiply(new BigInteger(i+"")); } for(int i=0;i