added solution for 30