#include <iostream>
#include <ctime>
int main() {
// Get the current time
std::time_t now = std::time(0);
std::tm* localTime = std::localtime(&now);
// Extract the year from the current time
int currentYear = localTime->tm_year + 1900;
// Calculate the remaining days until New Year's Eve
int remainingDays = 365 - localTime->tm_yday;
// Display the current year and remaining days
std::cout << "Current Year: " << currentYear << std::endl;
std::cout << "Remaining Days until New Year's Eve: " << remainingDays << std::endl;
return 0;
}