import java.time.Instant;
import java.util.Date;

public class JI9050882 {

	public static void main(String[] args) {
		System.out.println( new Date(Long.MIN_VALUE) );
		System.out.println(Instant.ofEpochMilli(Long.MIN_VALUE));
		System.out.println(Date.from(Instant.now().plusMillis(Long.MAX_VALUE))); 
		// ArithmeticException although this Instant can be represented by java.util.Date 
	}

}
