How the heck did you get this within 10 lines? You’re a genius!
Thanks. It was a lot of trial and error :)