Ответ: #include <iostream>int main() {    char a;    unsigned int count = 0;     do     {    std::cin>>a;        if (a == ‘[‘ || a == ‘(‘ || a == ‘{‘) count ++;     } while (a != ‘.’);    std::cout<<count;}