/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
System.
out.
println(a
(91,
123)); }
public static int a(int b,int c){int e=0,f=0;for(;b<=c;f+=b*b++)e+=b;return e*e-f;}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwogCmltcG9ydCBqYXZhLnV0aWwuKjsKaW1wb3J0IGphdmEubGFuZy4qOwppbXBvcnQgamF2YS5pby4qOwogCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU3lzdGVtLm91dC5wcmludGxuKGEoNSwgOSkpOwoJCVN5c3RlbS5vdXQucHJpbnRsbihhKDkxLCAxMjMpKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oYSgxLCAxMCkpOwoJfQoJcHVibGljIHN0YXRpYyBpbnQgYShpbnQgYixpbnQgYyl7aW50IGU9MCxmPTA7Zm9yKDtiPD1jO2YrPWIqYisrKWUrPWI7cmV0dXJuIGUqZS1mO30KfQ==