import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
String imageData
= "data:image/jpeg;base64,SGVsbG8sIHdvcmxkIQ=="; imageData = imageData.replaceFirst("^data:image/[^;]*;base64,?","");
byte[] bytes = javax.xml.bind.DatatypeConverter.parseBase64Binary(imageData);
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU3RyaW5nIGltYWdlRGF0YSA9ICJkYXRhOmltYWdlL2pwZWc7YmFzZTY0LFNHVnNiRzhzSUhkdmNteGtJUT09IjsKCQlpbWFnZURhdGEgPSBpbWFnZURhdGEucmVwbGFjZUZpcnN0KCJeZGF0YTppbWFnZS9bXjtdKjtiYXNlNjQsPyIsIiIpOwoJCWJ5dGVbXSBieXRlcyA9IGphdmF4LnhtbC5iaW5kLkRhdGF0eXBlQ29udmVydGVyLnBhcnNlQmFzZTY0QmluYXJ5KGltYWdlRGF0YSk7CgkJU3lzdGVtLm91dC5wcmludGxuKG5ldyBTdHJpbmcoYnl0ZXMpKTsKCX0KfQ==