#include #if defined(_MSC_VER) || defined(ONLINE_JUDGE) #define getchar_unlocked _getchar_nolock #define putchar_unlocked _putchar_nolock #endif int main() { char s=getchar_unlocked(); getchar_unlocked(); getchar_unlocked(); getchar_unlocked(); char t=getchar_unlocked(); putchar_unlocked('8'); putchar_unlocked('/'); putchar_unlocked('3'); if (s == 'S' && t == 'S') { putchar_unlocked('3'); } else if (s == 'S') { putchar_unlocked('2'); } else { putchar_unlocked('1'); } }