You are given a bitmap lookup table (a dictionary/map) where each key is a character (e.g., 'J') and the value is a 2D array representing the character's bitmap, with 0 for background and 1 for foreground. The problem has three progressive parts. Part 1 is the same in every report;…