basic version for naive cases
add dummpy header for the case of m=1
sol of q092
sol of q098