The flag of a new political party is to be designed with six vertical strips using some or all of the colours using yellow, green, blue and red. Then, the number of ways this can be made such that no two adjacent strips have the same colour is:
1
1024
2
812
3
972
4
1260