front and back dp(192,227の該当)