File size: 1,620 Bytes
45f037d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Analysis> Now the current block configuration is:
- Stack with purple block, red block, from bottom to top
- Stack with blue block, green block, orange block, from bottom to top
The action "move(red,table)" is valid. We execute this action.
Now the current block configuration is:
- Stack with purple block
- Stack with blue block, green block, orange block, from bottom to top
- Stack with red block
The action "move(orange,table)" is valid. We execute this action.
Now the current block configuration is:
- Stack with purple block
- Stack with blue block, green block, from bottom to top
- Stack with red block
- Stack with orange block
The action "move(green,table)" is valid. We execute this action.
Now the current block configuration is:
- Stack with purple block
- Stack with blue block
- Stack with red block
- Stack with orange block
- Stack with green block
The action "move(purple,blue)" is valid. We execute this action.
Now the current block configuration is:
- Stack with blue block, purple block, from bottom to top
- Stack with red block
- Stack with orange block
- Stack with green block
The action "move(orange,purple)" is valid. We execute this action.
Now the current block configuration is:
- Stack with blue block, purple block, orange block, from bottom to top
- Stack with red block
- Stack with green block
The action "move(red,orange)" is valid. We execute this action.
Now the current block configuration is:
- Stack with blue block, purple block, orange block, red block, from bottom to top
- Stack with green block
The action "move(green,red)" is valid. We execute this action.
<Output> Yes