View Code of Problem 31

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

Double click to view unformatted code.


Back to problem 31