Margarita Salas X33343


Statement
 

pdf   zip

html

Input

The input will be a pair of lines.

The first line contains the number of copies, bigger than zero, to replicate the DNA sequence.

The second line represents the DNA sequence that must be replicated.

Output

The output is the DNA sequence replicated as many times as requested.

Public test cases
  • Input

    1
    ACGT

    Output

    ACGT
  • Input

    3
    GATTACA

    Output

    GATTACAGATTACAGATTACA
  • Information
    Author
    HP CodeWars
    Language
    English
    Official solutions
    Python
    User solutions
    C++ Haskell Java Python Rust