import java.text.NumberFormat; import java.util.Locale; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Locale japan = new Locale("ja", "JP"); NumberFormat nfjp = NumberFormat.getInstance(japan); System.out.println(nfjp.format(n)); } }