submit factorial