it = find(v.begin(),v.end(),num);
//if not found it returns v.end();