Where can you buy the TM Flamethrower in Pokemon Diamond?

You don't dumb a ss :)