solved prlem 32