import java.io.*; import java.util.*; import java.util.stream.*; // 処理 final class Process { private final String S; Process(final String S) { this.S = S; } // 結果を出力 final void printResult(final PrintWriter printWriter) throws IOException { final int[] numbers = Stream.of(S.split("/")).mapToInt(Integer::parseInt).toArray(); final int correctCount = numbers[0]; final int questionCount = numbers[1]; printWriter.println((double)correctCount / questionCount); } } public class Main { public static void main(final String[] args) throws IOException { final BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); final PrintWriter printWriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); // 入力 final String S = bufferedReader.readLine().trim(); // Process クラスで処理を行う final Process process = new Process(S); process.printResult(printWriter); // 各ストリームを閉じる // 出力ストリームを閉じるときに標準出力に文字を出力する bufferedReader.close(); printWriter.close(); } }