#!/usr/bin/rdmd
import std.stdio: stdin, lines, writeln;
import std.ascii: newline;
import std.conv: to;
import std.array: split;


void main()
{
   int[2] a;
   foreach (string line; lines(stdin))
   {
      if(line == newline) break;
         else
         {
            a = to!(int[])(split(line));
            writeln((a[0]+a[1]));
         }
   }
}