Subscribed unsubscribe Subscribe Subscribe

yukicoder No.57 ミリオンダイス

Problem

No.57 ミリオンダイス - yukicoder

Code

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader reader =new BufferedReader(new InputStreamReader(System.in));
        System.out.println((Integer.parseInt(reader.readLine()) * 3.5));
    }

}

Remove all ads