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

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

import java.time.* ;
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 = "17.08.2012 05:35:19:7600000" ;
        DateTimeFormatter f = DateTimeFormatter.ofPattern( "dd.MM.uuuu HH:mm:ss:SSSSSSS" );
        LocalDateTime ldt = LocalDateTime.parse( input , f ) ;

        OffsetDateTime odt = ldt.atOffset( ZoneOffset.UTC ) ;

        System.out.println( ldt ) ;
        System.out.println( odt ) ; 
	}
}