import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long A = sc.nextLong(); long B = sc.nextLong(); print(A/B + "."); A = A - A/B*B; for(int i=0; i<50; i++) { A = A*10; int result = (int) (A/B); print(result); A = A - result*B; } } public static void print(Object o) { System.out.print(o); } public static void println(Object o) { System.out.println(o); } }