This page is still under construction.

Parts of this page are still being built. What you see may change.

Histogram

Time limit2sMemory limit512 MB

Summary
Read n bar sizes and print one line of exactly k equals signs for each bar size k.
Level

Easy1 of 10

Topics
Implementation, String
Solved
No attempts yet

Problem

A histogram is a picture of data. It is made of bars, and the length of one bar is the size of the data it stands for.

You are given a list of bar lengths. Draw the histogram for that list.

Input

The first line contains the number of test cases nn (1≤n≤1001 \le n \le 100).

Each of the next nn lines contains the size kk (1≤k≤801 \le k \le 80) of one histogram bar.

Output

For each test case, print one line holding exactly kk copies of =, where kk is that bar's size. Do not put a space between two = characters.

Examples2

  1. Example 1

    Input
    5
    1
    3
    4
    6
    2
    
    Expected output
    =
    ===
    ====
    ======
    ==
    
  2. Example 2

    Input
    4
    10
    30
    25
    16
    
    Expected output
    ==========
    ==============================
    =========================
    ================