Kokoro, by Natsume Soseki (paragraph #1254)

「さういふ元氣なら結構なものだ。餘程惡いかと思つて來たら、大變好いやうぢやありませんか」

translation

"It's fine if you're in good spirits. If you think it's too bad, isn't it great?"

kanji (pronunciations & definitions)
元氣: lively (げんき), full of spirit, energetic, vigorous, vital 結構: splendid (けっこう), nice, wonderful, delightful, lovely

Next paragraph