-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandom_assembler.cpp
676 lines (602 loc) · 60.5 KB
/
random_assembler.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
/*
Code Authors: Ali Chehab ([email protected]), Christophe Khalil ([email protected])
Code: v0.2 - Upated
AUB - BIOINFORMATICS
*/
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <map>
#include <tuple>
#include <algorithm>
#include <unordered_map>
#include <set>
#include <chrono>
#include <fstream>
#include <sstream>
#include <utility>
#include <omp.h>
#include <regex>
#include <string_view>
#include <array>
using std::string;
using std::vector;
using std::string_view;
using std::cout;
using std::unordered_map;
using std::endl;
class SuffixArray{ // use counting sort and cumulative counts to efficiently construct the suffix array for the given input string
public:
/* OLD non-efficient way
vector<long> sortCharacters(string_view S){ // initialize, sort and get counts
size_t l {S.size()};
vector<long> order(l,0); //init vector of size l to 0
unordered_map<char, long> count;
for(size_t i{0};i<l;++i){
count[S[i]]= count.find(S[i]) != count.end() ? count[S[i]] + 1 : 1;
}
std::vector<char> charList;
for (const auto& kv : count) {
charList.push_back(kv.first);
}
std::sort(charList.begin(), charList.end());
char prevChar {charList[0]};
for (size_t i {1}; i < charList.size(); ++i) {
count[charList[i]] += count[prevChar];
prevChar = charList[i];
}
for (long long i {l - 1}; i >= 0; --i) {
char c = S[i];
count[c] = count[c] - 1;
order[count[c]] = i;
}
return order;
}
*/
vector<long> sortCharacters(string_view S) {
const size_t len = S.size();
vector<long> order(len);
// Use array instead of unordered_map - much faster for ASCII
// 256 covers all possible ASCII characters
std::array<long, 256> count = {};
// First pass: count characters
// Using raw pointer for faster access
const char* str = S.data();
for(size_t i = 0; i < len; ++i) {
count[static_cast<unsigned char>(str[i])]++;
}
// Calculate cumulative counts
// Skip unused characters in ASCII range
long total = 0;
for(size_t i = 0; i < 256; ++i) {
long temp = count[i];
count[i] = total;
total += temp;
}
// Build the order array using counting sort
// Go backwards to maintain stability
for(long i = len - 1; i >= 0; --i) {
unsigned char c = static_cast<unsigned char>(str[i]);
order[count[c]++] = i;
}
return order;
}
std::vector<long> computeCharClasses(string_view S, const std::vector<long>& order) {
long l {S.size()};
std::vector<long> charClass(l, 0);
charClass[order[0]] = 0;
for (long long i {1}; i < l; ++i) {
if (S[order[i]] != S[order[i - 1]]) {
charClass[order[i]] = charClass[order[i - 1]] + 1;
} else {
charClass[order[i]] = charClass[order[i - 1]];
}
}
return charClass;
}
std::vector<long> sortDoubled(string_view S, long L, const std::vector<long>& order, const std::vector<long>& _class) {
long sLen = S.length();
std::vector<long> count(sLen, 0);
std::vector<long> newOrder(sLen, 0); // final suffix array
for (long long i {0}; i < sLen; ++i) {
count[_class[i]] += 1;
}
for (long long j {1}; j < sLen; ++j) {
count[j] += count[j - 1];
}
for (long i {sLen - 1}; i >= 0; --i) {
long long start = (order[i] - L + sLen) % sLen;
long long cl {_class[start]};
count[cl] -= 1;
newOrder[count[cl]] = start;
}
return newOrder;
}
std::vector<long> updateClasses(const std::vector<long>& newOrder, const std::vector<long>& _class, long L) { // call and build the suffix arary
long n {newOrder.size()};
std::vector<long> newClass(n, 0);
newClass[newOrder[0]] = 0;
for (long long i {1}; i < n; ++i) {
long long curr {newOrder[i]};
long long prev {newOrder[i - 1]};
long long mid {curr + L};
long long midPrev {(prev + L) % n};
if (_class[curr] != _class[prev] || _class[mid] != _class[midPrev]) {
newClass[curr] = newClass[prev] + 1;
} else {
newClass[curr] = newClass[prev];
}
}
return newClass;
}
vector<long> buildSuffixArray(string_view S){
size_t sLen {S.size()};
auto order {sortCharacters(S)};
auto _class {computeCharClasses(S,order)};
size_t L=1;
while(L < sLen){
order = sortDoubled(S,L,order,_class);
_class= updateClasses(order,_class,L);
L=2*L;
}
return order;
}
};
struct Occurrence { // package the patter, its position and its score
long position;
int score;
string pattern;
Occurrence(long pos, int scr,string_view pat) : position(pos), score(scr), pattern(pat) {}
};
struct PatternPosition{ // package the patter and its position
long long position;
string pattern;
PatternPosition(long long pos,string_view pat) : position(pos), pattern(pat) {}
};
struct Scoring{ // package the values for match scoring
unsigned int match;
unsigned int mismatch;
unsigned int gap;
unsigned int extend;
Scoring(const unsigned int mat, const unsigned int mis, const unsigned int gay, const unsigned int ext) : match(mat), mismatch(mis), gap(gay), extend(ext) {}
};
struct Paramerters{ // package all the input params
public:
int allowed_mismatches;
int threads;
int match_score;
int mismatch_penalty;
int gap_penalty;
int extend_penalty;
bool verbose;
Paramerters(int mismatches,unsigned int threads = 1, unsigned int match = 1, unsigned int mismatch = 4, unsigned int gap = 6, unsigned int extend = 1, bool verb = false):
allowed_mismatches(mismatches),threads(threads),match_score(match),mismatch_penalty(mismatch),gap_penalty(gap),extend_penalty(extend),verbose(verb){}
};
class ApproxPatternMatching {
public:
void run(string_view text,vector<string> patterns,const Paramerters& params) {
const Scoring score = Scoring(params.match_score, params.mismatch_penalty, params.gap_penalty, params.extend_penalty);
if (params.verbose){
std::cout << "+---------------------------+" << endl;
std::cout << "| Reference Genome size |" << text.size() << endl;
std::cout << "| Patterns count |" << patterns.size() << endl;
std::cout << "| Allowed mismatches |" << params.allowed_mismatches << endl;
std::cout << "| Assigned threads |" << params.threads<< endl;
std::cout << "+---------------------------+" << endl;
}
auto startT = std::chrono::high_resolution_clock::now();
// auto comparator = [](const std::vector<long>& a, const std::vector<long>& b) {return a.size() < b.size();};
unordered_map<string, vector<long>> perfectScores; // dictionary to store the indexes of patterns that match perfectly
// get the index and pattern occurences (score computed inside)
vector<Occurrence> occs = findOccurrences(text, patterns, params.allowed_mismatches, perfectScores, params.threads, score);
auto endT = std::chrono::high_resolution_clock::now();
if (params.verbose){
std::cout << "+---------------------------+" << endl;
cout << "|#of non-perfect occurrences|"<<occs.size()<<endl;
std::cout << "+---------------------------+" << endl;
std::cout << "+---------------------------+" << endl;
cout << "|Elapsed Time:Find All Occs | " << std::chrono::duration_cast<std::chrono::seconds>(endT - startT).count() << " seconds" << endl;
std::cout << "+---------------------------+" << endl;
}
// build dictionary to keep track of how many copies of a read exist
unordered_map<string, unsigned int> patternDict = getReadDict(patterns);
if (params.verbose){
std::cout << "+---------------------------+" << endl;
cout<<"| #of Unique Patterns |"<<patternDict.size()<<endl;
std::cout << "+---------------------------+" << endl;
}
// Aligning reads to reference
vector<char> finalStringVector = alignPerfect(perfectScores, patternDict, text.length(), params.threads);
alignString(finalStringVector, occs, patternDict,params.threads);
std::ofstream contigFile("output_contigs.txt");
string line = "";
for (size_t i; i<finalStringVector.size(); i++){
if(finalStringVector[i] == '-'){ // end of contig or in gap
if(line != ""){
contigFile<<line<<endl; // output in a line
line = ""; // reset line
}
}
else{
line += finalStringVector[i];
}
}
if(line != ""){ // in case of no -
contigFile<<line<<endl; // output in a line
line = ""; // reset line
}
contigFile.close();
string finalString(finalStringVector.begin(),finalStringVector.end()); // convert from vector to string
endT = std::chrono::high_resolution_clock::now();
if (params.verbose){
std::cout << "+---------------------------+" << endl;
std::cout << "| Total Elapsed Time | " << std::chrono::duration_cast<std::chrono::seconds>(endT - startT).count() << " seconds" << endl;
std::cout << "+---------------------------+" << endl;
}
std::ofstream finalFile("output_single.txt");
finalFile<<finalString;
finalFile.close();
cout<<"Saved output to output_single.txt & output_contigs.txt"<<endl;
}
private:
vector<long> bwtFromSuffixArray(string_view text, const std::vector<long>& order, const std::vector<char>& alphabet,std::unordered_map<char, std::vector<long>>& counts,std::unordered_map<char, long>& starts);
bool approxMatching(string_view p1, string_view p2, int d);
vector<Occurrence> findOccurrences(string_view text, const vector<string>& patterns, int d, unordered_map<string, vector<long>>& perfectScores, const unsigned int threads, const Scoring& scorer);
void alignString(vector<char>& finalStringVector, vector<Occurrence>& orderedOcc, unordered_map<string, unsigned int>& patternDict, const unsigned int threads);
unordered_map<string, unsigned int> getReadDict(const vector<string>& patterns); // UPD1 const and pass by ref (how did we miss that in the 1st place ...)
vector<char> alignPerfect(unordered_map<string, vector<long>>& perfectDict, unordered_map<string, unsigned int>& patternDict, const unsigned long textSize, const unsigned int threads);
int computeScore(string_view text, string_view pattern, int d, const Scoring& score);
};
unordered_map<string, unsigned int> ApproxPatternMatching::getReadDict(const vector<string>& patterns){
unordered_map<string, unsigned int> readDict;
for(const string& str : patterns){ // go through all the patterns and update the dictionary
if (readDict.find(str) == readDict.end()) {
readDict[str] = 1;
} else {
readDict[str]++;
}
}
return readDict;
}
vector<long> ApproxPatternMatching::bwtFromSuffixArray(string_view text, const vector<long>& order, const vector<char>& alphabet,std::unordered_map<char, vector<long>>& counts,std::unordered_map<char, long>& starts) {
long l {text.size()};
vector<long> bwt(l);
for (const char& ch : alphabet) { // initialize counts with 0's
counts[ch] = vector<long>(l + 1, 0);
}
for (long long i {0}; i < l; ++i) { // build the BWT by rearranging the characters based on the suffix array
bwt[i] = text[(order[i] + l - 1) % l]; // collapsed a loop- micro opti
char currChar {bwt[i]};
for (const auto& entry : counts) {
counts[entry.first][i + 1] = counts[entry.first][i];
}
counts[currChar][i + 1] += 1;
}
long long currIndex {0}; // Calculate the starting index of each character in the sorted BWT
for (const char& ch : alphabet) {
starts[ch] = currIndex;
currIndex += counts[ch][l];
}
return bwt;
}
bool ApproxPatternMatching::approxMatching(string_view p1, string_view p2, const int d) {
int error = 0;
for (size_t i = 0; i < p1.size(); ++i) {
if (p1[i] != p2[i]) {
error += 1;
if (error > d) {
return false;
}
}
}
return true;
}
int ApproxPatternMatching::computeScore(string_view text,string_view pattern, int d, const Scoring& scorer) {
// The following function does the scoring for a given alignment after being matched with BWT
// but essential info abou the sequence base quality is missing
// how are we supposed to know how to map ??
int score = 0;
int gapCount = 0;
//+1 for match, -4 for mismatch, -6 for gap open, -1 for gap extension
for (size_t i = 0; i < pattern.size(); ++i) {
if (text[i] == pattern[i]) {
score += scorer.match; // Match
} else {
score -= scorer.mismatch; // Mismatch
}
if(pattern[i] == ' ')
gapCount += 1; //micro-opti collapsed for
}
score -= scorer.gap * std::min(gapCount, d); // Gap open
score -= scorer.extend * std::max(0, gapCount - d); // Gap extension
return score;
}
size_t NegIndexToPos(const size_t str_size, long long index){
// Handle negative indexing
if (index < 0) {
index = str_size + index;
}
// Check if the index is within bounds
if (index >= 0 && index < static_cast<long long>(str_size)) {
return index;
} else {
// Handle index out of bounds (you may want to throw an exception or handle it differently)
std::cerr << "Index out of bounds\n";
return '\0'; // Return a default value, you can modify this accordingly
}
}
vector<Occurrence> ApproxPatternMatching::findOccurrences(string_view text, const std::vector<std::string>& patterns, int d, unordered_map<string, vector<long>>& perfectScores, const unsigned int threads, const Scoring& scorer) {
SuffixArray suffixArray;
//vector<long> order = suffixArray.buildSuffixArray(text); //old slow way
auto order = std::move(suffixArray.buildSuffixArray(text)); //UPD1
vector<char> alphabet = {'$', 'a', 'c', 'g', 't'}; // check if the alphabet should be capitalized or not
bool keep = false;
for (unsigned int i=0; i<alphabet.size();i++){
if(text[0] == alphabet[i]){
keep = true;
break;
}
}
if (!keep){
alphabet = {'$', 'A', 'C', 'G', 'T'};
}
std::unordered_map<char, vector<long>> counts;
std::unordered_map<char, long> starts;
std::vector<long> bwt = bwtFromSuffixArray(text, order, alphabet,counts,starts);
std::vector<Occurrence> occs;
// #pragma omp parallel for num_threads(threads) // Parallelize the loop using OpenMP
#pragma omp parallel for schedule(dynamic) num_threads(threads) // UPD1
for (unsigned int p = 0; p < patterns.size(); ++p) {
string_view pattern = patterns[p];
std::set<long> currOccs;
long n = pattern.size();
long k = n / (d + 1);
vector<std::pair<string, int>> seeds;
for (long i = 0; i < d; ++i) {
seeds.emplace_back(pattern.substr(i * k, k), i * k);
}
seeds.emplace_back(pattern.substr(d * k, n - d * k), d * k);
for (const auto& seed : seeds) {
long top {0};
long bottom {bwt.size() - 1};
long currIndex {seed.first.size() - 1};
while (top <= bottom) {
if (currIndex >= 0) {
char symbol = seed.first[currIndex];
currIndex -= 1;
// cout<< symbol<<endl; /////////////////////////////////////////////////////////// for testing ////////////////
if (counts[symbol][bottom + 1] - counts[symbol][top] > 0) {
top = starts[symbol] + counts[symbol][top];
bottom = starts[symbol] + counts[symbol][bottom + 1] - 1;
} else {
break;
}
} else {
for (long i = top; i <= bottom; ++i) {
currOccs.insert(order[i] - seed.second);
}
break;
}
}
}
for (long occ : currOccs) {
string_view sub = text.substr(NegIndexToPos(text.size(),occ), n);
if (approxMatching(sub, pattern, d)) {
int score = computeScore(sub, pattern, d, scorer); // could be merged with approxMatching for improvement (maybe)
if (score == pattern.length()){ // perfect match
#pragma omp critical(perfectScore) // creates a crititcal data block to ensure no race conditions occur
//auto ptrn= string(pattern);
if (perfectScores.count(string(pattern))){ // check if vector with key already exists
perfectScores[string(pattern)].push_back(occ);
}
else {
perfectScores[string(pattern)] = {occ}; // create new vector
}
}else{
#pragma omp critical(occsCritical) // creates a crititcal data block to ensure no race conditions occur
occs.emplace_back(Occurrence(occ, score, pattern));
}
}
}
}
return occs;
}
vector<char> ApproxPatternMatching::alignPerfect(unordered_map<string, vector<long>>& perfectDict, unordered_map<string, unsigned int>& patternDict, const unsigned long textSize, const unsigned int threads){
vector<char> conString(textSize-1, '-'); // the vector that keeps track of the final string (-1 for the $)
vector<string> sortedKeys; // vector to store the patterns in descending order of how many copies exist
for (const auto& entry : perfectDict) {
sortedKeys.push_back(entry.first); // store the keys
}
std::sort(sortedKeys.begin(),sortedKeys.end(),[&patternDict](const std::string& a, const std::string& b){ // sort in descending order of how many copies exist
return patternDict[a] > patternDict[b];
});
vector<PatternPosition> toWrite;
// Assign indices to keys
for (const std::string& key : sortedKeys) {
vector<long>& indices = perfectDict[key];
unsigned int count = patternDict[key];
for (long int& index : indices) {
if (count > 0 && index < textSize) {
// Bind the index to the key
toWrite.emplace_back(PatternPosition(index,key));
count--;
}
}
// Update the remaining usage count for the key
patternDict[key] = count;
}
// write in parallel
#pragma omp parallel for num_threads(threads) // Parallelize the loop using OpenMP
for (unsigned int p = 0; p < toWrite.size(); ++p) {
for (unsigned int j = 0; j < toWrite[p].pattern.length(); j++){ // go through the characters of the string
conString[toWrite[p].position+j] = toWrite[p].pattern[j];
}
}
return conString;
}
void ApproxPatternMatching::alignString(vector<char>& finalStringVector, vector<Occurrence>& orderedOcc, unordered_map<string, unsigned int>& patternDict, const unsigned int threads){
unsigned long dashCount = 0;
#pragma omp parallel for reduction(+:dashCount) num_threads(threads) // reduction(+:dashCount) clause ensures that each thread has its own private copy of dashCount and the final result is combined after all threads finish execution
for (unsigned long i = 0; i < finalStringVector.size(); i++) {
if (finalStringVector[i] == '-') {
dashCount++;
}
}
// sort the remaining patterns based on index then score
std::sort(orderedOcc.begin(),orderedOcc.end(),[](const Occurrence& a,const Occurrence& b){ // sort based on index then by score
if (a.position != b.position){
return a.position < b.position;
}else{
return a.score < b.score;
}
});
string pattern;
//unsigned long lastDash = 0, dashIndex, dashPatIndex;
for (unsigned long i = 0; i < orderedOcc.size() && dashCount > 0; i++){ // keep adding till out of empty gaps
// get soonest dash
//auto it = std::find(finalStringVector.begin() + lastDash, finalStringVector.end(), '-'); // get first occurrence of '-' that we already know doesn't exist in the first lastDash indices
//lastDash = dashIndex;
//dashIndex = std::distance(finalStringVector.begin(), it);
pattern = orderedOcc[i].pattern;
// && orderedOcc[i].position <= dashIndex && (orderedOcc[i].position + pattern.length()-1) >= dashIndex
if(patternDict[pattern] > 0){ // we are still allowed to use the pattern and this pattern can replace a -
--patternDict[pattern]; // reduce how many times we can still use this pattern
//dashPatIndex = dashIndex - orderedOcc[i].position;// get index to reduce redundant checking at the start
for (unsigned long j = 0; j < pattern.length(); j++){ // try to copy
if(finalStringVector[orderedOcc[i].position + j] == '-'){
finalStringVector[orderedOcc[i].position + j] = pattern[j];
--dashCount;
}
}
}
}
}
vector<string> loadStrings(const string& filename, const bool& check = false){ // returns the reads then the reference as the last element to be popped out
vector<string> reads;
std::ifstream f(filename);
if (!f.is_open()) {
std::cerr << "Error opening file: " << filename<< std::endl;
return reads;
}
std::string line;
while (std::getline(f,line)){
if (line.length() > 2){
if (check){
reads.push_back(std::regex_replace(line, std::regex("[\r\n\t]+$"), "")); // check for \r and remove it then add to vector
}
else{
reads.push_back(line);
}
}
}
f.close();
return reads;
}
string buildReference(const vector<string> refVector){
string reference;
//cout<<"building reference..."<<std::endl;
for (unsigned int i=0; i<refVector.size();i++){
reference += refVector[i];
}
reference += "$";
//cout<<"done building reference"<<std::endl;
return reference;
}
// Function to display program usage
void displayUsage() {
std::cout << "Usage: random_assembler [-ms <match_score>] [-mp <mismatch_penalty>] [-gp <gap_penalty>] [-ep <extended_penalty>] [-mascot] [-vb] -irf <input_reference> -ird <input_reads> -m <allowed_mismatches> -t <num_threads> \n";
}
void PrintMascot();
int main(int argc, char *argv[]) {
// Define default values for optional arguments
int defaultMatchScore = 1;
int defaultMismatchPenalty = 4;
int defaultGapPenalty = 6;
int defaultExtendedPenalty = 1;
// Parse command line arguments
std::unordered_map<std::string, std::string> args;
for (int i = 1; i < argc; ++i) {
std::string arg = argv[i];
if (arg == "-ms" || arg == "-mp" || arg == "-gp" || arg == "-ep" || arg == "-irf" || arg == "-ird" || arg == "-m" || arg == "-t") {
if (i + 1 < argc) {
args[arg] = argv[++i];
} else {
std::cerr << "Error: Argument " << arg << " requires a value.\n";
displayUsage();
return 1;
}
} else if (arg == "-vb" || arg == "-mascot") {
args[arg] = "true";
} else {
std::cerr << "Error: Unknown argument " << arg << ".\n";
displayUsage();
return 1;
}
}
// Check for mandatory arguments
if (args.find("-irf") == args.end() || args.find("-ird") == args.end() || args.find("-m") == args.end() || args.find("-t") == args.end()) {
std::cerr << "Error: Missing mandatory arguments.\n";
displayUsage();
return 1;
}
// Access values using args["-irf"], args["-ird"], etc.
Paramerters params = Paramerters(stoi(args["-m"]),stoi(args["-t"]));
if (args.find("-ms") != args.end()){ // found match score
params.match_score = stoi(args["-ms"]);
}
if (args.find("-mp") != args.end()){ // found mismatch penalty
params.mismatch_penalty = stoi(args["-mp"]);
}
if (args.find("-gp") != args.end()){ // found gap penalty
params.gap_penalty = stoi(args["-gp"]);
}
if (args.find("-ep") != args.end()){ // found extend penalty
params.extend_penalty = stoi(args["-ep"]);
}
if (args.find("-vb") != args.end()){ // verbose
params.verbose = true;
}
ApproxPatternMatching p;
vector<string> reads;
string reference;
reads = loadStrings(args["-ird"]);
reference = buildReference(loadStrings(args["-irf"]));
p.run(reference,reads,params);
if (args.find("-mascot") != args.end()){
PrintMascot();
}
return 0;
}
void PrintMascot(){
cout<<"\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;92;84;54;48;2;151;127;84m▄\e[38;2;1;1;1;48;2;39;36;21m▄\e[38;2;0;0;0;48;2;67;58;36m▄\e[38;2;20;16;10;48;2;174;158;100m▄\e[38;2;120;107;69;48;2;245;221;142m▄\e[38;2;231;209;134;48;2;255;231;148m▄\e[48;2;255;231;148m \e[38;2;254;229;147;48;2;255;231;148m▄\e[38;2;55;51;38;48;2;229;207;133m▄\e[38;2;166;157;117;48;2;248;224;143m▄\e[38;2;177;163;110;48;2;255;231;148m▄\e[38;2;173;159;106;48;2;255;231;148m▄\e[38;2;182;168;112;48;2;255;231;148m▄\e[38;2;152;139;96;48;2;251;227;146m▄\e[38;2;162;145;98;48;2;253;228;147m▄\e[38;2;179;161;103;48;2;255;231;148m▄\e[38;2;211;183;118;48;2;255;231;148m▄\e[38;2;237;215;137;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;248;224;144;48;2;255;231;148m▄\e[38;2;111;101;65;48;2;251;227;146m▄\e[38;2;19;17;11;48;2;216;194;125m▄\e[38;2;17;15;10;48;2;204;186;119m▄\e[38;2;17;15;10;48;2;206;187;120m▄\e[38;2;16;13;9;48;2;147;129;87m▄\e[38;2;1;1;1;48;2;10;8;6m▄\e[48;2;0;0;0m \e[38;2;69;70;72;48;2;0;0;0m▄\e[38;2;138;140;141;48;2;8;7;5m▄\e[38;2;23;23;22;48;2;84;74;49m▄\e[38;2;69;63;36;48;2;246;223;143m▄\e[38;2;237;215;137;48;2;255;231;148m▄\e[48;2;255;231;148m \e[38;2;222;201;129;48;2;245;221;142m▄\e[38;2;130;134;138;48;2;54;56;57m▄\e[38;2;139;147;154;48;2;151;159;166m▄\e[38;2;46;49;51;48;2;127;133;136m▄\e[38;2;59;63;66;48;2;112;118;120m▄\e[38;2;157;165;173;48;2;102;107;105m▄\e[38;2;167;176;185;48;2;88;93;98m▄\e[38;2;150;158;166;48;2;68;70;70m▄\e[38;2;90;93;95;48;2;65;65;60m▄\e[38;2;13;13;13;48;2;88;79;67m▄\e[38;2;78;79;80;48;2;89;82;57m▄\e[38;2;103;107;107;48;2;176;160;102m▄\e[38;2;120;111;72;48;2;251;227;146m▄\e[38;2;231;210;134;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;235;213;136;48;2;194;176;113m▄\e[38;2;97;88;56;48;2;34;31;20m▄\e[38;2;2;2;2;48;2;0;0;0m▄\e[48;2;0;0;0m \e[38;2;86;87;88;48;2;12;12;12m▄\e[38;2;244;245;245;48;2;54;54;54m▄\e[38;2;246;246;246;48;2;83;83;83m▄\e[38;2;189;189;189;48;2;100;101;102m▄\e[38;2;226;226;226;48;2;238;239;240m▄\e[38;2;255;255;255;48;2;237;237;237m▄\e[38;2;249;249;249;48;2;165;168;171m▄\e[38;2;171;170;170;48;2;121;115;92m▄\e[38;2;141;134;110;48;2;228;207;134m▄\e[38;2;96;97;91;48;2;110;100;72m▄\e[38;2;79;81;82;48;2;145;152;160m▄\e[38;2;145;153;159;48;2;50;53;55m▄\e[38;2;170;180;189;48;2;125;132;139m▄\e[38;2;146;149;152;48;2;172;182;191m▄\e[38;2;112;107;101;48;2;164;173;181m▄\e[38;2;160;125;89;48;2;151;154;157m▄\e[38;2;8;7;5;48;2;38;40;42m▄\e[38;2;77;60;41;48;2;1;1;1m▄\e[38;2;152;114;76;48;2;13;9;6m▄\e[38;2;185;143;95;48;2;38;35;30m▄\e[38;2;196;149;100;48;2;121;120;118m▄\e[38;2;57;46;31;48;2;2;2;2m▄\e[38;2;6;5;3;48;2;59;53;34m▄\e[38;2;126;102;68;48;2;246;220;141m▄\e[38;2;188;180;156;48;2;237;215;138m▄\e[38;2;158;155;149;48;2;213;194;127m▄\e[38;2;79;80;81;48;2;169;152;100m▄\e[38;2;1;1;1;48;2;153;139;89m▄\e[38;2;61;55;35;48;2;206;187;119m▄\e[38;2;229;207;133;48;2;249;226;144m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;255;231;148;48;2;226;205;131m▄\e[38;2;253;228;146;48;2;152;126;83m▄\e[38;2;238;215;138;48;2;41;38;26m▄\e[38;2;193;174;112;48;2;4;4;3m▄\e[38;2;64;56;37;48;2;47;49;50m▄\e[38;2;17;16;16;48;2;210;210;211m▄\e[38;2;46;46;46;48;2;251;251;251m▄\e[38;2;161;161;161;48;2;254;254;254m▄\e[38;2;228;228;228;48;2;254;254;254m▄\e[38;2;253;253;253;48;2;255;255;255m▄\e[38;2;218;220;221;48;2;238;238;238m▄\e[38;2;126;126;126;48;2;124;125;126m▄\e[38;2;176;179;181;48;2;178;178;179m▄\e[38;2;136;144;150;48;2;72;74;76m▄\e[38;2;172;182;191;48;2;155;163;170m▄\e[38;2;137;139;138;48;2;169;179;187m▄\e[38;2;154;85;12;48;2;137;131;124m▄\e[38;2;242;122;0;48;2;171;104;35m▄\e[38;2;169;131;92;48;2;115;89;60m▄\e[38;2;222;171;114;48;2;205;156;103m▄\e[38;2;185;147;99;48;2;95;74;47m▄\e[38;2;255;192;128;48;2;231;174;116m▄\e[48;2;255;192;128m \e[38;2;249;188;127;48;2;255;192;128m▄\e[38;2;218;170;121;48;2;248;187;126m▄\e[38;2;253;191;127;48;2;213;163;109m▄\e[38;2;244;184;122;48;2;77;62;40m▄\e[38;2;52;42;26;48;2;11;10;10m▄\e[38;2;184;134;78;48;2;226;220;213m▄\e[38;2;254;251;247;48;2;248;248;248m▄\e[38;2;247;247;247;48;2;155;156;156m▄\e[38;2;245;245;245;48;2;84;84;84m▄\e[38;2;211;211;211;48;2;118;112;90m▄\e[38;2;50;50;49;48;2;140;126;81m▄\e[38;2;7;6;4;48;2;143;129;83m▄\e[38;2;10;9;6;48;2;169;153;99m▄\e[38;2;31;27;17;48;2;215;195;124m▄\e[38;2;173;155;98;48;2;253;229;146m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;190;171;111;48;2;187;168;108m▄\e[38;2;40;36;23;48;2;33;29;18m▄\e[38;2;1;1;0;48;2;0;0;0m▄\e[38;2;87;88;90;48;2;116;117;117m▄\e[38;2;162;162;162;48;2;255;255;255m▄\e[38;2;139;138;135;48;2;249;249;249m▄\e[38;2;141;135;116;48;2;235;236;236m▄\e[38;2;127;110;78;48;2;172;172;171m▄\e[38;2;97;89;61;48;2;93;96;97m▄\e[38;2;105;111;116;48;2;64;66;69m▄\e[38;2;165;174;182;48;2;148;156;163m▄\e[38;2;63;46;28;48;2;145;151;158m▄\e[38;2;247;125;0;48;2;125;67;9m▄\e[48;2;255;128;0m \e[38;2;233;117;5;48;2;244;123;1m▄\e[38;2;246;183;120;48;2;236;181;124m▄\e[38;2;236;183;128;48;2;196;157;115m▄\e[38;2;214;164;112;48;2;229;178;125m▄\e[38;2;144;115;79;48;2;224;171;116m▄\e[38;2;231;176;118;48;2;251;190;126m▄\e[38;2;186;144;98;48;2;242;184;124m▄\e[38;2;204;159;110;48;2;207;163;116m▄\e[38;2;202;157;106;48;2;249;188;126m▄\e[38;2;230;177;123;48;2;254;191;128m▄\e[38;2;248;185;122;48;2;238;185;129m▄\e[38;2;85;48;8;48;2;90;55;9m▄\e[38;2;113;105;87;48;2;151;146;141m▄\e[38;2;176;173;163;48;2;253;253;253m▄\e[38;2;205;205;205;48;2;179;182;186m▄\e[38;2;191;191;192;48;2;47;47;47m▄\e[38;2;22;22;18;48;2;13;11;7m▄\e[38;2;88;80;51;48;2;54;48;31m▄\e[38;2;211;183;118;48;2;89;80;52m▄\e[38;2;255;231;148;48;2;120;108;69m▄\e[38;2;255;231;148;48;2;252;228;146m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;255;231;148;48;2;243;220;141m▄\e[38;2;255;231;148;48;2;196;178;114m▄\e[38;2;255;231;148;48;2;176;159;102m▄\e[38;2;251;228;146;48;2;180;163;107m▄\e[38;2;223;202;129;48;2;172;157;106m▄\e[38;2;212;193;122;48;2;178;161;104m▄\e[38;2;221;200;127;48;2;218;196;125m▄\e[38;2;247;223;144;48;2;250;222;146m▄\e[38;2;129;112;87;48;2;154;142;100m▄\e[38;2;113;119;126;48;2;120;127;134m▄\e[38;2;118;84;40;48;2;116;117;118m▄\e[38;2;255;128;0;48;2;198;99;0m▄\e[48;2;255;128;0m \e[38;2;135;76;13;48;2;182;97;10m▄\e[38;2;179;140;100;48;2;180;142;99m▄\e[38;2;252;190;127;48;2;228;175;120m▄\e[38;2;248;187;125;48;2;190;147;103m▄\e[38;2;249;188;125;48;2;171;136;90m▄\e[38;2;109;87;63;48;2;103;82;58m▄\e[38;2;255;192;128;48;2;216;165;109m▄\e[38;2;252;190;126;48;2;192;149;100m▄\e[38;2;187;143;99;48;2;116;92;62m▄\e[38;2;106;87;60;48;2;111;89;64m▄\e[38;2;181;146;108;48;2;250;189;125m▄\e[38;2;225;156;84;48;2;161;114;67m▄\e[38;2;141;85;24;48;2;127;105;59m▄\e[38;2;207;186;120;48;2;195;176;115m▄\e[38;2;253;229;147;48;2;198;183;133m▄\e[38;2;245;222;142;48;2;116;111;90m▄\e[38;2;243;220;141;48;2;40;35;26m▄\e[38;2;243;220;141;48;2;34;30;21m▄\e[38;2;251;227;145;48;2;175;153;99m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;221;200;127;48;2;255;231;148m▄\e[38;2;137;123;76;48;2;233;210;135m▄\e[38;2;136;111;60;48;2;95;80;53m▄\e[38;2;149;117;60;48;2;47;43;28m▄\e[38;2;104;75;32;48;2;40;30;12m▄\e[38;2;103;54;2;48;2;129;102;52m▄\e[38;2;155;80;0;48;2;129;107;63m▄\e[38;2;70;36;0;48;2;55;51;46m▄\e[38;2;208;105;0;48;2;217;116;14m▄\e[48;2;255;128;0m \e[38;2;250;126;0;48;2;254;128;0m▄\e[38;2;228;158;87;48;2;169;114;57m▄\e[38;2;253;191;128;48;2;249;188;126m▄\e[48;2;255;192;128m \e[38;2;254;191;128;48;2;233;178;122m▄\e[38;2;240;184;127;48;2;184;148;101m▄\e[38;2;252;191;128;48;2;245;186;124m▄\e[38;2;255;192;128;48;2;240;188;134m▄\e[38;2;219;167;111;48;2;216;166;111m▄\e[38;2;110;89;60;48;2;214;164;111m▄\e[38;2;150;117;81;48;2;239;181;120m▄\e[38;2;172;132;91;48;2;253;191;127m▄\e[38;2;244;185;124;48;2;188;146;103m▄\e[38;2;255;192;128;48;2;95;75;50m▄\e[38;2;227;173;118;48;2;170;148;96m▄\e[38;2;143;109;75;48;2;204;184;118m▄\e[38;2;179;149;97;48;2;236;214;137m▄\e[38;2;179;162;104;48;2;253;229;147m▄\e[38;2;246;223;143;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;254;230;148;48;2;255;231;148m▄\e[38;2;104;95;61;48;2;212;182;117m▄\e[38;2;42;36;24;48;2;77;64;38m▄\e[38;2;96;78;50;48;2;149;77;0m▄\e[38;2;93;50;0;48;2;192;97;0m▄\e[38;2;219;112;0;48;2;209;105;0m▄\e[38;2;220;110;0;48;2;209;105;0m▄\e[38;2;216;108;0;48;2;194;97;0m▄\e[38;2;230;122;6;48;2;212;110;2m▄\e[38;2;151;84;8;48;2;124;64;2m▄\e[38;2;220;111;0;48;2;209;105;0m▄\e[48;2;255;128;0m \e[38;2;243;125;4;48;2;249;126;2m▄\e[38;2;175;123;68;48;2;251;172;93m▄\e[38;2;167;134;99;48;2;255;192;128m▄\e[48;2;255;192;128m \e[38;2;252;190;126;48;2;252;190;127m▄\e[38;2;244;184;124;48;2;245;186;126m▄\e[38;2;253;191;128;48;2;254;191;128m▄\e[48;2;255;192;128m \e[38;2;255;192;128;48;2;231;175;117m▄\e[38;2;253;191;128;48;2;186;146;105m▄\e[38;2;229;181;131;48;2;181;140;97m▄\e[38;2;251;189;126;48;2;184;142;98m▄\e[38;2;255;192;128;48;2;250;189;127m▄\e[48;2;255;192;128m \e[38;2;255;192;128;48;2;241;181;121m▄\e[38;2;251;189;126;48;2;140;110;73m▄\e[38;2;86;66;43;48;2;168;150;95m▄\e[38;2;206;187;120;48;2;251;227;145m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;224;203;130;48;2;240;216;139m▄\e[38;2;94;79;45;48;2;157;133;88m▄\e[38;2;143;73;1;48;2;119;101;62m▄\e[38;2;240;121;1;48;2;107;54;0m▄\e[38;2;163;102;37;48;2;153;82;5m▄\e[38;2;219;167;111;48;2;69;50;30m▄\e[38;2;247;186;124;48;2;91;70;42m▄\e[38;2;252;190;128;48;2;77;59;40m▄\e[38;2;193;146;98;48;2;96;71;38m▄\e[38;2;102;62;15;48;2;126;80;22m▄\e[38;2;230;117;0;48;2;223;112;0m▄\e[48;2;255;128;0m \e[38;2;251;126;0;48;2;255;128;0m▄\e[38;2;154;85;17;48;2;171;90;4m▄\e[38;2;98;80;56;48;2;33;23;7m▄\e[38;2;165;129;91;48;2;138;110;82m▄\e[38;2;145;73;0;48;2;196;145;93m▄\e[38;2;225;114;0;48;2;209;148;85m▄\e[38;2;130;68;1;48;2;134;98;58m▄\e[38;2;205;157;107;48;2;237;179;119m▄\e[48;2;255;192;128m \e[38;2;186;146;100;48;2;146;113;79m▄\e[38;2;22;19;15;48;2;96;86;56m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;232;210;135;48;2;249;225;144m▄\e[38;2;110;88;47;48;2;142;128;80m▄\e[38;2;51;25;0;48;2;146;79;6m▄\e[38;2;10;5;0;48;2;243;122;0m▄\e[38;2;121;68;4;48;2;226;115;2m▄\e[38;2;175;123;64;48;2;111;73;29m▄\e[38;2;249;187;125;48;2;89;70;47m▄\e[38;2;221;169;112;48;2;85;65;43m▄\e[38;2;2;2;1;48;2;84;65;44m▄\e[38;2;22;19;13;48;2;140;107;72m▄\e[38;2;105;59;8;48;2;129;77;19m▄\e[38;2;237;120;0;48;2;238;120;0m▄\e[48;2;255;128;0m \e[38;2;197;100;3;48;2;232;117;0m▄\e[38;2;123;93;63;48;2;184;119;52m▄\e[38;2;128;81;34;48;2;127;99;70m▄\e[38;2;188;98;0;48;2;175;98;17m▄\e[38;2;127;64;0;48;2;255;128;0m▄\e[48;2;255;128;0m \e[38;2;255;128;0;48;2;231;118;0m▄\e[38;2;248;125;0;48;2;83;57;28m▄\e[38;2;42;26;10;48;2;239;181;120m▄\e[38;2;163;123;82;48;2;255;192;128m▄\e[38;2;253;191;128;48;2;255;192;128m▄\e[48;2;255;192;128m \e[38;2;251;189;127;48;2;255;192;128m▄\e[38;2;82;62;42;48;2;125;97;66m▄\e[38;2;63;39;1;48;2;29;28;18m▄\e[38;2;138;125;80;48;2;254;230;147m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;243;220;141;48;2;223;202;130m▄\e[38;2;213;193;124;48;2;87;78;51m▄\e[38;2;121;98;57;48;2;95;85;54m▄\e[38;2;240;121;2;48;2;101;55;6m▄\e[38;2;196;100;0;48;2;247;124;0m▄\e[38;2;183;95;4;48;2;194;118;39m▄\e[38;2;137;93;47;48;2;225;172;117m▄\e[38;2;208;161;112;48;2;222;170;114m▄\e[38;2;132;102;66;48;2;22;17;10m▄\e[38;2;137;108;73;48;2;192;147;100m▄\e[38;2;131;90;45;48;2;146;99;43m▄\e[38;2;189;97;0;48;2;229;116;0m▄\e[38;2;236;119;0;48;2;254;127;0m▄\e[38;2;75;52;29;48;2;170;95;20m▄\e[38;2;188;132;71;48;2;109;88;63m▄\e[38;2;118;65;6;48;2;69;43;13m▄\e[38;2;166;84;0;48;2;147;76;0m▄\e[48;2;255;128;0m \e[38;2;255;128;0;48;2;243;123;0m▄\e[38;2;254;128;0;48;2;124;66;0m▄\e[38;2;154;91;27;48;2;73;53;26m▄\e[38;2;120;91;61;48;2;164;126;84m▄\e[38;2;123;93;63;48;2;196;148;99m▄\e[38;2;89;75;56;48;2;202;153;103m▄\e[38;2;85;62;26;48;2;207;158;106m▄\e[38;2;118;73;16;48;2;207;158;106m▄\e[38;2;123;63;2;48;2;193;146;98m▄\e[38;2;132;66;0;48;2;192;144;95m▄\e[38;2;193;97;0;48;2;154;108;61m▄\e[38;2;113;57;0;48;2;107;60;8m▄\e[38;2;168;86;0;48;2;238;120;0m▄\e[38;2;201;107;7;48;2;95;61;19m▄\e[38;2;155;137;85;48;2;231;210;134m▄\e[38;2;253;229;147;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;229;207;134;48;2;234;211;136m▄\e[38;2;169;113;37;48;2;151;102;38m▄\e[38;2;116;78;25;48;2;210;106;0m▄\e[38;2;65;34;0;48;2;70;36;0m▄\e[38;2;254;128;0;48;2;242;122;0m▄\e[38;2;251;126;0;48;2;200;102;2m▄\e[38;2;232;118;0;48;2;73;51;27m▄\e[38;2;33;28;11;48;2;210;165;117m▄\e[38;2;130;97;60;48;2;173;134;93m▄\e[38;2;60;31;0;48;2;45;31;16m▄\e[38;2;18;10;0;48;2;60;31;0m▄\e[38;2;96;48;0;48;2;97;49;0m▄\e[38;2;121;84;47;48;2;118;81;34m▄\e[38;2;136;101;59;48;2;154;110;63m▄\e[38;2;82;48;10;48;2;157;79;0m▄\e[38;2;247;124;1;48;2;252;126;0m▄\e[48;2;255;128;0m \e[38;2;176;94;6;48;2;198;100;0m▄\e[38;2;163;126;82;48;2;170;119;68m▄\e[38;2;255;192;128;48;2;249;188;126m▄\e[38;2;255;192;128;48;2;254;192;128m▄\e[38;2;189;142;95;48;2;182;139;95m▄\e[38;2;142;75;6;48;2;137;75;10m▄\e[38;2;255;128;0;48;2;237;120;0m▄\e[38;2;255;128;0;48;2;253;127;0m▄\e[48;2;255;128;0m \e[38;2;237;119;0;48;2;252;127;0m▄\e[38;2;129;68;0;48;2;221;112;0m▄\e[38;2;40;21;0;48;2;47;24;0m▄\e[38;2;199;102;0;48;2;219;111;0m▄\e[38;2;163;115;42;48;2;111;90;48m▄\e[38;2;230;208;133;48;2;239;217;139m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;252;228;146;48;2;236;213;136m▄\e[38;2;182;160;101;48;2;155;109;41m▄\e[38;2;158;142;91;48;2;145;126;78m▄\e[38;2;176;90;0;48;2;111;56;0m▄\e[38;2;174;111;34;48;2;168;89;6m▄\e[38;2;170;111;34;48;2;113;64;6m▄\e[38;2;243;123;0;48;2;240;121;0m▄\e[48;2;251;126;0m \e[38;2;182;92;0;48;2;180;92;3m▄\e[38;2;192;97;0;48;2;175;90;4m▄\e[38;2;252;127;0;48;2;116;58;0m▄\e[38;2;119;66;3;48;2;225;114;1m▄\e[38;2;207;160;112;48;2;95;75;53m▄\e[38;2;150;109;60;48;2;113;86;55m▄\e[38;2;206;105;0;48;2;192;95;0m▄\e[48;2;255;128;0m \e[38;2;190;99;4;48;2;228;115;0m▄\e[38;2;130;98;65;48;2;96;71;45m▄\e[38;2;254;192;128;48;2;241;185;128m▄\e[48;2;255;192;128m \e[38;2;254;191;128;48;2;255;192;128m▄\e[38;2;171;132;91;48;2;189;142;94m▄\e[38;2;135;68;1;48;2;143;74;5m▄\e[38;2;252;127;0;48;2;255;128;0m▄\e[48;2;255;128;0m \e[38;2;255;128;0;48;2;216;110;0m▄\e[38;2;101;54;0;48;2;24;12;0m▄\e[38;2;127;68;0;48;2;170;86;0m▄\e[38;2;132;69;0;48;2;194;112;22m▄\e[38;2;152;130;76;48;2;192;174;111m▄\e[38;2;249;225;144;48;2;254;230;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;215;193;124;48;2;146;132;85m▄\e[38;2;117;68;5;48;2;191;100;2m▄\e[38;2;125;114;72;48;2;130;105;53m▄\e[38;2;118;97;53;48;2;154;109;45m▄\e[38;2;196;100;0;48;2;236;118;0m▄\e[38;2;26;13;0;48;2;140;71;0m▄\e[38;2;116;61;0;48;2;162;83;0m▄\e[38;2;92;50;0;48;2;172;89;0m▄\e[38;2;166;84;0;48;2;242;122;0m▄\e[38;2;99;79;59;48;2;36;27;15m▄\e[38;2;252;190;127;48;2;229;174;119m▄\e[38;2;141;104;65;48;2;124;89;52m▄\e[38;2;189;95;0;48;2;210;108;3m▄\e[48;2;255;128;0m \e[38;2;88;44;0;48;2;192;99;0m▄\e[38;2;45;37;29;48;2;62;38;13m▄\e[38;2;255;192;128;48;2;232;175;116m▄\e[48;2;255;192;128m \e[38;2;241;181;121;48;2;247;186;124m▄\e[38;2;73;56;37;48;2;107;89;62m▄\e[38;2;138;101;62;48;2;161;104;43m▄\e[38;2;200;101;2;48;2;235;119;0m▄\e[48;2;255;128;0m \e[38;2;254;127;0;48;2;216;110;0m▄\e[38;2;27;14;0;48;2;154;81;0m▄\e[38;2;92;48;0;48;2;43;23;0m▄\e[38;2;201;104;0;48;2;104;54;0m▄\e[38;2;142;96;34;48;2;153;116;55m▄\e[38;2;231;209;134;48;2;240;217;139m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;255;231;148;48;2;254;230;148m▄\e[38;2;255;231;148;48;2;185;167;106m▄\e[38;2;255;231;148;48;2;220;200;128m▄\e[38;2;243;220;141;48;2;200;181;116m▄\e[38;2;38;35;22;48;2;97;60;14m▄\e[38;2;7;1;0;48;2;1;1;0m▄\e[38;2;83;43;0;48;2;32;18;0m▄\e[38;2;151;78;0;48;2;58;32;0m▄\e[38;2;180;92;0;48;2;68;35;0m▄\e[38;2;80;42;0;48;2;37;24;2m▄\e[38;2;33;28;16;48;2;105;85;61m▄\e[38;2;125;66;1;48;2;168;108;42m▄\e[38;2;228;116;0;48;2;144;77;7m▄\e[38;2;220;112;0;48;2;248;125;1m▄\e[48;2;255;128;0m \e[38;2;254;128;0;48;2;255;128;0m▄\e[38;2;121;61;0;48;2;226;114;0m▄\e[38;2;55;38;14;48;2;101;53;0m▄\e[38;2;227;177;126;48;2;175;140;104m▄\e[38;2;154;124;92;48;2;232;175;118m▄\e[38;2;153;121;85;48;2;255;192;128m▄\e[38;2;127;101;68;48;2;231;174;116m▄\e[38;2;133;101;68;48;2;44;39;23m▄\e[38;2;250;189;126;48;2;154;118;81m▄\e[38;2;171;133;86;48;2;137;104;69m▄\e[38;2;62;40;12;48;2;70;38;3m▄\e[38;2;244;123;0;48;2;251;126;0m▄\e[48;2;255;128;0m \e[38;2;187;94;0;48;2;255;128;0m▄\e[38;2;86;44;0;48;2;62;31;0m▄\e[38;2;68;38;5;48;2;123;63;0m▄\e[38;2;205;105;0;48;2;255;128;0m▄\e[38;2;98;50;0;48;2;115;66;12m▄\e[38;2;183;164;104;48;2;217;197;126m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;241;219;140;48;2;255;231;148m▄\e[38;2;98;84;51;48;2;255;231;148m▄\e[38;2;16;10;6;48;2;255;231;148m▄\e[38;2;31;6;3;48;2;253;229;147m▄\e[38;2;166;2;2;48;2;144;121;78m▄\e[38;2;249;0;0;48;2;170;10;6m▄\e[38;2;248;0;0;48;2;186;0;0m▄\e[38;2;175;20;1;48;2;121;36;3m▄\e[38;2;196;99;0;48;2;222;113;0m▄\e[38;2;255;128;0;48;2;249;125;0m▄\e[38;2;149;77;0;48;2;154;81;0m▄\e[38;2;119;0;5;48;2;25;13;0m▄\e[38;2;60;6;0;48;2;120;64;0m▄\e[38;2;81;43;0;48;2;213;109;0m▄\e[38;2;245;123;0;48;2;233;118;0m▄\e[38;2;228;115;0;48;2;243;122;0m▄\e[38;2;99;54;6;48;2;215;108;0m▄\e[38;2;192;140;88;48;2;139;79;17m▄\e[38;2;254;192;128;48;2;189;145;96m▄\e[38;2;255;192;128;48;2;253;191;128m▄\e[38;2;255;192;128;48;2;229;175;120m▄\e[38;2;255;192;128;48;2;209;160;109m▄\e[38;2;255;192;128;48;2;217;166;111m▄\e[38;2;255;192;128;48;2;253;191;128m▄\e[48;2;255;192;128m \e[38;2;255;192;128;48;2;238;181;121m▄\e[38;2;171;129;84;48;2;99;71;32m▄\e[38;2;133;108;62;48;2;150;81;0m▄\e[38;2;182;94;0;48;2;237;119;0m▄\e[38;2;254;128;0;48;2;255;128;0m▄\e[38;2;104;53;0;48;2;110;56;0m▄\e[38;2;98;55;0;48;2;93;51;0m▄\e[38;2;45;16;0;48;2;78;40;2m▄\e[38;2;179;93;4;48;2;172;88;3m▄\e[38;2;87;47;4;48;2;93;52;3m▄\e[38;2;116;96;59;48;2;171;150;91m▄\e[38;2;198;178;115;48;2;255;231;148m▄\e[38;2;249;225;144;48;2;255;231;148m▄\e[38;2;252;229;147;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;232;210;135;48;2;254;230;148m▄\e[38;2;112;76;49;48;2;209;189;121m▄\e[38;2;171;1;2;48;2;89;49;32m▄\e[38;2;252;0;0;48;2;121;0;2m▄\e[38;2;255;0;0;48;2;194;0;2m▄\e[38;2;255;0;0;48;2;189;0;4m▄\e[38;2;255;0;0;48;2;187;0;4m▄\e[38;2;255;0;0;48;2;166;0;5m▄\e[38;2;244;0;0;48;2;175;0;4m▄\e[38;2;107;13;5;48;2;145;6;1m▄\e[38;2;99;52;1;48;2;100;53;1m▄\e[38;2;188;96;0;48;2;232;117;0m▄\e[38;2;86;45;0;48;2;56;27;0m▄\e[38;2;124;0;4;48;2;199;0;6m▄\e[38;2;225;1;1;48;2;242;18;0m▄\e[38;2;131;8;0;48;2;78;18;0m▄\e[38;2;39;18;0;48;2;122;64;0m▄\e[38;2;200;93;0;48;2;226;115;0m▄\e[38;2;164;36;4;48;2;80;46;4m▄\e[38;2;119;67;46;48;2;170;128;86m▄\e[38;2;143;110;75;48;2;255;192;128m▄\e[38;2;221;171;119;48;2;255;192;128m▄\e[48;2;255;192;128m \e[38;2;247;187;126;48;2;255;192;128m▄\e[38;2;188;145;100;48;2;255;192;128m▄\e[38;2;132;100;68;48;2;231;179;126m▄\e[38;2;55;43;32;48;2;178;142;105m▄\e[38;2;102;51;6;48;2;107;59;3m▄\e[38;2;132;66;1;48;2;199;101;0m▄\e[38;2;110;42;0;48;2;90;46;0m▄\e[38;2;129;6;0;48;2;120;64;0m▄\e[38;2;170;2;3;48;2;161;5;8m▄\e[38;2;76;34;1;48;2;115;57;0m▄\e[38;2;107;55;0;48;2;95;49;0m▄\e[38;2;159;11;0;48;2;172;3;1m▄\e[38;2;254;0;0;48;2;122;0;1m▄\e[38;2;220;0;0;48;2;65;14;10m▄\e[38;2;145;2;2;48;2;125;106;69m▄\e[38;2;102;49;33;48;2;214;194;125m▄\e[38;2;168;150;97;48;2;255;231;148m▄\e[38;2;198;179;115;48;2;255;231;148m▄\e[38;2;216;191;123;48;2;255;231;148m▄\e[38;2;250;224;143;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;227;205;132;48;2;255;231;148m▄\e[38;2;58;4;3;48;2;150;129;83m▄\e[38;2;246;0;1;48;2;126;7;5m▄\e[38;2;253;0;0;48;2;245;0;0m▄\e[38;2;249;0;0;48;2;255;0;0m▄\e[38;2;246;0;0;48;2;255;0;0m▄\e[38;2;245;0;0;48;2;255;0;0m▄▄▄\e[38;2;243;0;0;48;2;244;0;1m▄\e[38;2;161;5;0;48;2;112;13;5m▄\e[38;2;153;77;0;48;2;169;85;0m▄\e[38;2;132;67;0;48;2;227;115;0m▄\e[38;2;39;18;0;48;2;140;72;0m▄\e[38;2;226;0;7;48;2;157;0;5m▄\e[38;2;252;0;0;48;2;167;0;2m▄\e[38;2;236;0;1;48;2;145;2;4m▄\e[38;2;192;3;9;48;2;123;16;4m▄\e[38;2;50;0;2;48;2;85;19;0m▄\e[38;2;235;0;6;48;2;246;3;0m▄\e[38;2;247;0;0;48;2;210;2;2m▄\e[38;2;252;0;0;48;2;182;8;6m▄\e[38;2;250;0;0;48;2;115;32;27m▄\e[38;2;164;26;0;48;2;56;42;28m▄\e[38;2;159;142;0;48;2;65;50;33m▄\e[38;2;189;169;0;48;2;69;52;35m▄\e[38;2;15;14;0;48;2;64;48;33m▄\e[38;2;63;56;0;48;2;52;40;28m▄\e[38;2;201;180;0;48;2;32;27;16m▄\e[38;2;230;206;0;48;2;35;7;3m▄\e[38;2;119;11;0;48;2;192;0;2m▄\e[38;2;176;12;1;48;2;164;70;0m▄\e[38;2;57;28;0;48;2;85;46;0m▄\e[38;2;187;9;1;48;2;168;25;0m▄\e[38;2;252;0;0;48;2;244;0;0m▄\e[38;2;218;0;0;48;2;220;1;0m▄\e[38;2;103;39;1;48;2;100;47;0m▄\e[38;2;172;89;0;48;2;206;106;0m▄\e[38;2;35;12;0;48;2;120;16;3m▄\e[38;2;94;0;0;48;2;250;0;0m▄\e[38;2;219;0;2;48;2;162;0;2m▄\e[38;2;245;0;1;48;2;87;0;1m▄\e[38;2;255;0;0;48;2;103;0;4m▄\e[38;2;255;0;0;48;2;142;17;15m▄\e[38;2;255;0;0;48;2;170;28;22m▄\e[38;2;254;0;0;48;2;79;33;23m▄\e[38;2;175;0;0;48;2;67;58;37m▄\e[38;2;21;5;3;48;2;207;186;120m▄\e[38;2;188;161;112;48;2;255;231;148m▄\e[38;2;254;230;147;48;2;255;231;148m▄\e[48;2;255;231;148m \e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;235;212;136;48;2;255;231;148m▄\e[38;2;52;8;7;48;2;95;83;53m▄\e[38;2;127;0;0;48;2;162;0;0m▄\e[38;2;49;29;7;48;2;204;0;0m▄\e[38;2;41;90;20;48;2;150;7;3m▄\e[38;2;49;119;28;48;2;89;22;7m▄\e[38;2;56;135;33;48;2;44;33;9m▄\e[38;2;59;145;35;48;2;39;39;10m▄\e[38;2;61;149;36;48;2;35;42;11m▄\e[38;2;62;152;37;48;2;34;43;11m▄\e[38;2;15;37;9;48;2;21;11;3m▄\e[38;2;63;154;38;48;2;31;50;11m▄\e[38;2;53;108;24;48;2;88;77;9m▄\e[38;2;108;65;3;48;2;32;21;1m▄\e[38;2;92;51;2;48;2;7;2;0m▄\e[38;2;47;117;27;48;2;148;38;14m▄\e[38;2;53;129;31;48;2;145;28;12m▄\e[38;2;47;115;27;48;2;141;19;9m▄\e[38;2;41;104;21;48;2;130;12;5m▄\e[38;2;40;95;21;48;2;61;6;0m▄\e[38;2;35;86;21;48;2;100;0;1m▄\e[38;2;34;83;20;48;2;45;0;1m▄\e[38;2;32;78;18;48;2;123;0;4m▄\e[38;2;37;77;18;48;2;171;0;0m▄\e[38;2;42;80;18;48;2;117;59;0m▄\e[38;2;92;107;7;48;2;225;203;0m▄\e[38;2;165;154;0;48;2;157;142;0m▄\e[38;2;190;170;0;48;2;217;195;0m▄\e[38;2;184;167;0;48;2;181;164;0m▄\e[38;2;214;194;0;48;2;188;169;0m▄\e[38;2;230;206;0;48;2;249;224;0m▄\e[38;2;94;85;0;48;2;131;122;0m▄\e[38;2;45;2;3;48;2;136;9;6m▄\e[38;2;56;14;4;48;2;119;29;2m▄\e[38;2;107;20;1;48;2;215;4;2m▄\e[38;2;126;33;7;48;2;215;0;4m▄\e[38;2;139;43;10;48;2;161;0;3m▄\e[38;2;100;40;8;48;2;125;1;3m▄\e[38;2;109;60;3;48;2;75;33;0m▄\e[38;2;191;98;0;48;2;146;25;1m▄\e[38;2;98;43;2;48;2;196;1;1m▄\e[38;2;127;60;13;48;2;248;0;0m▄\e[38;2;95;73;17;48;2;222;0;1m▄\e[38;2;71;73;17;48;2;206;0;0m▄\e[38;2;53;74;17;48;2;194;0;0m▄\e[38;2;50;71;17;48;2;193;0;0m▄\e[38;2;41;61;14;48;2;190;0;0m▄\e[38;2;46;72;17;48;2;190;0;0m▄\e[38;2;47;61;15;48;2;173;0;0m▄\e[38;2;48;5;5;48;2;86;33;22m▄\e[38;2;73;66;42;48;2;209;189;120m▄\e[38;2;205;186;119;48;2;255;231;148m▄\e[38;2;254;230;147;48;2;255;231;148m▄\e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;154;139;89;48;2;192;166;113m▄\e[38;2;75;2;2;48;2;110;2;3m▄\e[38;2;21;53;12;48;2;17;16;4m▄\e[38;2;63;155;38;48;2;44;107;25m▄\e[38;2;62;151;37;48;2;63;154;37m▄\e[38;2;63;154;38;48;2;64;156;38m▄\e[48;2;64;156;38m \e[38;2;15;37;9;48;2;16;38;9m▄\e[48;2;64;156;38m \e[38;2;50;103;23;48;2;39;79;18m▄\e[38;2;191;105;2;48;2;75;40;0m▄\e[38;2;240;121;0;48;2;96;50;1m▄\e[38;2;25;52;12;48;2;25;64;15m▄\e[38;2;65;150;36;48;2;64;156;38m▄\e[38;2;62;149;36;48;2;64;156;38m▄\e[38;2;62;151;36;48;2;64;156;38m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;64;155;38m▄\e[38;2;64;156;38;48;2;63;153;37m▄▄\e[38;2;64;156;38;48;2;62;152;37m▄\e[38;2;64;156;38;48;2;58;140;33m▄\e[38;2;64;156;38;48;2;66;129;25m▄\e[38;2;64;156;38;48;2;62;85;11m▄\e[38;2;64;156;38;48;2;60;53;0m▄\e[38;2;64;156;38;48;2;66;68;0m▄\e[38;2;64;156;38;48;2;75;112;16m▄\e[38;2;64;156;38;48;2;52;119;28m▄\e[38;2;64;156;38;48;2;57;126;31m▄\e[38;2;64;156;38;48;2;57;130;32m▄\e[38;2;64;156;38;48;2;59;133;31m▄\e[38;2;64;156;38;48;2;59;137;33m▄\e[38;2;64;156;38;48;2;60;141;34m▄\e[38;2;64;154;37;48;2;55;134;32m▄\e[38;2;52;80;16;48;2;104;90;11m▄\e[38;2;71;39;1;48;2;228;116;0m▄\e[38;2;117;64;0;48;2;192;101;1m▄\e[38;2;165;86;0;48;2;22;54;12m▄\e[38;2;44;26;0;48;2;49;119;28m▄\e[38;2;39;93;21;48;2;61;149;36m▄\e[38;2;64;156;38;48;2;62;152;37m▄\e[38;2;62;151;37;48;2;58;140;34m▄\e[38;2;54;130;31;48;2;48;117;28m▄\e[38;2;60;146;36;48;2;60;146;35m▄\e[38;2;64;156;38;48;2;60;147;36m▄\e[38;2;60;146;35;48;2;25;60;14m▄\e[38;2;32;79;19;48;2;2;2;2m▄\e[38;2;19;28;11;48;2;109;98;65m▄\e[38;2;135;120;69;48;2;244;221;142m▄\e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;254;230;147;48;2;255;231;148m▄\e[38;2;210;189;121;48;2;255;231;148m▄\e[38;2;79;76;45;48;2;149;133;86m▄\e[38;2;24;58;14;48;2;2;2;1m▄\e[38;2;49;119;27;48;2;40;100;21m▄\e[38;2;63;152;37;48;2;57;139;34m▄\e[38;2;63;154;37;48;2;39;93;22m▄\e[38;2;52;126;30;48;2;47;114;27m▄\e[38;2;39;94;22;48;2;51;123;29m▄\e[38;2;49;119;27;48;2;64;156;38m▄\e[48;2;64;156;38m \e[38;2;57;139;33;48;2;62;152;37m▄\e[38;2;49;117;28;48;2;23;55;13m▄\e[38;2;57;93;19;48;2;59;143;35m▄\e[38;2;160;86;1;48;2;66;95;18m▄\e[38;2;248;125;0;48;2;100;60;2m▄\e[38;2;255;128;0;48;2;148;78;0m▄\e[38;2;255;128;0;48;2;139;74;0m▄\e[38;2;255;128;0;48;2;137;75;0m▄\e[38;2;249;125;0;48;2;97;62;3m▄\e[38;2;185;94;0;48;2;52;70;7m▄\e[38;2;11;29;6;48;2;50;123;30m▄\e[38;2;51;128;28;48;2;64;156;38m▄\e[48;2;64;156;38m \e[38;2;49;118;29;48;2;64;156;38m▄\e[38;2;37;86;20;48;2;64;156;38m▄\e[38;2;42;97;23;48;2;63;155;38m▄\e[38;2;49;118;28;48;2;60;146;36m▄\e[38;2;45;112;24;48;2;53;130;29m▄\e[38;2;42;102;24;48;2;50;121;29m▄\e[38;2;38;90;19;48;2;55;132;31m▄\e[38;2;32;81;18;48;2;58;142;34m▄\e[38;2;45;110;25;48;2;60;147;35m▄\e[38;2;47;116;26;48;2;60;147;35m▄\e[38;2;49;119;27;48;2;59;144;34m▄\e[38;2;54;129;31;48;2;61;147;35m▄\e[38;2;56;137;33;48;2;61;149;36m▄\e[38;2;47;90;18;48;2;60;145;36m▄\e[38;2;143;81;2;48;2;71;99;21m▄\e[38;2;250;126;0;48;2;183;97;3m▄\e[38;2;255;128;0;48;2;251;126;0m▄\e[48;2;255;128;0m \e[38;2;255;128;0;48;2;253;127;0m▄\e[38;2;243;123;0;48;2;158;81;0m▄\e[38;2;91;47;0;48;2;23;20;2m▄\e[38;2;39;94;22;48;2;61;149;36m▄\e[48;2;64;156;38m \e[38;2;57;141;33;48;2;51;126;29m▄\e[38;2;56;136;32;48;2;57;139;33m▄\e[38;2;39;95;22;48;2;60;147;35m▄\e[38;2;11;30;7;48;2;34;86;18m▄\e[38;2;60;147;36;48;2;60;146;36m▄\e[38;2;48;114;27;48;2;58;138;33m▄\e[38;2;58;139;34;48;2;29;69;16m▄\e[m\n";
cout<<"\e[48;2;255;231;148m \e[38;2;252;229;146;48;2;255;231;148m▄\e[38;2;228;207;132;48;2;255;231;148m▄\e[38;2;66;61;33;48;2;250;227;145m▄\e[38;2;37;88;19;48;2;129;120;73m▄\e[38;2;61;149;36;48;2;55;81;31m▄\e[38;2;55;134;32;48;2;54;124;31m▄\e[38;2;33;82;14;48;2;60;146;35m▄\e[38;2;33;83;13;48;2;64;155;38m▄\e[38;2;33;78;13;48;2;64;156;38m▄\e[38;2;33;76;14;48;2;64;156;38m▄\e[38;2;43;104;24;48;2;64;156;38m▄\e[38;2;53;130;31;48;2;61;150;36m▄\e[38;2;60;147;35;48;2;57;139;33m▄\e[38;2;60;146;35;48;2;64;155;38m▄\e[38;2;16;40;7;48;2;46;113;26m▄\e[38;2;50;120;28;48;2;59;144;35m▄\e[38;2;98;59;1;48;2;77;57;2m▄\e[38;2;253;127;0;48;2;240;121;0m▄\e[48;2;255;128;0m \e[38;2;236;121;0;48;2;255;128;0m▄\e[48;2;254;127;0m \e[38;2;203;103;0;48;2;133;70;1m▄\e[38;2;28;67;16;48;2;31;76;18m▄\e[38;2;64;156;38;48;2;62;152;37m▄\e[38;2;64;156;38;48;2;54;126;30m▄\e[38;2;64;156;38;48;2;52;127;30m▄\e[38;2;64;156;38;48;2;53;129;31m▄\e[38;2;63;153;37;48;2;57;138;33m▄\e[38;2;60;145;36;48;2;52;125;30m▄\e[38;2;64;156;38;48;2;32;81;13m▄\e[38;2;64;156;38;48;2;47;117;27m▄\e[38;2;64;156;38;48;2;52;127;29m▄\e[38;2;64;156;38;48;2;55;136;33m▄\e[38;2;64;156;38;48;2;60;145;35m▄\e[38;2;64;156;38;48;2;60;147;35m▄\e[38;2;64;156;38;48;2;62;149;36m▄\e[38;2;64;156;38;48;2;62;151;37m▄\e[38;2;35;88;16;48;2;61;149;36m▄\e[38;2;151;77;0;48;2;45;37;2m▄\e[38;2;195;98;0;48;2;223;114;0m▄\e[38;2;195;98;0;48;2;241;122;0m▄\e[48;2;255;128;0m \e[38;2;255;128;0;48;2;220;111;0m▄\e[38;2;49;27;0;48;2;6;16;3m▄\e[38;2;51;126;29;48;2;62;149;36m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;55;134;32m▄\e[38;2;20;47;10;48;2;11;30;6m▄\e[38;2;23;57;13;48;2;25;62;14m▄\e[38;2;28;69;15;48;2;46;114;26m▄\e[38;2;55;135;32;48;2;42;104;24m▄\e[38;2;64;156;38;48;2;63;153;37m▄\e[m\n";
cout<<"\e[38;2;251;227;145;48;2;255;231;148m▄\e[38;2;172;156;98;48;2;247;223;143m▄\e[38;2;63;92;33;48;2;177;162;100m▄\e[38;2;57;137;33;48;2;54;73;31m▄\e[38;2;64;156;38;48;2;51;123;30m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;61;148;36m▄\e[38;2;64;156;38;48;2;55;132;31m▄\e[38;2;64;156;38;48;2;58;142;34m▄\e[38;2;64;156;38;48;2;57;140;33m▄▄\e[38;2;57;139;34;48;2;58;141;34m▄\e[38;2;37;84;18;48;2;54;132;32m▄\e[38;2;37;89;19;48;2;33;79;17m▄\e[38;2;26;62;13;48;2;23;57;11m▄\e[38;2;30;46;16;48;2;25;57;10m▄\e[38;2;108;96;57;48;2;21;51;10m▄\e[38;2;150;123;80;48;2;13;31;4m▄\e[38;2;180;138;90;48;2;71;51;12m▄\e[38;2;185;140;93;48;2;182;100;14m▄\e[38;2;167;125;82;48;2;185;96;5m▄\e[38;2;151;110;61;48;2;198;100;0m▄\e[38;2;115;65;13;48;2;245;124;0m▄\e[38;2;197;99;0;48;2;255;128;0m▄\e[38;2;250;126;0;48;2;203;105;2m▄\e[38;2;30;15;0;48;2;184;93;0m▄\e[38;2;178;101;3;48;2;204;103;0m▄\e[38;2;43;106;24;48;2;28;67;16m▄\e[48;2;64;156;38m \e[38;2;52;125;29;48;2;23;60;13m▄\e[38;2;142;77;1;48;2;202;102;0m▄\e[38;2;161;81;0;48;2;174;89;0m▄\e[38;2;152;77;0;48;2;174;89;0m▄\e[38;2;253;127;0;48;2;255;128;0m▄\e[38;2;243;122;0;48;2;253;127;0m▄\e[38;2;156;80;0;48;2;237;119;0m▄\e[48;2;255;128;0m \e[38;2;131;66;0;48;2;104;53;0m▄\e[38;2;46;111;27;48;2;43;106;25m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;55;133;32m▄\e[38;2;60;146;35;48;2;25;61;13m▄\e[38;2;44;105;23;48;2;35;85;19m▄\e[38;2;35;88;19;48;2;62;151;36m▄\e[38;2;58;143;34;48;2;64;156;38m▄\e[m\n";
cout<<"\e[38;2;29;45;13;48;2;189;171;109m▄\e[38;2;60;147;36;48;2;49;80;25m▄\e[38;2;64;156;38;48;2;60;144;35m▄\e[48;2;64;156;38m \e[38;2;60;146;35;48;2;64;156;38m▄\e[38;2;32;81;18;48;2;56;136;33m▄\e[38;2;45;111;27;48;2;34;76;18m▄\e[38;2;33;51;17;48;2;52;123;29m▄\e[38;2;216;164;112;48;2;45;68;28m▄\e[38;2;255;192;128;48;2;138;115;82m▄\e[38;2;255;192;128;48;2;190;148;103m▄\e[38;2;255;192;128;48;2;240;182;122m▄\e[38;2;255;192;128;48;2;253;191;128m▄\e[48;2;255;192;128m \e[38;2;255;192;128;48;2;246;186;124m▄\e[38;2;255;192;128;48;2;195;150;103m▄\e[38;2;243;185;126;48;2;101;72;39m▄\e[38;2;94;75;49;48;2;161;82;0m▄\e[38;2;58;35;2;48;2;72;39;0m▄\e[38;2;36;91;19;48;2;70;69;11m▄\e[38;2;64;156;38;48;2;62;152;37m▄\e[48;2;64;156;38m \e[38;2;63;153;37;48;2;67;103;20m▄\e[38;2;47;115;28;48;2;84;42;1m▄\e[38;2;32;45;8;48;2;124;62;0m▄\e[38;2;202;101;0;48;2;247;124;0m▄\e[38;2;239;120;0;48;2;237;119;0m▄\e[38;2;98;50;0;48;2;102;53;0m▄\e[38;2;178;92;0;48;2;235;119;0m▄\e[38;2;224;114;0;48;2;250;126;0m▄\e[38;2;33;61;12;48;2;82;44;0m▄\e[38;2;64;156;38;48;2;55;132;32m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;61;150;36m▄\e[38;2;64;156;38;48;2;41;100;24m▄\e[38;2;46;110;27;48;2;17;41;9m▄\e[m\n";
cout<<"\e[38;2;64;156;38;48;2;51;124;29m▄\e[48;2;64;156;38m \e[38;2;48;117;28;48;2;64;155;38m▄\e[38;2;30;64;13;48;2;38;92;21m▄\e[38;2;44;111;25;48;2;38;93;21m▄\e[38;2;91;89;52;48;2;41;87;23m▄\e[38;2;244;184;123;48;2;158;122;81m▄\e[48;2;255;192;128m \e[38;2;250;189;126;48;2;255;192;128m▄\e[38;2;182;139;95;48;2;241;184;126m▄\e[38;2;228;173;117;48;2;83;66;47m▄\e[38;2;67;69;41;48;2;47;114;27m▄\e[38;2;47;115;27;48;2;64;156;38m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;64;155;38m▄\e[38;2;64;156;38;48;2;46;113;25m▄\e[38;2;56;139;33;48;2;71;73;10m▄\e[38;2;63;104;21;48;2;180;94;0m▄\e[38;2;20;27;4;48;2;63;33;0m▄\e[38;2;36;60;12;48;2;89;53;2m▄\e[38;2;61;139;33;48;2;84;79;9m▄\e[38;2;64;156;38;48;2;59;143;34m▄\e[48;2;64;156;38m \e[m\n";
cout<<"\e[48;2;64;156;38m \e[38;2;51;125;29;48;2;63;155;37m▄\e[38;2;18;44;10;48;2;10;26;4m▄\e[38;2;55;134;33;48;2;53;127;30m▄\e[38;2;66;72;37;48;2;39;79;23m▄\e[38;2;212;161;108;48;2;175;134;90m▄\e[38;2;255;192;128;48;2;254;191;128m▄\e[48;2;255;192;128m \e[38;2;233;180;125;48;2;255;192;128m▄\e[38;2;255;192;128;48;2;252;190;127m▄\e[38;2;166;129;91;48;2;86;67;47m▄\e[38;2;89;79;52;48;2;221;172;121m▄\e[38;2;225;171;114;48;2;188;144;97m▄\e[38;2;66;69;35;48;2;28;69;17m▄\e[38;2;51;122;28;48;2;64;156;38m▄\e[48;2;64;156;38m \e[38;2;63;153;37;48;2;61;149;36m▄\e[38;2;54;133;30;48;2;29;68;12m▄\e[38;2;45;108;25;48;2;32;76;16m▄\e[38;2;49;119;28;48;2;58;141;34m▄\e[48;2;64;156;38m \e[m\n";
cout<<"\e[48;2;64;156;38m \e[38;2;63;153;37;48;2;64;156;38m▄\e[38;2;19;50;10;48;2;37;91;21m▄\e[38;2;61;149;36;48;2;46;108;25m▄\e[38;2;36;79;21;48;2;45;107;26m▄\e[38;2;128;98;67;48;2;111;86;58m▄\e[38;2;255;192;128;48;2;250;189;127m▄\e[48;2;255;192;128m \e[38;2;239;181;122;48;2;255;192;128m▄\e[38;2;234;179;122;48;2;255;192;128m▄\e[48;2;255;192;128m \e[38;2;252;190;128;48;2;254;191;128m▄\e[38;2;178;136;94;48;2;255;192;128m▄\e[38;2;255;192;128;48;2;254;192;128m▄\e[38;2;193;147;99;48;2;206;158;108m▄\e[38;2;148;114;77;48;2;224;170;114m▄\e[38;2;254;192;128;48;2;247;186;124m▄\e[38;2;20;17;13;48;2;23;18;13m▄\e[38;2;236;180;122;48;2;237;180;121m▄\e[38;2;94;86;59;48;2;92;74;53m▄\e[38;2;47;113;27;48;2;42;103;25m▄\e[48;2;64;156;38m \e[38;2;64;156;38;48;2;62;151;37m▄\e[38;2;30;74;16;48;2;40;94;21m▄\e[38;2;63;152;37;48;2;64;156;38m▄\e[48;2;64;156;38m \e[m\n";
cout<<"\e[49;38;2;64;156;38m▀▀▀▀▀▀\e[49;38;2;62;149;36m▀\e[49;38;2;19;46;9m▀\e[49;38;2;63;154;37m▀\e[49;38;2;34;79;21m▀\e[49;38;2;122;94;64m▀\e[49;38;2;254;192;128m▀\e[49;38;2;236;181;126m▀\e[49;38;2;142;113;82m▀\e[49;38;2;110;85;58m▀\e[49;38;2;243;183;124m▀\e[49;38;2;254;192;128m▀▀▀▀\e[49;38;2;140;107;72m▀\e[49;38;2;238;183;126m▀\e[49;38;2;189;143;97m▀\e[49;38;2;131;100;66m▀\e[49;38;2;254;192;128m▀\e[49;38;2;51;47;31m▀\e[49;38;2;215;162;107m▀\e[49;38;2;49;78;21m▀\e[49;38;2;62;151;36m▀\e[49;38;2;64;156;38m▀▀▀\e[49;38;2;57;139;34m▀\e[49;38;2;53;127;30m▀\e[49;38;2;52;128;29m▀\e[49;38;2;46;115;24m▀\e[49;38;2;46;111;24m▀▀\e[49;38;2;46;115;24m▀\e[49;38;2;46;111;24m▀▀\e[49;38;2;46;113;24m▀\e[49;38;2;46;111;24m▀\e[49;38;2;47;118;25m▀\e[49;38;2;53;129;30m▀\e[49;38;2;53;127;30m▀\e[49;38;2;57;143;34m▀\e[49;38;2;60;146;35m▀\e[49;38;2;63;154;37m▀\e[49;38;2;64;156;38m▀\e[49;38;2;44;108;26m▀\e[49;38;2;57;139;34m▀\e[49;38;2;64;156;38m▀▀▀▀▀▀▀▀\e[m\n";
}