Definition: In this task, you are given a Reddit post as a text. Your task is to generate a title for this text. The title should start with "TIFU by", followed by a situation that caused humor. The title should contain 7-12 words, ideally.
Input: Text: a friend and i decided to ride the length of the american tobacco trail today. we started at like 2pm and had a really good ride, even catching the sunset on a bridge overlooking the wetlands. anyway, we get back to our car, congratulate ourselves on finishing the 44 miles (my friend never had biked more than 20 and i haven't biked that long since this summer), and we drive away as dusk turned into night. we arrive at the gate and find it locked. fantastic. my friend gets out his phone and is looking up numbers to call and i head back to the trailhead to try to find some park office numbers. i text him two numbers before he texts me to come back to the car. i come back and he says he called the police and an officer is going to help us. i'm thinking, sweet, we will be out of here in no time. as we wait we start thinking about the feast we are going to have once we get home as we both haven't eaten anything more than a couple of crackers since lunch. we wait for about an hour before a cop shows up and he tells us he is working on contacting the park service as they are the only ones with the key. we continue waiting and finally after another hour he tells us he got a hold of them and they are about 30 minutes away. another 45 minutes goes by before the parks guy shows up and lets us out. we thank them and start the car, before the police officer comes back shines his flashlight at us and pulls a warning ticket off the front windshield. we read the slip of paper and on it is the direct number of the parks department we should have contacted to begin with. it also turned out to be the second number i found and texted my friend.

TIFU by getting locked inside a state park after hours