var d,l:integer;
begin
readln(d,l);
write((d-1)*6+l);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var d,l:integer;
begin
readln(d,l);
write((d-1)*6+l);
end.