import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); System.out.printf("%1$,3d%n", stdin.nextInt()); } }