View Code of Problem 31


import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()) {
            long k = scanner.nextLong();
            System.out.println(23+105*(k-1));
        }

    }

}

Double click to view unformatted code.


Back to problem 31