Kanojo ga Furagu o Oraretara

Sota Hatate, a new transfer student, has precognitive abilities that allow him to view the futures of those involved with him in the form of flags. He lives in a small dorm with many beautiful girls,but when he sees a flag of death on himself; he learns that to change his fate, he has to assemble four people: a princess knight, a magician, a clergy, and a shinobi.