Java working, fast 19 ms