Naieve solution