### Combined resolution calculation ```shell for (int i=0;i