>>457
import java.io.*;
import java.net.URL;
public class Res457 {
public static void main(String[] args) throws IOException {
InputStream in = null;
BufferedOutputStream out = null;
try {
in = new URL("http://i.yimg.jp/images/mht/2006/0401_10_f.gif";).openStream();
out = new BufferedOutputStream(new FileOutputStream("0401_10_f.gif"));
byte[] buf = new byte[4096];
int n;
while ((n = in.read(buf)) != -1) {
out.write(buf, 0, n);
}
} finally {
out.flush();
out.close();
in.close();
}
}
}