icpc2007dA Java Stream