codeforces-scrape

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

290D.md (600B)


      1 Source: https://codeforces.com/problemset/problem/290/D
      2 
      3 D. Orange
      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 ![](https://espresso.codeforces.com/fc6f2930225e2bc35483cc0360680c63f0dd96c2.png)
     22 
     23 Input
     24 
     25 The first line of the input is a string (between 1 and 50 characters long, inclusive). Each character will be a letter of English alphabet, lowercase or uppercase.
     26 
     27 The second line of the input is an integer between 0 and 26, inclusive.
     28 
     29 Output
     30 
     31 Output the required string.
     32 
     33 Examples
     34 
     35 Input
     36 
     37 ```
     38 AprilFool  
     39 14
     40 ```
     41 
     42 Output
     43 
     44 ```
     45 AprILFooL
     46 ```