#include <iostream>
#include <string>
using namespace std;
bool isb(char t)
{
bool f=false;
string dic="abcdefghijklmnopqrstuvwxyz1234567890";
for(int i=0;i<dic.size();i++)
if(dic[i]==t)
return !f;
return f;
}
int main()
{
string s;
int i=0;
getline(cin,s);
while(i<s.size())
{
if(isb(s[i]))
{
s.insert(i,1,s[i]);
i++;
}
i++;
}
cout<<s<<endl;
return 0;
}
Var
a:array[1..20] of integer;
i,max,c,nom:integer;
begin
max:=-100000000;
for i:=1 to 20 do begin
a[i]:=random(20)-10;
write(a[i],' ');
end;
for i:=1 to 20 do begin
if (a[i]<0) and (a[i]>max) then nom:=i;
if (a[i]<0) and (a[i]>max) then max:=a[i];
end;
writeln;
for i:=1 to 20 do begin
if i=nom then swap(a[nom],a[1]);
end;
for i:=1 to 20 do begin
write(a[i],' ');
end;
writeln('max=',max,');
<span>end.</span>
var a:array of longint;
i,c,x,n,k:longint;
begin
read(n); //длина массива
a:= new longint[n];
for i:=0 to n-1 do read(a[i]);
read(c);//некоторое число С
for i:=0 to n-1 do
if a[i]>c then
begin
k+=1;
x+=a[i]
end;
writeln(x/k);//ответ на первый пункт
k:=0;
x:=0;
for i:=0 to n-1 do
if i mod 2=0 then
begin
k+=1;
x+=a[i];
print(a[i])//второй пункт
end;
writeln;
write(x/k)// третий пункт
end.