begin
var s := ReadlnString();
if s.Length.IsOdd then
Write(s[(1 + s.Length) div 2])
else
Write(s[s.Length div 2], s[s.Length div 2 + 1])
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
begin
var s := ReadlnString();
if s.Length.IsOdd then
Write(s[(1 + s.Length) div 2])
else
Write(s[s.Length div 2], s[s.Length div 2 + 1])
end.