<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main(argv: Optional[Sequence[str]] = None) -> None: """Parse arguments and process the exam assignment."""

    parser = ArgumentParser(description="Convert Jupyter Notebook exams to PDFs")
    parser.add_argument(
        "--exam",
        type=int,
        required=True,
        help="Exam number to convert",
        dest="exam_num",
    )
    parser.add_argument(
        "--time", type=str, required=True, help="Time of exam to convert"
    )
    parser.add_argument(
        "--date", type=str, required=True, help="The date the exam will take place"
    )
    args = parser.parse_args(argv)
    process(args.exam_num, args.time, args.date)