#!/bin/python3 import sys def printShortestPath(n,a,b,x,y): s='' while(a!=x and b!=y and a>-1 and a-1 and bx): s=s+(abs(a-x)//4)*'UL UR' else: s=s+(abs(a-x)//4)*'LR LL' return s else: if(ay): s=s+'LL ' a=a+2 b=b-1 elif(a>x and b