public class test {
public static void main(String[] args){
java.util.Scanner es = new java.util.Scanner(System.in);
while(es.hasNext()){
double N = es.nextDouble();
double n = Math.abs(N); //先取絕對值
java.text.DecimalFormat def = new java.text.DecimalFormat("0.0000"); //用DecimalFormat決定小數格式,這可以強制補0
System.out.println("|"+def.format(N)+"|="+def.format(n));}
}}