Xóa số #1

View as PDF

Points: 100 (p) Time limit: 1.0s Memory limit: 256M Input: stdin Output: stdout

Cho xâu \(S\), xóa đi \(k\) số để tạo thành số lớn nhất

Input

  • Số nguyên \(k\) \((k < |S|)\)
  • Xâu \(S\) \((|S| < 100)\)

Output

  • Xâu S sau khi xóa

Example

Test 1
Input
3
23571113
Output
71113

Comments

There are no comments at the moment.