https://www.mycompiler.io/view/6Iog5mHpZRP