import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Solution {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double payment = scanner.nextDouble();
        scanner.close();

        // Write your code here.

        System.out.println("US: " + us);
        System.out.println("India: " + india);
        System.out.println("China: " + china);
        System.out.println("France: " + france);
    }
}

@@ -1,22 +1,4 @@
-import java.io.*;%0A
 impo
@@ -36,54 +36,8 @@
 t.*;
-%0Aimport java.math.*;%0Aimport java.util.regex.*;
 %0A%0Apu
@@ -239,32 +239,355 @@
     
-// Write your code here.
+NumberFormat us = NumberFormat.getCurrencyInstance(Locale.US);%0A        Locale indiaLocale = new Locale(%22en%22, %22in%22);%0A        NumberFormat india = NumberFormat.getCurrencyInstance(indiaLocale);%0A        NumberFormat china = NumberFormat.getCurrencyInstance(Locale.CHINA);%0A        NumberFormat france = NumberFormat.getCurrencyInstance(Locale.FRANCE);
 %0A%0A  
@@ -622,16 +622,32 @@
 : %22 + us
+.format(payment)
 );%0A     
@@ -685,16 +685,32 @@
  + india
+.format(payment)
 );%0A     
@@ -748,16 +748,32 @@
  + china
+.format(payment)
 );%0A     
@@ -813,16 +813,32 @@
 + france
+.format(payment)
 );%0A    %7D

Solve currency format