import java.util.*; import java.io.*; public class Driver { public static void main(String[] args){ For f = new For(); Practice p = new Practice(); System.out.println(f.diag(6)); System.out.println(f.diagword("Sydney")); System.out.println(p.Reverse("Sydney")); System.out.println(f.fence(10,5)); } }