import java.util.Scanner;
class ML36
{
public static void main
(String[] args
) {
double v, u, s, t;
double inf
= Double.
POSITIVE_INFINITY; Scanner scanner
= new Scanner
(System.
in);
v = scanner.nextDouble();
u = scanner.nextDouble();
s = scanner.nextDouble();
t = (v>=u) ? s/(v+u) + s/(v-u) : inf;
}
}
aW1wb3J0IGphdmEudXRpbC5TY2FubmVyOwoKY2xhc3MgTUwzNgp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykKCXsKCQlkb3VibGUgdiwgdSwgcywgdDsKCQlkb3VibGUgaW5mID0gRG91YmxlLlBPU0lUSVZFX0lORklOSVRZOwoJCVNjYW5uZXIgc2Nhbm5lciA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJCgkJdiA9IHNjYW5uZXIubmV4dERvdWJsZSgpOwoJCXUgPSBzY2FubmVyLm5leHREb3VibGUoKTsKCQlzID0gc2Nhbm5lci5uZXh0RG91YmxlKCk7CgkJCgkJdCA9ICh2Pj11KSA/IHMvKHYrdSkgKyBzLyh2LXUpIDogaW5mOwoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbih0KTsKCX0KfQ==