import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
{
Scanner in
= new Scanner
(System.
in); double S,s1,s2;
s1=(1.0/2.0)/(1.0-(1.0/2.0));
s2=(1.0/3.0)/(1.0-(1.0/3.0));
S=s1+s2;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJZG91YmxlIFMsczEsczI7CgkJczE9KDEuMC8yLjApLygxLjAtKDEuMC8yLjApKTsKCQlzMj0oMS4wLzMuMCkvKDEuMC0oMS4wLzMuMCkpOwoJCVM9czErczI7CgkJU3lzdGVtLm91dC5wcmludChTKTsKCX0KfQ==