/* package whatever; // don't place package name! */

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

import java.time.* ;
import java.time.format.* ;
import java.time.temporal.* ;
import java.time.chrono.* ;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{

		ZoneId z = ZoneId.of( "America/Montreal" ) ; 
		Year year = Year.now( z ) ;
		DateTimeFormatter f = DateTimeFormatter.ofPattern( "uu" ) ;
		String output = year.format( f ) ;
		int yearNumberWithoutCentury = Integer.parseInt( output ) ;
		
		System.out.println( "year.toString(): " + year ) ;
        System.out.println( "output: " + output ) ;
        System.out.println( "yearNumberWithoutCentury: " + yearNumberWithoutCentury ) ;
	}
}