program pr1;
begin
writeln(5);
writeln(10);
write(21);
end.
