import gen.*;
import edu.neu.ccs.demeterf.*;

public class Main {
  public static void p(String s){ System.out.print(s); }
  public static void main(String args[]) throws Exception {
    TestNetworkFlow start = TestNetworkFlow.parse(System.in); 
    // some sample functionality
    p(start.display() + "\n");
    p(start.print() + "\n");
    p(start.toStr() + "\n");
    System.out.println(start.equals(start));
  }
}



