class Ideone {
public static void main
(String[] args
) { int f = 1;
int c = 5;
while (c > 1) {
f *= c;
s += c + " x " ;
c--;
}
s += c;
System.
out.
println(s
+ " = " + f
); }
}
Y2xhc3MgSWRlb25lIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKQl7CgkgICAgaW50IGYgPSAxOyAKCSAgICBpbnQgYyA9IDU7IAoJICAgIFN0cmluZyBzID0gIiI7IAoJICAgIHdoaWxlIChjID4gMSkgeyAKCSAgICAgICAgZiAqPSBjOwogICAgICAgICAgICBzICs9IGMgKyAiIHggIiA7CgkgICAgICAgIGMtLTsKCSAgICB9CiAgICAgICAgcyArPSBjOwoJICAgIFN5c3RlbS5vdXQucHJpbnRsbihzICsgIiA9ICIgKyBmKTsKICAgIH0KfQ==