#!/usr/bin/python2 # -*- coding: utf-8 -*- # † p, q = map(float, raw_input().split()) p /= 100 q /= 100 nume = p * q deno = p * q + (1-p) * (1-q) res = nume / deno * 100 print res