// editor4
import java.util.Scanner;
public class main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        if(a/b>>1) 
            System.out.print(a/b);
        else
            System.out.printf("%0.1f", a/b);
    }
}