diff --git a/buggy.py b/buggy.py
--- a/buggy.py
+++ b/buggy.py
@@ -197,7 +197,7 @@
     gf = FordFulkerson(edges, S, T, T, len(edges))
     flow = gf.getMaxFlow()
     # print(res, flow)
-    print(res - flow)
+    return res - flow
 
 
 for _ in range(1):
