Find S Algorithm Using Mapreduce