import java.util.*;
import java.util.zip.*;
import java.util.List;
import java.util.regex.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.*;
import java.util.concurrent.locks.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.text.*;
import javax.swing.table.*;
import java.io.*;
import java.net.*;
import java.lang.reflect.*;
import java.lang.ref.*;
import java.lang.management.*;
import java.security.*;
import java.security.spec.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import javax.imageio.*;
import java.math.*;
import static x30_pkg.x30_util.DynamicObject;
class main {
static Timed returnTimedAfterWarmup(IF0 f) { return returnTimedAfterWarmup(defaultWarmUpSeconds(), f); }
static Timed returnTimedAfterWarmup(double seconds, IF0 f) {
warmUp(seconds, new Runnable() { public void run() { try { f.get() ;
} catch (Exception __e) { throw rethrow(__e); } } public String toString() { return "f.get()"; }});
return returnTimed(f);
}
static Double defaultWarmUpSeconds_cache;
static double defaultWarmUpSeconds() { if (defaultWarmUpSeconds_cache == null) defaultWarmUpSeconds_cache = defaultWarmUpSeconds_load(); return defaultWarmUpSeconds_cache; }
static Double defaultWarmUpSeconds_load() { return 1.0; }
static void warmUp(Runnable f) { warmUp(defaultWarmUpSeconds(), f); }
static void warmUp(double seconds, Runnable f) {
if (f == null) return;
long endTime = sysNow()+toMS(seconds);
while (sysNow() < endTime)
f.run();
}
static RuntimeException rethrow(Throwable t) {
if (t instanceof Error)
_handleError((Error) t);
throw t instanceof RuntimeException ? (RuntimeException) t : new RuntimeException(t);
}
static RuntimeException rethrow(String msg, Throwable t) {
throw new RuntimeException(msg, t);
}
static Timed returnTimed(IF0 f) {
long time = nanos();
A a = f.get();
time = nanos()-time;
return new Timed(a, nsToMS(time));
}
static Timed