Split into multiples of 7 by dc

import java.math.*;enum c{c;System s;int i,l;BigInteger g;{for(String f,p=new java.util.Scanner(s.in).next();i<++l;)if(new BigInteger(f=p.substring(i,l)).mod(g.valueOf(7))==g.ZERO){s.out.println(f);i=l;}}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)


return to the top page