#include <stdio.h>
#include <wchar.h>
int main(void)
{
wchar_t str[] = L"2023CC++17";
wchar_t* rest_of_the_str;
long int long_int = wcstol(str, &rest_of_the_str, 10);
printf("%ld\n", long_int);
printf("%ls", rest_of_the_str);
return 0;
}
/*
run:
2023
CC++17
*/