package codeup100; import java.util.Scanner; //ì ì¶ììë ë°ëì í´ëì¤ ì´ë¦ì Main ì¼ë¡ í ê² class c1019 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String date = sc.next(); sc.close(); String[] arr = date.split("\\."); int y = Integer.parseInt(arr[0]); int m = Integer.parseInt(arr[1]); int d = Integer.parseInt(arr[2]); System.out.printf("%04d.%02d.%02d", y, m, d); } }