solve CF 320 C and D