The first and only line contains 6 integers a, b, c, p, q, n (, , ).
Output one line which contains a single integer. As the output can be very large, please output it modulo 998244353.
1 1 1 1 1 1
3
1 1 4 5 1 4
1267
8 9 3 8 9 3
811685801