import java.io.*;
import java.util.*;

public class Main {
	
	private static long dp[];
	private static long util(int arr[],int start,int end) {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	}
	
	private static long util1(int arr[],int n) {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	}
	
	public static void main(String[] args) {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	}
	
	
	
	
	
	
	 static class FastReader 
	    { 
	        BufferedReader br; 
	        StringTokenizer st; 
	  
	        public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } 
	  
	        String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } 
	  
	        int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } 
	  
	        long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } 
	  
	        double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } 
	  
	        String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } 
	    } 
	  

} import java.io.*; io.* java import java.util.*; util.* java public class Main {
	
	private static long dp[];
	private static long util(int arr[],int start,int end) {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	}
	
	private static long util1(int arr[],int n) {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	}
	
	public static void main(String[] args) {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	}
	
	
	
	
	
	
	 static class FastReader 
	    { 
	        BufferedReader br; 
	        StringTokenizer st; 
	  
	        public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } 
	  
	        String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } 
	  
	        int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } 
	  
	        long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } 
	  
	        double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } 
	  
	        String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } 
	    } 
	  

} Main private static long dp[]; dp private static long util(int arr[],int start,int end) {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	} util {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	} if(start >= end-1) return 0; start >= end-1 start end-1 end 1 return 0; 0 if(dp[start] != 0) return dp[start]; dp[start] != 0 dp[start] dp start 0 return dp[start]; dp[start] dp start long ans = Long.MAX_VALUE; ans Long.MAX_VALUE Long Long.MAX_VALUE if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		} start + 2 < end start + 2 start 2 end {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		} ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end)) ans Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end)) Math.min Math Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) Math.abs(arr[start] - arr[start + 1]) Math.abs Math arr[start] - arr[start + 1] arr[start] arr start arr[start + 1] arr start + 1 start 1 util(arr,start + 1,end) util arr start + 1 start 1 end Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end) Math.abs(arr[start] - arr[start + 2]) Math.abs Math arr[start] - arr[start + 2] arr[start] arr start arr[start + 2] arr start + 2 start 2 util(arr,start + 2,end) util arr start + 2 start 2 end {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		} ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end) ans Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end) Math.abs(arr[start] - arr[start + 1] ) Math.abs Math arr[start] - arr[start + 1] arr[start] arr start arr[start + 1] arr start + 1 start 1 util(arr,start + 1,end) util arr start + 1 start 1 end return dp[start] = ans; dp[start] = ans dp[start] dp start ans int arr[] arr int start start int end end private static long util1(int arr[],int n) {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	} util1 {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	} int first = 0; first 0 int second = Math.abs(arr[1] - arr[0]); second Math.abs(arr[1] - arr[0]) Math.abs Math arr[1] - arr[0] arr[1] arr 1 arr[0] arr 0 if(n == 2) return second; n == 2 n 2 return second; second int third = 0; third 0 for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		} int i=2; int i=2; i 2 i<n i n i++ i++ i {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		} {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		} third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first) third Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first) Math.min Math Math.abs(arr[i] - arr[i-1]) + second Math.abs(arr[i] - arr[i-1]) Math.abs Math arr[i] - arr[i-1] arr[i] arr i arr[i-1] arr i-1 i 1 second Math.abs(arr[i] - arr[i-2]) + first Math.abs(arr[i] - arr[i-2]) Math.abs Math arr[i] - arr[i-2] arr[i] arr i arr[i-2] arr i-2 i 2 first first = second first second second = third second third return third; third int arr[] arr int n n public static void main(String[] args) {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	} main {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	} FastReader sc = new FastReader(); sc new FastReader() int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int arr[] = new int[n]; arr new int[n] n for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		} int i=0; int i=0; i 0 i<n i n i++ i++ i {
			arr[i] = sc.nextInt();
		} {
			arr[i] = sc.nextInt();
		} arr[i] = sc.nextInt() arr[i] arr i sc.nextInt() sc.nextInt sc dp = new long[n+1] dp new long[n+1] n+1 n 1 System.out.println(util1(arr,n)) System.out.println System.out System System.out util1(arr,n) util1 arr n String[] args args static class FastReader 
	    { 
	        BufferedReader br; 
	        StringTokenizer st; 
	  
	        public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } 
	  
	        String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } 
	  
	        int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } 
	  
	        long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } 
	  
	        double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } 
	  
	        String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } 
	    } FastReader BufferedReader br; br StringTokenizer st; st public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } FastReader { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } br = new BufferedReader(new
	                     InputStreamReader(System.in)) br new BufferedReader(new
	                     InputStreamReader(System.in)) String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } next { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } st == null || !st.hasMoreElements() st == null st null !st.hasMoreElements() st.hasMoreElements() st.hasMoreElements st { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } IOException  e { 
	                    e.printStackTrace(); 
	                } e.printStackTrace() e.printStackTrace e { 
	                    st = new StringTokenizer(br.readLine()); 
	                } st = new StringTokenizer(br.readLine()) st new StringTokenizer(br.readLine()) return st.nextToken(); st.nextToken() st.nextToken st int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } nextInt { 
	            return Integer.parseInt(next()); 
	        } return Integer.parseInt(next()); Integer.parseInt(next()) Integer.parseInt Integer next() next long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } nextLong { 
	            return Long.parseLong(next()); 
	        } return Long.parseLong(next()); Long.parseLong(next()) Long.parseLong Long next() next double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } nextDouble { 
	            return Double.parseDouble(next()); 
	        } return Double.parseDouble(next()); Double.parseDouble(next()) Double.parseDouble Double next() next String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } nextLine { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } String str = ""; str "" try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } IOException e { 
	                e.printStackTrace(); 
	            } e.printStackTrace() e.printStackTrace e { 
	                str = br.readLine(); 
	            } str = br.readLine() str br.readLine() br.readLine br return str; str public class Main {
	
	private static long dp[];
	private static long util(int arr[],int start,int end) {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	}
	
	private static long util1(int arr[],int n) {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	}
	
	public static void main(String[] args) {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	}
	
	
	
	
	
	
	 static class FastReader 
	    { 
	        BufferedReader br; 
	        StringTokenizer st; 
	  
	        public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } 
	  
	        String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } 
	  
	        int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } 
	  
	        long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } 
	  
	        double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } 
	  
	        String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } 
	    } 
	  

} public class Main {
	
	private static long dp[];
	private static long util(int arr[],int start,int end) {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	}
	
	private static long util1(int arr[],int n) {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	}
	
	public static void main(String[] args) {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	}
	
	
	
	
	
	
	 static class FastReader 
	    { 
	        BufferedReader br; 
	        StringTokenizer st; 
	  
	        public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } 
	  
	        String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } 
	  
	        int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } 
	  
	        long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } 
	  
	        double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } 
	  
	        String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } 
	    } 
	  

} Main
import java.io.*;
import java.util.*;

public class Main {
	
	private static long dp[];
	private static long util(int arr[],int start,int end) {
		
		if(start >= end-1) return 0;
		
		if(dp[start] != 0) return dp[start];
		
		long ans = Long.MAX_VALUE;
		
		if(start + 2 < end) {
			ans = Math.min(Math.abs(arr[start] - arr[start + 1]) + util(arr,start + 1,end) , Math.abs(arr[start] - arr[start + 2]) + util(arr,start + 2,end));
		}else {
			ans = Math.abs(arr[start] - arr[start + 1] ) + util(arr,start + 1,end);
		}
		
		return dp[start] = ans;
		
	}
	
	private static long util1(int arr[],int n) {
		
		int first = 0;
		int second = Math.abs(arr[1] - arr[0]);
		
		if(n == 2) return second;
		
		int third = 0;
		
		for(int i=2; i<n; i++) {
			third = Math.min(Math.abs(arr[i] - arr[i-1]) + second, Math.abs(arr[i] - arr[i-2]) + first);
			first = second;
			second = third;
		}
		
		return third;
		
	}
	
	public static void main(String[] args) {
		
		FastReader sc = new FastReader();
		
		int n = sc.nextInt();
		
		int arr[] = new int[n];
		
		for(int i=0; i<n; i++) {
			arr[i] = sc.nextInt();
		}
		
		dp = new long[n+1];
		System.out.println(util1(arr,n));
	}
	
	
	
	
	
	
	 static class FastReader 
	    { 
	        BufferedReader br; 
	        StringTokenizer st; 
	  
	        public FastReader() 
	        { 
	            br = new BufferedReader(new
	                     InputStreamReader(System.in)); 
	        } 
	  
	        String next() 
	        { 
	            while (st == null || !st.hasMoreElements()) 
	            { 
	                try
	                { 
	                    st = new StringTokenizer(br.readLine()); 
	                } 
	                catch (IOException  e) 
	                { 
	                    e.printStackTrace(); 
	                } 
	            } 
	            return st.nextToken(); 
	        } 
	  
	        int nextInt() 
	        { 
	            return Integer.parseInt(next()); 
	        } 
	  
	        long nextLong() 
	        { 
	            return Long.parseLong(next()); 
	        } 
	  
	        double nextDouble() 
	        { 
	            return Double.parseDouble(next()); 
	        } 
	  
	        String nextLine() 
	        { 
	            String str = ""; 
	            try
	            { 
	                str = br.readLine(); 
	            } 
	            catch (IOException e) 
	            { 
	                e.printStackTrace(); 
	            } 
	            return str; 
	        } 
	    } 
	  

}
