@maxdevalue: Solution is quite