Perimeter of rectangle

EOlymp - 7943