Sergei, a gifted autistic mathematics student, inherits an album with mysterious formulas from his late great-grandfather. With their help, Sergei creates a smartphone application that allows ordinary people to use magic. But the Devil himself comes to get the album...