#include #include using namespace std; int main(){ int n,m,s,t; cin>>n>>m>>s>>t; s--;t--; atcoder::mf_graph g(n); for (int i=0;i>u>>v>>c; u--;v--; g.add_edge(u,v,c); } cout<