import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;

public class Test1Review {
	public static void main(String[] args) throws Exception {
		System.out.println(Math.pow(1.3, 7.3));
		System.out.println(Math.sqrt(163));
		System.out.println(Math.random()*8);
		for(int i = 0; i < 10; ++i) {
			System.out.print((int)(Math.random()*2) +" ");
			System.out.println((int)(Math.random()*2)+1);
		}
		String s = "abcdefef";
		int i = s.indexOf("e"); 
		String t = s.substring(3,5);
		System.out.println(i);
		System.out.println(t);
		
		//                       0
		//                       0.98745468416         
		System.out.println((int) Math.random());
		
		double x = Math.random();
		if(x < 0.5) {
			System.out.println(x + " is small");
		} else if (x < 0.8) {
			System.out.println(x + " is kind of big");
		} else {
			System.out.println(x + " is big");
		}
		System.out.println("done with "+x);
		
		File f = new File("Test1Review");
		Scanner input = new Scanner(f);
		while(input.hasNext()) {
			String dub = input.next();
			System.out.println(dub + " is OK by me");
		}
		
		
	}
}
