solves cst-341
'