시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
2 초 128 MB 1 1 1 100.000%

문제

By the year 3141, the human civilization has spread all over the galaxy. The special hypertunnels are used to travel from one star system to another. To use the hypertunnel, you fly to a special location near the source star using your spaceship, activate the hyperjumper, fly through the hypertunnel, get out near your destination star and fly to the planet you need. The whole process takes exactly one day. A small drawback of the system is that for each tunnel every day only one spaceship can travel using this tunnel.

You are working in the transportation department of the "Intergalaxy Business Machines" company. This morning your boss has assigned a new task to you. To run the programming contest  IBM needs to deliver $K$ supercomputers from Earth where the company headquarters are located to the planet Eisiem. Since supercomputers are very large, one needs the whole spaceship to carry each supercomputer. You are asked to find a plan to deliver the supercomputers that takes as few days as possible. Since IBM is a very powerful corporation, you may assume that any time you need some tunnel for hyperjump, it is at your service. However, you still can use each tunnel only once a day.

입력

The first line of the input file contains $N$ --- the number of star systems in the galaxy, $M$ --- the number of tunnels, $K$ --- the number of supercomputers to be delivered, $S$ --- the number of the solar system (the system where planet Earth is) and $T$ --- the number of the star system where planet Eisiem is (${2 \le N \le 50}$, ${1 \le M \le 200}$, ${1 \le K \le 50}$, ${1 \le S, T \le N}$, ${S \ne T}$).

Next $M$ lines contain two different integer numbers each and describe tunnels. For each tunnel the numbers of star systems that it connects are given. The tunnel can be traveled in both directions, but remember that each day only one ship can travel through it, in particular, two ships cannot simultaneously travel through the same tunnel in opposite directions. No tunnel connects a star to itself and any two stars are connected by at most one tunnel.

출력

On the first line of the output file print $L$ --- the fewest number of days needed to deliver $K$ supercomputers from star system $S$ to star system $T$ using hypertunnels. Next $L$ lines must describe the process. Each line must start with $C_i$ --- the number of ships that travel from one system to another this day. $C_i$ pairs of integer numbers must follow, pair $A, B$ means that the ship number $A$ travels from its current star system to star system $B$.

It is guaranteed that there is a way to travel from star system $S$ to star system $T$.

예제 입력 1

6 7 4 1 6
1 2
2 3
3 5
5 6
1 4
4 6
4 3

예제 출력 1

4
2 1 2 2 4
3 1 3 2 6 3 4
3 1 5 3 6 4 4
2 1 6 4 6