codeforces-scrape

Codeforces scraped problems and editorials
git clone git://git.laack.co/codeforces-scrape.git
Log | Files | Refs | README

290A.md (428B)


      1 Source: https://codeforces.com/problemset/problem/290/A
      2 
      3 A. Mysterious strings
      4 
      5 time limit per test
      6 
      7 2 seconds
      8 
      9 memory limit per test
     10 
     11 256 megabytes
     12 
     13 input
     14 
     15 stdin
     16 
     17 output
     18 
     19 stdout
     20 
     21 Input
     22 
     23 The input contains a single integer *a* (1 ≤ *a* ≤ 40).
     24 
     25 Output
     26 
     27 Output a single string.
     28 
     29 Examples
     30 
     31 Input
     32 
     33 ```
     34 2
     35 ```
     36 
     37 Output
     38 
     39 ```
     40 Adams
     41 ```
     42 
     43 Input
     44 
     45 ```
     46 8
     47 ```
     48 
     49 Output
     50 
     51 ```
     52 Van Buren
     53 ```
     54 
     55 Input
     56 
     57 ```
     58 29
     59 ```
     60 
     61 Output
     62 
     63 ```
     64 Harding
     65 ```