Var s:string;
begin
readln(s);
if odd(length(s)) then delete(s,length(s) div 2+1,1)
else delete(s,length(s) div 2,2);
writeln(s)
<span>end.</span>
#include <iostream>
int main() { char a; unsigned int count = 0; do { std::cin>>a; if (a == '[' || a == '(' || a == '{') count ++; } while (a != '.'); std::cout<<count;}
Дизъюнкция, дизъюнкция, конъюнкция