solution for 30