using namespace std;
class Date {
public:
  explicit Date(int imonth, int iday, int iyear) {
    if (imonth >= 1 && imonth <= 12)
      month = imonth;
    else
      month = 1;
    year = iyear;
    day = iday;
  }
  void setMonth(int imonth) {
    if (imonth >= 1 && imonth <= 12)
      month = imonth;
    else
      month = 1;
  }
  void setYear(int iyear) { year = iyear; }
  void setDay(int iday) { year = iday; }
  int getYear() const { return year; }
  int getMonth() const { return month; }
  int getDay() const { return day; }
  void displayDate() const {
    cout << month << "/" << day << "/" << year << endl;
  }

private:
  int month, day, year;
};
int main() {
  int month, day, year;
  while (cin >> month >> day >> year) {
    Date date(month, day, year);
    date.displayDate();
  }
  return 0;
}
