/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.SimpleDateFormat;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
String strDate
= "2017-12-08";
System.
out.
print(newFormat.
format(oldFormat.
parse(strDate
))); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnRleHQuU2ltcGxlRGF0ZUZvcm1hdDsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkKCVN0cmluZyBzdHJEYXRlID0gIjIwMTctMTItMDgiOwoJU2ltcGxlRGF0ZUZvcm1hdCBvbGRGb3JtYXQgPSAgbmV3IFNpbXBsZURhdGVGb3JtYXQoInl5eXktTU0tZGQiKTsKCVNpbXBsZURhdGVGb3JtYXQgbmV3Rm9ybWF0ID0gbmV3IFNpbXBsZURhdGVGb3JtYXQoImRkL01NL3l5eXkiKTsKICAgIAoJU3lzdGVtLm91dC5wcmludChuZXdGb3JtYXQuZm9ybWF0KG9sZEZvcm1hdC5wYXJzZShzdHJEYXRlKSkpOwoJfQp9