Read input for 1106
Implemeted bsf for search biparate graph