Language: C++

#inlcude<bits/stdc++.h>
using namespace std;

int main() {
  string S; cin>>S;
  if (S=="MON") cout<<6<<endl;
  if (S=="TUE") cout<<5<<endl;
  if (S=="WED") cout<<4<<endl;
  if (S=="THU") cout<<3<<endl;
  if (S=="FRI") cout<<2<<endl;
  if (S=="SUT") cout<<1<<endl;
  if (S=="SUN") cout<<7<<endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'string' was not declared in this scope
    5 |   string S; cin>>S;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #inlcude<bits/stdc++.h>
a.cc:5:13: error: 'cin' was not declared in this scope
    5 |   string S; cin>>S;
      |             ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlcude<bits/stdc++.h>
a.cc:5:18: error: 'S' was not declared in this scope
    5 |   string S; cin>>S;
      |                  ^
a.cc:6:17: error: 'cout' was not declared in this scope
    6 |   if (S=="MON") cout<<6<<endl;
      |                 ^~~~
a.cc:6:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:26: error: 'endl' was not declared in this scope
    6 |   if (S=="MON") cout<<6<<endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inlcude<bits/stdc++.h>
a.cc:7:17: error: 'cout' was not declared in this scope
    7 |   if (S=="TUE") cout<<5<<endl;
      |                 ^~~~
a.cc:7:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:26: error: 'endl' was not declared in this scope
    7 |   if (S=="TUE") cout<<5<<endl;
      |                          ^~~~
a.cc:7:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:8:17: error: 'cout' was not declared in this scope
    8 |   if (S=="WED") cout<<4<<endl;
      |                 ^~~~
a.cc:8:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:26: error: 'endl' was not declared in this scope
    8 |   if (S=="WED") cout<<4<<endl;
      |                          ^~~~
a.cc:8:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:9:17: error: 'cout' was not declared in this scope
    9 |   if (S=="THU") cout<<3<<endl;
      |                 ^~~~
a.cc:9:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:26: error: 'endl' was not declared in this scope
    9 |   if (S=="THU") cout<<3<<endl;
      |                          ^~~~
a.cc:9:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:10:17: error: 'cout' was not declared in this scope
   10 |   if (S=="FRI") cout<<2<<endl;
      |                 ^~~~
a.cc:10:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:26: error: 'endl' was not declared in this scope
   10 |   if (S=="FRI") cout<<2<<endl;
      |                          ^~~~
a.cc:10:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:11:17: error: 'cout' was not declared in this scope
   11 |   if (S=="SUT") cout<<1<<endl;
      |                 ^~~~
a.cc:11:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:26: error: 'endl' was not declared in this scope
   11 |   if (S=="SUT") cout<<1<<endl;
      |                          ^~~~
a.cc:11:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:12:17: error: 'cout' was not declared in this scope
   12 |   if (S=="SUN") cout<<7<<endl;
      |                 ^~~~
a.cc:12:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:26: error: 'endl' was not declared in this scope
   12 |   if (S=="SUN") cout<<7<<endl;
      |                          ^~~~
a.cc:12:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'