solve P28
code style