change max depth to 8 and get 18 in Kattis