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

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

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



/* 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
	{

        String input = "Mon, 30 Sep 2002 01:56:02 GMT";
        DateTimeFormatter f = DateTimeFormatter.RFC_1123_DATE_TIME;
        ZonedDateTime zdt = ZonedDateTime.parse( input , f );

        String output = zdt.toString() ;  // Generate a string in standard ISO 8601 format.
        System.out.println( "zdt.toString(): " + output );
        
	}
}