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

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

import java.time.* ;

/* 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(
			OffsetDateTime.parse(               // Do NOT use `LocalDateTime` class, use `OffsetDateTime` because your input has an offset-from-UTC. 
				"2019-02-22 19:29:43+00:00"
    			.replace( " " , "T" )           // Replace SPACE in middle with a `T` to comply with ISO 8601 standard format.
			)   
		);
	}
}