import java.util.*;enum C{C;System z;{for(Scanner s=new Scanner(z.in);s==s;z.out.println(~-s.nextInt()*~-s.nextInt()-1));}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page