Here there is an edge (u,v) if a male is a friend with a female
So, cycle should be like M-F-M-F-.......
But cycle of 1607 is a odd length cycle.
which could not be formed by M-F-M-F........ as it is a even length cycle.
Number of simple cycle should be 0