algorithm => UVa => NWERC 2010