Time Limit: 2000ms
Memory Limit: 512MB
C - Flow Sources I