look, it's very simple.
131 : 1+3+1=5 and 5!=120.
323: 3+2+3=8 and 8!=40320.
now, i hope you know what should be 727?
7+2+7=16 and your ans is 16!.
I hope you got it now..