<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
</body>
<script>
var n=0;
for(var i=1;i<=100;i++){
n+=i;
}
document.write(n);
document.write("<br>");
var c='';
for(var b=1;b<=100;b++){
c=c+b+(b==100?'':"+");
}
document.write(c);
document.write("<br>");
m=0;
for(var a=1;a<=100;a++){
c=c+a+(a==100?'':"+");
m+=a;
}
document.write(c+"="+m);
</script>
</html>