Language: C++

int main() {
    #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(i, s, n) for (int i = s; i < (int)(n); i++)
typedef long long ll;

int main() {
    vector<int> a(32);
    a[0]=1;a[1]= 1;a[2]= 1;a[3]= 2;a[4]= 1;
    a[5]= 2;a[6]= 1;a[7]= 5;a[8]= 2; a[9]=2;a[10]= 1;
    a[11]= 5;a[12]= 1;a[13]= 2;a[14]= 1;a[15]= 14;a[16]= 1;
    a[17]= 5;a[18]= 1;a[19]= 5;a[20]= 2;a[21]= 2;a[22]= 1;
    a[23]= 15;a[24]= 2;a[25]= 2;a[26]= 5;a[27]= 4;a[28]= 1;
    a[29]= 4;a[30]= 1;a[31]= 51;
    int k;
    cin >> k;
    cout << a[k-1] << endl;

}

Compiler output:
In file included from /usr/include/c++/14/cassert:43,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:33,
                 from a.cc:2:
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h: In function 'int main()':
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:308:1: error: 'namespace' definition is not allowed here
  308 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:341:1: error: 'namespace' definition is not allowed here
  341 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:345:1: error: 'namespace' definition is not allowed here
  345 | namespace __gnu_cxx
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:534:1: error: 'namespace' definition is not allowed here
  534 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:573:1: error: 'namespace' definition is not allowed here
  573 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:604:1: error: 'namespace' definition is not allowed here
  604 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:828:1: error: 'namespace' definition is not allowed here
  828 | namespace __gnu_cxx
      | ^~~~~~~~~
In file included from /usr/include/features.h:523,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:683:
/usr/include/assert.h:66:1: error: expected unqualified-id before string constant
   66 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
/usr/include/ctype.h:28:1: error: expected unqualified-id before string constant
   28 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:35:
/usr/include/c++/14/cctype:62:1: error: 'namespace' definition is not allowed here
   62 | namespace std
      | ^~~~~~~~~
/usr/include/c++/14/cctype:85:1: error: 'namespace' definition is not allowed here
   85 | namespace std
      | ^~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/pthread_stack_min-dynamic.h:23:1: error: expected unqualified-id before string constant
   23 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
/usr/include/setjmp.h:27:1: error: expected unqualified-id before string constant
   27 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:39:
/usr/include/c++/14/csetjmp:55:1: error: 'namespace' definition is not allowed here
   55 | namespace std
      | ^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:40:
/usr/include/c++/14/cstdarg:53:1: error: 'namespace' definition is not allowed here
   53 | namespace std
      | ^~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:41:
/usr/include/c++/14/cstddef:55:8: error: expected unqualified-id before string constant
   55 | extern "C++"
      |        ^~~~~
/usr/include/stdlib.h:34:1: error: expected unqualified-id before string constant
   34 | __BEGIN_DECLS
      | ^~~~~~~~~~~~~
In file included from /usr/include/c++/14/cstdlib:81,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:42:
/usr/include/c++/14/bits/std_abs.h:46:8: error: expected unqualified-id before string constant
   46 | extern "C++"
      |        ^~~~~
/usr/include/c++/14/cstdlib:125:8: error: expected unqualified-id before string constant
  125 | extern "C++"
      |        ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:45:
/usr/include/c++/14/cstdint:48:1: error: 'namespace' definition is not allowed here
   48 | namespace std
      | ^~~~~~~~~
/usr/include/c++/14/bits/functexcept.h:42:15: error: expected '=' before '__attribute__'
   42 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/functexcept.h:42:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_algobase.h:60,
                 from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51:
/usr/include/c++/14/bits/functexcept.h:42:14: error: expected ';' before '__attribute__'
   42 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/functexcept.h:43:1: error: expected primary-expression before '{' token
   43 | {
      | ^
In file included from /usr/include/c++/14/bits/stl_algobase.h:61:
/usr/include/c++/14/bits/cpp_type_traits.h:68:8: error: expected unqualified-id before string constant
   68 | extern "C++" {
      |        ^~~~~
In file included from /usr/include/c++/14/bits/stl_algobase.h:62:
/usr/include/c++/14/ext/type_traits.h:37:8: error: expected unqualified-id before string constant
   37 | extern "C++" {
      |        ^~~~~
/usr/include/c++/14/ext/numeric_traits.h:37:21: error: expected '=' before '__attribute__'
   37 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                     ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/ext/numeric_traits.h:37:21: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_algobase.h:63:
/usr/include/c++/14/ext/numeric_traits.h:37:20: error: expected ';' before '__attribute__'
   37 | namespace __gnu_cxx _GLIBCXX_VISIBILITY(default)
      |                    ^
      |                    ;
/usr/include/c++/14/ext/numeric_traits.h:38:1: error: expected primary-expression before '{' token
   38 | {
      | ^
/usr/include/c++/14/type_traits:65:15: error: expected '=' before '__attribute__'
   65 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/type_traits:65:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_pair.h:60,
                 from /usr/include/c++/14/bits/stl_algobase.h:64:
/usr/include/c++/14/type_traits:65:14: error: expected ';' before '__attribute__'
   65 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/type_traits:66:1: error: expected primary-expression before '{' token
   66 | {
      | ^
/usr/include/c++/14/bits/move.h:40:15: error: expected '=' before '__attribute__'
   40 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/move.h:40:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_pair.h:61:
/usr/include/c++/14/bits/move.h:40:14: error: expected ';' before '__attribute__'
   40 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/move.h:41:1: error: expected primary-expression before '{' token
   41 | {
      | ^
/usr/include/c++/14/bits/utility.h:43:15: error: expected '=' before '__attribute__'
   43 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/utility.h:43:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_pair.h:62:
/usr/include/c++/14/bits/utility.h:43:14: error: expected ';' before '__attribute__'
   43 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/utility.h:44:1: error: expected primary-expression before '{' token
   44 | {
      | ^
/usr/include/c++/14/bits/stl_pair.h:68:15: error: expected '=' before '__attribute__'
   68 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_pair.h:68:15: error: expected identifier before '__attribute__'
/usr/include/c++/14/bits/stl_pair.h:68:14: error: expected ';' before '__attribute__'
   68 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/stl_pair.h:69:1: error: expected primary-expression before '{' token
   69 | {
      | ^
/usr/include/c++/14/bits/stl_iterator_base_types.h:74:15: error: expected '=' before '__attribute__'
   74 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_iterator_base_types.h:74:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_algobase.h:65:
/usr/include/c++/14/bits/stl_iterator_base_types.h:74:14: error: expected ';' before '__attribute__'
   74 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/stl_iterator_base_types.h:75:1: error: expected primary-expression before '{' token
   75 | {
      | ^
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:68:15: error: expected '=' before '__attribute__'
   68 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:68:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_algobase.h:66:
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:68:14: error: expected ';' before '__attribute__'
   68 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/stl_iterator_base_funcs.h:69:1: error: expected primary-expression before '{' token
   69 | {
      | ^
/usr/include/c++/14/bits/ptr_traits.h:42:15: error: expected '=' before '__attribute__'
   42 | namespace std _GLIBCXX_VISIBILITY(default)
      |               ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/ptr_traits.h:42:15: error: expected identifier before '__attribute__'
In file included from /usr/include/c++/14/bits/stl_iterator.h:67,
                 from /usr/include/c++/14/bits/stl_algobase.h:67:
/usr/include/c++/14/bits/ptr_traits.h:42:14: error: expected ';' before '__attribute__'
   42 | namespace std _GLIBCXX_VISIBILITY(default)
      |              ^
      |              ;
/usr/include/c++/14/bits/ptr_traits.h:43:1: error: expected primary-expression before '{' token
   43 | {
      | ^
/usr/include/c++/14/bits/stl_iterator.