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

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

/* 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
	{
		System.out.println(
			Runtime.version().toString()
		);
		
		Runtime.Version v = Runtime.version() ;
		
		// Required parts.
		int feature = v.feature() ;
		int interim = v.interim() ;
		int update = v.update() ;
		int patch = v.patch() ;
		
		// Optional parts.
		Optional<Integer> build = v.build() ;
		Optional<String> pre = v.pre() ;
		Optional<String> optional = v.optional() ;
	    
	    System.out.println( "feature: " + feature ) ;
	    System.out.println( "interim: " + interim ) ;
	    System.out.println( "update: " + update ) ;
	    System.out.println( "patch: " + patch ) ;
	    
	    System.out.println( "build: " + build ) ;
	    System.out.println( "pre: " + pre ) ;
	    System.out.println( "optional: " + optional ) ;
	}
}