def METHOD_NAME(problem):
    pdf = FPDF()
    pdf.add_page()
    pdf.set_font("Arial", size=15)
    # Replace character that aren't in latin-1 character set
    title = problem["title"].encode('latin-1', 'replace').decode('latin-1')
    statement = problem["statement"].encode(
        'latin-1', 'replace').decode('latin-1')
    test_case = problem["test_case"].encode(
        'latin-1', 'replace').decode('latin-1')
    url = problem["url"]
    # add sections to pdf
    pdf.cell(200, 10, txt=title, ln=1, align='C')
    pdf.multi_cell(200, 10, txt=statement, align='L')
    pdf.multi_cell(200, 10, txt=test_case, align='L')
    pdf.write(5, 'Problem_Link: ')
    pdf.write(5, url, url)
    pdf.output(title + ".pdf")