#!/usr/local/bin/perl -w

$i = 0;
while(<>) {

    chomp;
    $a[$i] = $_;
    if ( $i == 2 ) {
	print "@a", " \\", "\n";
        @a = ();
        $i = 0;
    }
    else {
      $i++;
    }

}

# to handle stragglers

if ($i != 0) {
	print "@a", "\n";
}
  

