import java.util.*

fun main(args : Array<String>) {
    println(inOutExec(Scanner(System.`in`)))
}

fun inOutExec(scanner: Scanner): String {
    val mmdd = scanner.next().split("/", limit = 2)[1]
    return "2018/$mmdd"
}
