Part A

Done