U48698 ColoR

题目背景

Fuck this problem

题目描述

![](https://cdn.luogu.com.cn/upload/image_hosting/cb1xp9e7.png)

输入格式

输出格式

说明/提示

$n \le 8 \times 10^4 , m < 998244353$