Given the task definition and input, reply with output. In this task, five ordered key facts are given. All the given facts are expressed in natural language. Your job is to generate a story 100 to 1000 words long, that includes all the facts given as input in their order of appearance while expanding upon them to produce a broader, yet coherent, narrative.

Fact1: Mitsuha causes Taki to develop relationship with coworker, Fact2: Taki accompanies grandmother and sister to leave ritual alcohol kuchikamizake made by Mitsuha as offering at shrine on mountaintop outside town, Fact3: shrine is believed to represent body of village guardian god, Fact4: village guardian god rules human experiences and connections, Fact5: Mitsuha 's latest note tells Taki about comet expected to pass Earth on day of town festival
High school girl Mitsuha lives in the town of Itomori in Japans mountainous Hida region. Bored, she wishes to be a handsome boy in her next life. She begins switching bodies intermittently with Taki, a high school boy in Tokyo, when they wake up. They communicate by leaving notes in Mitsuhas notebook and memos on Takis phone, and sometimes by writing on each others skin. Mitsuha causes Taki to develop a relationship with his coworker Miki, while Taki causes Mitsuha to become popular in school. Taki, as Mitsuha, accompanies her grandmother and sister to leave the ritual alcohol kuchikamizake, made by Mitsuha, as an offering at the shrine on a mountaintop outside the town. The shrine is believed to represent the body of the village guardian god who rules human experiences and connections. Mitsuhas latest note tells Taki about a comet expected to pass Earth on the day of her town festival. One day, Taki wakes up in his body. After an unsuccessful date with Miki, he tries to call Mitsuha, but cannot reach her, and the body switching ends. He decides to visit Itomori, but does not know its name, his memories of it are fading, and Mitsuhas messages have disappeared. A restaurant owner in Hida finally recognizes Itomori from Takis sketch and tells him it was destroyed by a fragment of the comet. Taki finds Mitsuhas name in the records of fatalities and discovers the date of the disaster. He realizes their timelines were separated by three years. Taki goes to the shrine to drink Mitsuhas kuchikamizake, hoping to reconnect with her body and warn her of the comet strike. Through a vision, Taki discovers that Mitsuha, having fallen in love with him, met his past self while trying to meet him personally. He wakes in her body on the morning of the town festival; Mitsuhas grandmother deduces his identity, and tells him the body switching is part of the Miyamizu family history as caretakers of the shrine. He convinces Mitsuhas friends Tessie and Sayaka to help evacuate the town by cutting the power and broadcasting a false emergency alert, but the plan fails. He realizes that Mitsuha must be in his body at the shrine and goes back to find her. Mitsuha wakes up in Takis body at the shrine. Although they sense each others presence, they are separated by three years. However, when twilight falls,note 2 they return to their own bodies and meet. They attempt to write each others names on their hands so they will remember each other, but twilight passes and Mitsuha disappears before she can write hers. As Mitsuha races back to town to convince her estranged father, the Itomori mayor, to evacuate the town, her memories of Taki start to fade. She realizes that Taki wrote I love you on her hand instead of his name. The comet piece crashes to Earth, destroying Itomori. Taki wakes up in his own time at the shrine, remembering nothing. Five years later, Taki has graduated from university and is searching for a job. He senses he is missing something important, and learns that inhabitants of Itomori survived by following the mayors order. He recognizes Tessie and Sayaka in a Tokyo restaurant, now engaged, but cannot identify them, and both Taki and Mitsuhas friends and family are shown to be pursuing their own paths. One day, Taki and Mitsuha see each other when their trains draw parallel, and are compelled to disembark and search for one another, finally meeting on a staircase. Feeling they have met before, they simultaneously ask for each others name.