How to solve without declaring any variable or without using any operators