#include <stdio.h>
int main()
{
double p=1;
double a=1;
for (int i=2; i<=10; i++)
{
a*=i;
p*=(1.0-1.0/a)*(1.0-1.0/a);
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIAp7Cglkb3VibGUgcD0xOwoJZG91YmxlIGE9MTsKCWZvciAoaW50IGk9MjsgaTw9MTA7IGkrKykKCXsKCQlhKj1pOwoJCXAqPSgxLjAtMS4wL2EpKigxLjAtMS4wL2EpOwoJfQoJcHJpbnRmKCJwPSAlMC40bGYiLCBwKTsKCXJldHVybiAwOwp9Cg==