MIDDLEBURG HEIGHTS, Ohio – An Ohio junior high teacher was reprimanded but remains in the classroom after he tasked students with calculating how fast they can send nude messages.

Middleburg Heights Junior High teacher Daniel Rapp assigned students the algebra problem: “Tony can send 5 texts and 3 nudes in 19 minutes. He could also send 3 tests and 1 nude in 9 minutes. How long would it take him to send one text and one nude?”

MORE NEWS: From Classroom to Consulate Chef: Culinary Student Lands Dream Job at U.S. Embassy in Paris

Students took pictures of the assignment, projected on a large screen in the classroom earlier this month, and shared it on social media with the caption “what we learned today,” the Daily Mail reports.

Parent Madalina Bordas was not impressed.

“Middle school? Yeah, it’s inappropriate. For a math question? Definitely, yes,” Bordas told WOIO. “Very inappropriate.”

Middleburg Heights superintendent Michael Sheppard told WREG officials reviewed the math problem and reprimanded Rapp, who remains in the classroom.

“We addressed the teacher and kind of clarified exactly what happened, and in this case provided what we thought was the appropriate consequence,” Sheppard said. “He’s a good teacher, and just in this case used the inappropriate word.”

[xyz-ihs snippet=”NEW-In-Article-Rev-Content-Widget”]

MORE NEWS: Know These Before Moving From Cyprus To The UK

A parent who initially complained about the assignment told the news site the sexually charged assignment warrants a stiffer sentence. In school districts across the country, educators are arrested on a daily basis for inappropriate relationships with students that more times than not begin through text messages and include the exchange of nude images.

“You have to look to see if it is out of character or not, and in this case, it was something that happened that was just obviously not acceptable from the school district’s perspective and that’s why we took it looked at it very seriously and provided the appropriate consequence,” Sheppard told WREG.

Ironically, Sheppard said Rapp’s personnel file contains a similar reprimand in his past, a testament to his “character,” but refused to release Rapp’s file to WREG.

“He should be fired…for a teacher to be even be speaking in this manner is unacceptable,” Amber Gaytan posted to Facebook. “Children go to school to learn… not to be sexually harassed through a math question.”

“If he had simply said texts and photos, it would’ve been a relatable problem,” Lori Stone wrote. “’Nudes’ is what pushed him to inappropriate territory.”

“I swear there are more idiots every day!” Donna Turnage posted. “What on earth would possess this idiot to pose a question like that to the class?”

“A more fitting punishment would have been to suspend the ‘teacher’ without pay for a week or two,” Loretta McClure added. “That would be a lesson the ‘teacher’ would never forget!”

“A written reprimand?” Linda Rettstatt questioned. “Fire him. He doesn’t belong in a classroom with kids.”