a = (" 10 20 45 16 70 20 ")
b = a.strip().split()
print(b)
c0 = int(b[2])
c1 = int(b[3])
c2 = c0 + c1
print(c2)
input("\n Для продолжения нажмите Enter")
#include<iostream>
#include<sstream>
#include<string>
#include<vector>
#include<algorithm>
#include<iterator>
using namespace std;
int main()
{
string s = "10 20 30 50 99 786 521 3";
istringstream is(s);
vector<int> c;
copy(istream_iterator<int>(is), {}, back_inserter(c));
for(int i : c)
{
cout << i << ' ';
}
int j = c[1] + c[2];
cout << "j == " << j;
}