import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
import java.text.NumberFormat;
// The main method must be in a class named "Main".
class Main {
static String returnCurrency(Locale locale, double money){
NumberFormat formatter=NumberFormat.getCurrencyInstance(locale);
String currency=formatter.format(money);
return currency;
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double payment = scanner.nextDouble();
scanner.close();
// Write your code here.
NumberFormat formatter = NumberFormat.getCurrencyInstance(new Locale("en", "IN"));
String indiaMoney = formatter.format(payment);
System.out.println("US: " + returnCurrency(Locale.US, payment));
System.out.println("India: " + indiaMoney);
System.out.println("China: " + returnCurrency(Locale.CHINA, payment));
System.out.println("France: " + returnCurrency(Locale.FRANCE, payment));
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: