Can someone help me find out a more optimal solution for 1057A
Here is the link to the problem 1057A Here is my submission 90081794