public class Relation{
  public int i;
  public int j;
  public int r;
}

