#include <iostream>
#include <string>
using namespace std;
int main() {
int s=0;
for (int i = -80; i < 81; i++) {
if (abs(i) % 2 > 0 and abs(i) % 7 == 0 and i != 0) {
s += abs(i);
}
cout << s ;
cout << endl ;
system("pause");
#include <iostream>
#include <string>
using namespace std;
int main() {
int s=0;
for (int i = -80; i < 81; i++) {
if (abs(i) % 2 > 0 and abs(i) % 7 == 0 and i != 0) {
s += abs(i);
}
}
cout << s ;
cout << endl ;
system("pause");
}